Skip to content

Instantly share code, notes, and snippets.

@samuela
Created May 24, 2021 02:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save samuela/e4bad268c5ae02028ad7a3cf5d147cc3 to your computer and use it in GitHub Desktop.
Save samuela/e4bad268c5ae02028ad7a3cf5d147cc3 to your computer and use it in GitHub Desktop.
❯ nix-env -iA nixpkgs.elan
installing 'elan-0.11.0'
this derivation will be built:
/nix/store/00zgkhvscdx3m4p90vbyqjvylps1n1i4-elan-0.11.0.drv
these 4 paths will be fetched (28.98 MiB download, 29.80 MiB unpacked):
/nix/store/4qzipzw3y9gg6ay3ragc1bjfkg5hqb9d-hook
/nix/store/8gn40l46fcmzpwz9wlg9jaiiyylng64k-elan-0.11.0-vendor.tar.gz
/nix/store/ig0ma14kc34nhsn8w1ajnyvp3wzwfp4l-source
/nix/store/pxq93c11y12cbc9lljyr7gljqgmwh7wz-hook
copying path '/nix/store/8gn40l46fcmzpwz9wlg9jaiiyylng64k-elan-0.11.0-vendor.tar.gz' from 'https://cache.nixos.org'...
copying path '/nix/store/pxq93c11y12cbc9lljyr7gljqgmwh7wz-hook' from 'https://cache.nixos.org'...
copying path '/nix/store/ig0ma14kc34nhsn8w1ajnyvp3wzwfp4l-source' from 'https://cache.nixos.org'...
copying path '/nix/store/4qzipzw3y9gg6ay3ragc1bjfkg5hqb9d-hook' from 'https://cache.nixos.org'...
building '/nix/store/00zgkhvscdx3m4p90vbyqjvylps1n1i4-elan-0.11.0.drv'...
unpacking sources
unpacking source archive /nix/store/ig0ma14kc34nhsn8w1ajnyvp3wzwfp4l-source
source root is source
Executing cargoSetupPostUnpackHook
unpacking source archive /nix/store/8gn40l46fcmzpwz9wlg9jaiiyylng64k-elan-0.11.0-vendor.tar.gz
Finished cargoSetupPostUnpackHook
patching sources
Executing cargoSetupPostPatchHook
Validating consistency between /private/tmp/nix-build-elan-0.11.0.drv-0/source//Cargo.lock and /private/tmp/nix-build-elan-0.11.0.drv-0/elan-0.11.0-vendor.tar.gz/Cargo.lock
Finished cargoSetupPostPatchHook
configuring
building
Executing cargoBuildHook
++ env CC_x86_64-apple-darwin=/nix/store/2pb1r2zgw6yiabv4v3d4j66d3vwgdd5q-clang-wrapper-7.1.0/bin/cc CXX_x86_64-apple-darwin=/nix/store/2pb1r2zgw6yiabv4v3d4j66d3vwgdd5q-clang-wrapper-7.1.0/bin/c++ CC_x86_64-apple-darwin=/nix/store/2pb1r2zgw6yiabv4v3d4j66d3vwgdd5q-clang-wrapper-7.1.0/bin/cc CXX_x86_64-apple-darwin=/nix/store/2pb1r2zgw6yiabv4v3d4j66d3vwgdd5q-clang-wrapper-7.1.0/bin/c++ cargo build -j 4 --target x86_64-apple-darwin --frozen --release --features no-self-update
Compiling libc v0.2.88
Compiling version_check v0.9.2
Compiling cc v1.0.67
Compiling pkg-config v0.3.19
Compiling cfg-if v1.0.0
Compiling autocfg v1.0.1
Compiling proc-macro2 v1.0.24
Compiling unicode-xid v0.2.1
Compiling syn v1.0.62
Compiling typenum v1.12.0
Compiling getrandom v0.2.2
Compiling memchr v2.3.4
Compiling matches v0.1.8
Compiling tinyvec_macros v0.1.0
Compiling gimli v0.23.0
Compiling serde v1.0.124
Compiling adler v1.0.2
Compiling bitflags v1.2.1
Compiling rustc-demangle v0.1.18
Compiling crc32fast v1.2.1
Compiling percent-encoding v2.1.0
Compiling winapi-build v0.1.1
Compiling once_cell v1.7.2
Compiling proc-macro-hack v0.5.19
Compiling ppv-lite86 v0.2.10
Compiling object v0.23.0
Compiling ucd-trie v0.1.3
Compiling curl v0.4.34
Compiling regex-syntax v0.6.22
Compiling foreign-types-shared v0.1.1
Compiling adler32 v1.2.0
Compiling openssl v0.10.32
Compiling lazy_static v1.4.0
Compiling cfg-if v0.1.10
Compiling ryu v1.0.5
Compiling cpuid-bool v0.1.2
Compiling opaque-debug v0.3.0
Compiling const_fn v0.4.5
Compiling winapi v0.2.8
Compiling serde_derive v1.0.124
Compiling byteorder v1.4.2
Compiling scopeguard v1.1.0
Compiling elan-dist v1.11.0 (/private/tmp/nix-build-elan-0.11.0.drv-0/source/src/elan-dist)
Compiling serde_json v1.0.64
Compiling same-file v1.0.6
Compiling either v1.6.1
Compiling unicode-width v0.1.8
Compiling remove_dir_all v0.5.3
Compiling json v0.12.4
Compiling vec_map v0.8.2
Compiling itoa v0.4.7
Compiling elan v0.11.0 (/private/tmp/nix-build-elan-0.11.0.drv-0/source)
warning: use of deprecated macro `try`: use the `?` operator instead
--> build.rs:38:8
|
38 | Ok(try!(String::from_utf8(try!(Command::new("git")
| ^^^
|
= note: `#[warn(deprecated)]` on by default
warning: use of deprecated macro `try`: use the `?` operator instead
--> build.rs:38:31
|
38 | Ok(try!(String::from_utf8(try!(Command::new("git")
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> build.rs:45:8
|
45 | Ok(try!(String::from_utf8(try!(Command::new("git")
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> build.rs:45:31
|
45 | Ok(try!(String::from_utf8(try!(Command::new("git")
| ^^^
warning: use of deprecated associated function `core::str::<impl str>::trim_right`: superseded by `trim_end`
--> build.rs:32:58
|
32 | (Ok(hash), Ok(date)) => format!(" ({} {})", hash.trim_right(), date),
| ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end`
warning: 5 warnings emitted
Compiling strsim v0.8.0
Compiling pipeline v0.5.0
Compiling ansi_term v0.11.0
Compiling remove_dir_all v0.6.1
Compiling standback v0.2.15
Compiling generic-array v0.14.4
Compiling error-chain v0.12.4
Compiling time v0.2.25
Compiling openssl-src v111.14.0+1.1.1j
Compiling miniz_oxide v0.4.4
Compiling unicode-bidi v0.3.4
Compiling tinyvec v1.1.1
Compiling libz-sys v1.1.2
Compiling curl-sys v0.4.40+curl-7.75.0
Compiling bzip2-sys v0.1.10+1.0.8
Compiling form_urlencoded v1.0.1
Compiling ole32-sys v0.2.0
Compiling thread_local v1.1.3
Compiling pest v2.1.3
Compiling foreign-types v0.3.2
Compiling miniz_oxide v0.3.7
Compiling addr2line v0.14.1
Compiling walkdir v2.3.1
Compiling itertools v0.10.0
Compiling textwrap v0.11.0
Compiling openssl-sys v0.9.60
Compiling unicode-normalization v0.1.17
Compiling semver-parser v0.10.2
Compiling socket2 v0.3.19
Compiling dirs-sys v0.3.5
Compiling remove_dir_all v0.7.0
Compiling dirs-sys-next v0.1.2
Compiling filetime v0.2.14
Compiling xattr v0.2.2
Compiling time v0.1.43
Compiling atty v0.2.14
Compiling rand v0.4.6
Compiling wait-timeout v0.2.0
Compiling quote v1.0.9
Compiling aho-corasick v0.7.15
Compiling idna v0.2.2
Compiling flate2 v1.0.14
Compiling rand_core v0.6.2
Compiling backtrace v0.3.56
Compiling semver v0.11.0
Compiling dirs v3.0.1
Compiling dirs-next v2.0.0
Compiling toml v0.5.8
Compiling tar v0.4.33
Compiling clap v2.33.3
Compiling tempdir v0.3.7
Compiling url v2.2.1
Compiling regex v1.4.3
Compiling digest v0.9.0
Compiling block-buffer v0.9.0
Compiling bzip2 v0.3.3
Compiling rand_chacha v0.3.0
Compiling term v0.7.0
Compiling markdown v0.3.0
Compiling sha2 v0.9.3
Compiling thiserror-impl v1.0.24
Compiling time-macros-impl v0.1.1
Compiling rand v0.8.3
Compiling download v0.4.0 (/private/tmp/nix-build-elan-0.11.0.drv-0/source/src/download)
warning: trait objects without an explicit `dyn` are deprecated
--> src/download/src/lib.rs:34:37
|
34 | callback: &Fn(Event) -> Result<()>)
| ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Event) -> Result<()>`
|
= note: `#[warn(bare_trait_objects)]` on by default
warning: trait objects without an explicit `dyn` are deprecated
--> src/download/src/lib.rs:47:23
|
47 | callback: Option<&Fn(Event) -> Result<()>>)
| ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Event) -> Result<()>`
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/download/src/lib.rs:62:21
|
62 | try!(cb(Event::ResumingPartialDownload));
| ^^^
|
= note: `#[warn(deprecated)]` on by default
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/download/src/lib.rs:67:33
|
67 | let n = try!(partial.read(&mut buf));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/download/src/lib.rs:72:25
|
72 | try!(cb(Event::DownloadDataReceived(&buf[..n])));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/download/src/lib.rs:77:37
|
77 | let file_info = try!(partial.metadata());
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/download/src/lib.rs:85:17
|
85 | try!(OpenOptions::new()
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/download/src/lib.rs:91:13
|
91 | try!(possible_partial.seek(SeekFrom::End(0)));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/download/src/lib.rs:95:14
|
95 | (try!(OpenOptions::new()
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/download/src/lib.rs:104:9
|
104 | try!(download_with_backend(backend, url, resume_from, &|event| {
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/download/src/lib.rs:115:9
|
115 | try!(file.borrow_mut().sync_data()
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/download/src/lib.rs:106:17
|
106 | try!(file.borrow_mut().write_all(data)
| ^^^
warning: trait objects without an explicit `dyn` are deprecated
--> src/download/src/lib.rs:146:32
|
146 | callback: &Fn(Event) -> Result<()> )
| ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Event) -> Result<()>`
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/download/src/lib.rs:156:13
|
156 | try!(handle.url(&url.to_string()).chain_err(|| "failed to set url"));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/download/src/lib.rs:157:13
|
157 | try!(handle.follow_location(true).chain_err(|| "failed to set follow redirects"));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/download/src/lib.rs:160:17
|
160 | try!(handle.resume_from(resume_from)
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/download/src/lib.rs:169:13
|
169 | try!(handle.connect_timeout(Duration::new(30, 0)).chain_err(|| "failed to set connect timeout"));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/download/src/lib.rs:178:17
|
178 | try!(transfer.write_function(|data| {
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/download/src/lib.rs:190:17
|
190 | try!(transfer.header_function(|header| {
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/download/src/lib.rs:211:17
|
211 | try!(transfer.perform().or_else(|e| {
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/download/src/lib.rs:229:24
|
229 | let code = try!(handle.response_code().chain_err(|| "failed to get response code"));
| ^^^
warning: `...` range patterns are deprecated
--> src/download/src/lib.rs:231:25
|
231 | 0 | 200 ... 299 => {},
| ^^^ help: use `..=` for an inclusive range
|
= note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default
warning: trait objects without an explicit `dyn` are deprecated
--> src/download/src/lib.rs:387:33
|
387 | _callback: &Fn(Event) -> Result<()> )
| ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Event) -> Result<()>`
warning: 23 warnings emitted
Compiling thiserror v1.0.24
Compiling time-macros v0.1.1
Compiling tempfile v3.2.0
Compiling elan-utils v1.11.0 (/private/tmp/nix-build-elan-0.11.0.drv-0/source/src/elan-utils)
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-utils/src/raw.rs:54:20
|
54 | let mut file = try!(fs::OpenOptions::new()
| ^^^
|
= note: `#[warn(deprecated)]` on by default
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-utils/src/raw.rs:60:5
|
60 | try!(io::Write::write_all(&mut file, contents.as_bytes()));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-utils/src/raw.rs:62:5
|
62 | try!(file.sync_data());
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-utils/src/raw.rs:68:20
|
68 | let mut file = try!(fs::OpenOptions::new()
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-utils/src/raw.rs:74:5
|
74 | try!(io::Read::read_to_string(&mut file, &mut contents));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-utils/src/raw.rs:83:20
|
83 | let src_file = try!(fs::File::open(src));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-utils/src/raw.rs:84:21
|
84 | let dest_file = try!(fs::File::create(dest));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-utils/src/raw.rs:91:20
|
91 | let line = try!(result);
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-utils/src/raw.rs:93:13
|
93 | try!(writeln!(&mut writer, "{}", &line));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-utils/src/raw.rs:99:5
|
99 | try!(writer.flush());
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-utils/src/raw.rs:105:20
|
105 | let src_file = try!(fs::File::open(src));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-utils/src/raw.rs:110:20
|
110 | let line = try!(result);
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-utils/src/raw.rs:120:25
|
120 | let mut dest_file = try!(fs::OpenOptions::new()
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-utils/src/raw.rs:126:5
|
126 | try!(writeln!(&mut dest_file, "{}", line));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-utils/src/raw.rs:128:5
|
128 | try!(dest_file.sync_data());
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-utils/src/raw.rs:134:20
|
134 | let mut file = try!(fs::OpenOptions::new()
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-utils/src/raw.rs:142:26
|
142 | let bytes_read = try!(io::Read::read(&mut file, &mut buffer));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-utils/src/raw.rs:145:13
|
145 | try!(io::Write::write_all(w, &mut buffer[0..bytes_read]));
| ^^^
warning: trait objects without an explicit `dyn` are deprecated
--> src/elan-utils/src/raw.rs:278:32
|
278 | fn cause(&self) -> Option<&error::Error> {
| ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error`
|
= note: `#[warn(bare_trait_objects)]` on by default
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-utils/src/raw.rs:307:8
|
307 | if try!(fs::symlink_metadata(path)).file_type().is_symlink() {
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-utils/src/raw.rs:323:5
|
323 | try!(fs::create_dir(dest));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-utils/src/raw.rs:324:18
|
324 | for entry in try!(src.read_dir()) {
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-utils/src/raw.rs:325:21
|
325 | let entry = try!(entry);
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-utils/src/raw.rs:326:20
|
326 | let kind = try!(entry.file_type());
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-utils/src/raw.rs:330:13
|
330 | try!(copy_dir(&src, &dest));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-utils/src/raw.rs:332:13
|
332 | try!(fs::copy(&src, &dest));
| ^^^
warning: the item `libc` is imported redundantly
--> src/elan-utils/src/tty.rs:4:9
|
4 | use libc;
| ^^^^
|
::: src/elan-utils/src/lib.rs:22:1
|
22 | extern crate libc;
| ------------------ the item `libc` is already imported here
|
= note: `#[warn(unused_imports)]` on by default
warning: the item `libc` is imported redundantly
--> src/elan-utils/src/tty.rs:30:9
|
30 | use libc;
| ^^^^
|
::: src/elan-utils/src/lib.rs:22:1
|
22 | extern crate libc;
| ------------------ the item `libc` is already imported here
warning: trait objects without an explicit `dyn` are deprecated
--> src/elan-utils/src/utils.rs:25:43
|
25 | notify_handler: &Fn(Notification))
| ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Notification)`
warning: trait objects without an explicit `dyn` are deprecated
--> src/elan-utils/src/utils.rs:128:56
|
128 | pub fn canonicalize_path(path: &Path, notify_handler: &Fn(Notification)) -> PathBuf {
| ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Notification)`
warning: trait objects without an explicit `dyn` are deprecated
--> src/elan-utils/src/utils.rs:147:39
|
147 | notify_handler: &Fn(Notification))
| ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Notification)`
warning: trait objects without an explicit `dyn` are deprecated
--> src/elan-utils/src/utils.rs:156:39
|
156 | notify_handler: &Fn(Notification))
| ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Notification)`
warning: `...` range patterns are deprecated
--> src/elan-utils/src/utils.rs:164:58
|
164 | &ErrorKind::Download(DEK::HttpStatus(400 ... 499)) => true,
| ^^^ help: use `..=` for an inclusive range
|
= note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-utils/src/utils.rs:242:5
|
242 | try!(download_to_path_with_backend(backend, url, path, resume_from_partial, Some(callback)));
| ^^^
warning: trait objects without an explicit `dyn` are deprecated
--> src/elan-utils/src/utils.rs:189:36
|
189 | notify_handler: &Fn(Notification))
| ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Notification)`
warning: the item `Digest` is imported redundantly
--> src/elan-utils/src/utils.rs:192:9
|
9 | use sha2::{Digest, Sha256};
| ------ the item `Digest` is already imported here
...
192 | use sha2::Digest;
| ^^^^^^^^^^^^
warning: the item `download` is imported redundantly
--> src/elan-utils/src/utils.rs:195:20
|
195 | use download::{self, Event, Backend};
| ^^^^
|
::: src/elan-utils/src/lib.rs:10:1
|
10 | extern crate download;
| ---------------------- the item `download` is already imported here
warning: trait objects without an explicit `dyn` are deprecated
--> src/elan-utils/src/utils.rs:203:20
|
203 | let callback: &Fn(Event) -> download::Result<()> = &|msg| {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Event) -> download::Result<()>`
warning: trait objects without an explicit `dyn` are deprecated
--> src/elan-utils/src/utils.rs:277:62
|
277 | pub fn symlink_dir(src: &Path, dest: &Path, notify_handler: &Fn(Notification)) -> Result<()> {
| ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Notification)`
warning: trait objects without an explicit `dyn` are deprecated
--> src/elan-utils/src/utils.rs:323:59
|
323 | pub fn copy_dir(src: &Path, dest: &Path, notify_handler: &Fn(Notification)) -> Result<()> {
| ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Notification)`
warning: trait objects without an explicit `dyn` are deprecated
--> src/elan-utils/src/utils.rs:344:69
|
344 | pub fn remove_dir(name: &'static str, path: &Path, notify_handler: &Fn(Notification)) -> Result<()> {
| ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Notification)`
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-utils/src/utils.rs:407:24
|
407 | let metadata = try!(fs::metadata(path).chain_err(|| {
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-utils/src/utils.rs:444:15
|
444 | let cwd = try!(env::current_dir().chain_err(|| ErrorKind::ElanHome));
| ^^^
warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred
--> src/elan-utils/src/utils.rs:8:37
|
8 | use std::sync::atomic::{AtomicBool, ATOMIC_BOOL_INIT, Ordering};
| ^^^^^^^^^^^^^^^^
warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred
--> src/elan-utils/src/utils.rs:183:46
|
183 | static DEPRECATED_HYPER_WARNED: AtomicBool = ATOMIC_BOOL_INIT;
| ^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicBool::new(false)`
warning: unused import: `Digest`
--> src/elan-utils/src/utils.rs:9:12
|
9 | use sha2::{Digest, Sha256};
| ^^^^^^
Compiling zip v0.5.11
warning: trait objects without an explicit `dyn` are deprecated
--> src/elan-dist/src/temp.rs:42:25
|
42 | notify_handler: Box<Fn(Notification)>,
| ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Notification)`
|
= note: `#[warn(bare_trait_objects)]` on by default
warning: trait objects without an explicit `dyn` are deprecated
--> src/elan-dist/src/temp.rs:108:32
|
108 | fn cause(&self) -> Option<&error::Error> {
| ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error`
warning: trait objects without an explicit `dyn` are deprecated
--> src/elan-dist/src/temp.rs:136:61
|
136 | pub fn new(root_directory: PathBuf, notify_handler: Box<Fn(Notification)>) -> Self {
| ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Notification)`
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-dist/src/temp.rs:156:9
|
156 | try!(self.create_root());
| ^^^
|
= note: `#[warn(deprecated)]` on by default
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-dist/src/temp.rs:167:17
|
167 | try!(fs::create_dir(&temp_dir).map_err(|e| {
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-dist/src/temp.rs:186:9
|
186 | try!(self.create_root());
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-dist/src/temp.rs:197:17
|
197 | try!(fs::File::create(&temp_file).map_err(|e| {
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-dist/src/dist.rs:92:13
|
92 | try!(write!(f, "{}-", str::replace(origin, "/", "-")));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-dist/src/dist.rs:95:9
|
95 | try!(write!(f, "{}", &self.channel));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-dist/src/dist.rs:98:13
|
98 | try!(write!(f, "-{}", date));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-dist/src/dist.rs:160:25
|
160 | let manifestation = try!(Manifestation::open(prefix.clone()));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-dist/src/component/package.rs:32:19
|
32 | let entries = try!(archive.entries().chain_err(|| ErrorKind::ExtractingPackage));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-dist/src/component/package.rs:34:25
|
34 | let mut entry = try!(entry.chain_err(|| ErrorKind::ExtractingPackage));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-dist/src/component/package.rs:37:24
|
37 | let path = try!(path.chain_err(|| ErrorKind::ExtractingPackage));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-dist/src/component/package.rs:48:17
|
48 | try!(::std::fs::create_dir_all(&parent).chain_err(|| ErrorKind::ExtractingPackage)),
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-dist/src/component/package.rs:52:9
|
52 | try!(entry.unpack(&full_path).chain_err(|| ErrorKind::ExtractingPackage));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-dist/src/component/package.rs:75:20
|
75 | let file = try!(File::open(path).chain_err(|| ErrorKind::ExtractingPackage));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-dist/src/component/package.rs:94:21
|
94 | try!(fs::create_dir_all(&parent).chain_err(|| ErrorKind::ExtractingPackage)),
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-dist/src/component/package.rs:131:20
|
131 | let file = try!(File::open(path).chain_err(|| ErrorKind::ExtractingPackage));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-dist/src/manifestation.rs:63:30
|
63 | let installer_file = try!(dlcfg.download_and_check(&url, ext));
| ^^^
warning: trait objects without an explicit `dyn` are deprecated
--> src/elan-dist/src/manifestation.rs:26:36
|
26 | notify_handler: &Fn(Notification)) -> Result<()> {
| ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Notification)`
warning: trait objects without an explicit `dyn` are deprecated
--> src/elan-dist/src/download.rs:19:29
|
19 | pub notify_handler: &'a Fn(Notification),
| ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Notification)`
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-dist/src/download.rs:44:9
|
44 | try!(utils::ensure_dir_exists("Download Directory", &self.download_dir, &|n| (self.notify_handler)(n.into())));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-dist/src/download.rs:48:33
|
48 | let cached_result = try!(file_hash(&target_file));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-dist/src/download.rs:55:17
|
55 | try!(fs::remove_file(&target_file).chain_err(|| "cleaning up previous download"));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-dist/src/download.rs:70:9
|
70 | try!(utils::download_file_with_resume(&url,
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-dist/src/download.rs:87:13
|
87 | try!(fs::rename(&partial_file_path, &target_file));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-dist/src/download.rs:96:17
|
96 | try!(fs::remove_file(used_file).chain_err(|| "cleaning up cached downloads"));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-dist/src/download.rs:106:19
|
106 | let url = try!(utils::parse_url(url_str));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-dist/src/download.rs:107:20
|
107 | let file = try!(self.temp_cfg.new_file_with_ext("", ext));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-dist/src/download.rs:109:9
|
109 | try!(utils::download_file(&url,
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-dist/src/download.rs:122:26
|
122 | let mut downloaded = try!(fs::File::open(&path).chain_err(|| "opening already downloaded file"));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-dist/src/manifest.rs:26:18
|
26 | pkg: try!(get_string(&mut table, "pkg", path)),
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-dist/src/config.rs:18:23
|
18 | let version = try!(get_string(&mut table, "config_version", path));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-dist/src/config.rs:23:26
|
23 | let components = try!(get_array(&mut table, "components", path));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-dist/src/config.rs:24:26
|
24 | let components = try!(Self::toml_to_components(components,
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-dist/src/config.rs:58:29
|
58 | result.push(try!(Component::from_toml(t, &path)));
| ^^^
warning: trait objects without an explicit `dyn` are deprecated
--> src/elan/toolchain.rs:30:23
|
30 | dist_handler: Box<Fn(elan_dist::Notification) + 'a>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(elan_dist::Notification) + 'a`
|
= note: `#[warn(bare_trait_objects)]` on by default
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/toolchain.rs:71:12
|
71 | Ok(try!(ToolchainDesc::from_str(&self.raw_name)))
| ^^^
|
= note: `#[warn(deprecated)]` on by default
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/toolchain.rs:91:12
|
91 | Ok(try!(utils::assert_is_directory(&self.path)))
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/toolchain.rs:100:36
|
100 | if let Some(update_hash) = try!(self.update_hash()) {
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/toolchain.rs:101:13
|
101 | try!(utils::remove_file("update hash", &update_hash));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/toolchain.rs:108:12
|
108 | Ok(try!(result))
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/toolchain.rs:119:23
|
119 | let updated = try!(install_method.run(&self.path,
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/toolchain.rs:140:16
|
140 | Ok(try!(self.install(install_method)))
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/toolchain.rs:150:21
|
150 | Ok(Some(try!(self.cfg.get_hash_file(&self.name, true))))
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/toolchain.rs:163:12
|
163 | if try!(self.cfg.telemetry_enabled()) {
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/toolchain.rs:170:27
|
170 | let update_hash = try!(self.update_hash());
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/toolchain.rs:171:43
|
171 | self.install(InstallMethod::Dist(&try!(self.desc()),
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/toolchain.rs:204:27
|
204 | let update_hash = try!(self.update_hash());
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/toolchain.rs:205:60
|
205 | self.install_if_not_installed(InstallMethod::Dist(&try!(self.desc()),
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/toolchain.rs:218:9
|
218 | try!(utils::assert_is_directory(&pathbuf));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/toolchain.rs:220:9
|
220 | try!(utils::assert_is_file(&pathbuf));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/toolchain.rs:223:13
|
223 | try!(self.install(InstallMethod::Link(&try!(utils::to_absolute(src)))));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/toolchain.rs:223:52
|
223 | try!(self.install(InstallMethod::Link(&try!(utils::to_absolute(src)))));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/toolchain.rs:225:13
|
225 | try!(self.install(InstallMethod::Copy(src)));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/toolchain.rs:301:9
|
301 | try!(self.verify());
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/toolchain.rs:313:9
|
313 | try!(self.verify());
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/toolchain.rs:315:12
|
315 | Ok(try!(utils::open_browser(&try!(self.doc_path(relative)))))
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/toolchain.rs:315:38
|
315 | Ok(try!(utils::open_browser(&try!(self.doc_path(relative)))))
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/toolchain.rs:322:12
|
322 | Ok(try!(self.cfg.settings_file.with_mut(|s| {
| ^^^
warning: trait objects without an explicit `dyn` are deprecated
--> src/elan/config.rs:52:29
|
52 | pub notify_handler: Arc<Fn(Notification)>,
| ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Notification)`
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/config.rs:58:24
|
58 | let elan_dir = try!(utils::elan_home());
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/config.rs:60:9
|
60 | try!(utils::ensure_dir_exists("home", &elan_dir,
| ^^^
warning: trait objects without an explicit `dyn` are deprecated
--> src/elan/config.rs:56:41
|
56 | pub fn from_env(notify_handler: Arc<Fn(Notification)>) -> Result<Self> {
| ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Notification)`
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/config.rs:102:9
|
102 | try!(self.settings_file.with_mut(|s| {
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/config.rs:112:13
|
112 | try!(utils::ensure_dir_exists("toolchains",
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/config.rs:121:25
|
121 | let toolchain = try!(self.get_toolchain(name, false));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/config.rs:122:9
|
122 | try!(toolchain.verify());
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/config.rs:128:13
|
128 | try!(utils::ensure_dir_exists("update-hash",
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/config.rs:138:39
|
138 | if let Some((toolchain, _)) = try!(self.find_override_toolchain_or_default(path)) {
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/config.rs:146:24
|
146 | let opt_name = try!(self.settings_file.with(|s| Ok(s.default_toolchain.clone())));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/config.rs:149:29
|
149 | let toolchain = try!(self.verify_toolchain(&name)
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/config.rs:202:25
|
202 | try!(toolchain.install_from_dist(false));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/config.rs:267:47
|
267 | Ok(if let Some((toolchain, reason)) = try!(self.find_override(path)) {
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/config.rs:270:13
|
270 | try!(self.find_default()).map(|toolchain| (toolchain, None))
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/config.rs:282:42
|
282 | let mut toolchains: Vec<_> = try!(utils::read_dir("toolchains", &self.toolchains_dir))
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/config.rs:297:26
|
297 | let toolchains = try!(self.list_toolchains());
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/config.rs:330:34
|
330 | let (ref toolchain, _) = try!(self.toolchain_for_dir(path));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/config.rs:337:29
|
337 | let ref toolchain = try!(self.get_toolchain(toolchain, false));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/config.rs:339:13
|
339 | try!(toolchain.install_from_dist(false));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/config.rs:346:30
|
346 | let (toolchain, _) = try!(self.toolchain_for_dir(path));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/config.rs:351:30
|
351 | let (toolchain, _) = try!(self.toolchain_for_dir(path));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/config.rs:360:9
|
360 | try!(self.settings_file.with_mut(|s| {
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/config.rs:374:9
|
374 | try!(self.settings_file.with_mut(|s| {
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/config.rs:385:18
|
385 | Ok(match try!(self.settings_file.with(|s| Ok(s.telemetry))) {
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/config.rs:394:22
|
394 | let events = try!(t.import_telemery());
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/config.rs:395:9
|
395 | try!(t.analyze_telemetry_events(&events));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/install.rs:27:21
|
27 | try!(uninstall(path, notify_handler));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/install.rs:34:17
|
34 | try!(utils::copy_dir(src, path, &|n| notify_handler(n.into())));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/install.rs:38:17
|
38 | try!(utils::symlink_dir(src, &path, &|n| notify_handler(n.into())));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/install.rs:44:21
|
44 | try!(dist::update_from_dist(
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/install.rs:56:25
|
56 | try!(utils::write_file("update hash", hash_file, &hash));
| ^^^
warning: trait objects without an explicit `dyn` are deprecated
--> src/elan/install.rs:21:52
|
21 | pub fn run(self, path: &Path, notify_handler: &Fn(Notification)) -> Result<bool> {
| ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Notification)`
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/install.rs:69:8
|
69 | Ok(try!(utils::remove_dir("install", path,
| ^^^
warning: trait objects without an explicit `dyn` are deprecated
--> src/elan/install.rs:68:48
|
68 | pub fn uninstall(path: &Path, notify_handler: &Fn(Notification)) -> Result<()> {
| ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Notification)`
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/settings.rs:29:9
|
29 | try!(utils::write_file("settings", &self.path, &s.stringify()));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/settings.rs:38:35
|
38 | let content = try!(utils::read_file("settings", &self.path));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/settings.rs:39:21
|
39 | try!(Settings::parse(&content))
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/settings.rs:47:13
|
47 | try!(self.write_settings());
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/settings.rs:52:9
|
52 | try!(self.read_settings());
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/settings.rs:58:9
|
58 | try!(self.read_settings());
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/settings.rs:62:13
|
62 | try!(f(self.cache.borrow_mut().as_mut().unwrap()))
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/settings.rs:64:9
|
64 | try!(self.write_settings());
| ^^^
warning: trait objects without an explicit `dyn` are deprecated
--> src/elan/settings.rs:96:50
|
96 | fn path_to_key(path: &Path, notify_handler: &Fn(Notification)) -> String {
| ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Notification)`
warning: trait objects without an explicit `dyn` are deprecated
--> src/elan/settings.rs:104:69
|
104 | pub fn remove_override(&mut self, path: &Path, notify_handler: &Fn(Notification)) -> bool {
| ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Notification)`
warning: trait objects without an explicit `dyn` are deprecated
--> src/elan/settings.rs:109:85
|
109 | pub fn add_override(&mut self, path: &Path, toolchain: String, notify_handler: &Fn(Notification)) {
| ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Notification)`
warning: trait objects without an explicit `dyn` are deprecated
--> src/elan/settings.rs:115:61
|
115 | pub fn dir_override(&self, dir: &Path, notify_handler: &Fn(Notification)) -> Option<String> {
| ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Notification)`
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/settings.rs:129:23
|
129 | let version = try!(get_string(&mut table, "version", path));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/settings.rs:135:32
|
135 | default_toolchain: try!(get_opt_string(&mut table, "default_toolchain", path)),
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/settings.rs:136:24
|
136 | overrides: try!(Self::table_to_overrides(&mut table, path)),
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/settings.rs:137:27
|
137 | telemetry: if try!(get_opt_bool(&mut table, "telemetry", path)).unwrap_or(false) {
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/settings.rs:165:25
|
165 | let pkg_table = try!(get_table(table, "overrides", path));
| ^^^
warning: unused import: `time`
--> src/elan/telemetry.rs:2:5
|
2 | use time;
| ^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: unused imports: `raw`, `utils`
--> src/elan/telemetry.rs:3:18
|
3 | use elan_utils::{raw, utils};
| ^^^ ^^^^^
warning: unused import: `serde_json`
--> src/elan/telemetry.rs:4:5
|
4 | use serde_json;
| ^^^^^^^^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/telemetry.rs:49:24
|
49 | let contents = try!(telemetry_dir_contents.chain_err(|| ErrorKind::TelemetryCleanupError));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/telemetry.rs:73:13
|
73 | try!(fs::remove_file(&telemetry_files[i]).chain_err(|| ErrorKind::TelemetryCleanupError));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/command.rs:20:50
|
20 | if (arg0 == "lean" || arg0 == "lean.exe") && try!(cfg.telemetry_enabled()) {
| ^^^
warning: the item `libc` is imported redundantly
--> src/elan/command.rs:163:9
|
163 | use libc;
| ^^^^
|
::: src/elan/lib.rs:17:1
|
17 | extern crate libc;
| ------------------ the item `libc` is already imported here
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/telemetry_analysis.rs:119:24
|
119 | let contents = try!(self.telemetry_dir.read_dir().chain_err(|| ErrorKind::TelemetryAnalysisError));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan/telemetry_analysis.rs:142:17
|
142 | let f = try!(File::open(&path).chain_err(|| ErrorKind::TelemetryAnalysisError));
| ^^^
warning: unused variable: `event`
--> src/elan/telemetry.rs:42:33
|
42 | pub fn log_telemetry(&self, event: TelemetryEvent) -> Result<()> {
| ^^^^^ help: if this is intentional, prefix it with an underscore: `_event`
|
= note: `#[warn(unused_variables)]` on by default
warning: variable does not need to be mutable
--> src/elan/toolchain.rs:335:21
|
335 | let mut ext = EXE_SUFFIX;
| ----^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` on by default
warning: constant is never used: `LOG_FILE_VERSION`
--> src/elan/telemetry.rs:34:1
|
34 | const LOG_FILE_VERSION: i32 = 1;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: 46 warnings emitted
warning: 37 warnings emitted
warning: 88 warnings emitted
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/common.rs:22:17
|
22 | let input = try!(read_line());
| ^^^
|
= note: `#[warn(deprecated)]` on by default
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/common.rs:47:17
|
47 | let input = try!(read_line());
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/common.rs:63:17
|
63 | let input = try!(read_line());
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/common.rs:78:17
|
78 | let input = try!(read_line());
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/common.rs:108:8
|
108 | Ok(try!(Cfg::from_env(Arc::new(move |n: Notification| {
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/common.rs:194:22
|
194 | let toolchains = try!(cfg.update_all_channels(force_update));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/common.rs:201:9
|
201 | try!(self_update::prepare_update())
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/common.rs:209:9
|
209 | try!(show_channel_updates(cfg, toolchains));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/common.rs:213:9
|
213 | try!(self_update::run_update(setup_path));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/common.rs:274:22
|
274 | let toolchains = try!(cfg.list_toolchains());
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/common.rs:299:21
|
299 | let overrides = try!(cfg.settings_file.with(|s| Ok(s.overrides.clone())));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/proxy_mode.rs:12:5
|
12 | try!(::self_update::cleanup_self_updater());
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/proxy_mode.rs:22:20
|
22 | let ref arg0 = try!(arg0.ok_or(ErrorKind::NoExeName));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/proxy_mode.rs:42:15
|
42 | let cfg = try!(set_globals(false));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/proxy_mode.rs:43:5
|
43 | try!(direct_proxy(&cfg, arg0, toolchain, &cmd_args));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/proxy_mode.rs:50:17
|
50 | None => try!(cfg.create_command_for_dir(&try!(utils::current_dir()), arg0)),
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/proxy_mode.rs:50:50
|
50 | None => try!(cfg.create_command_for_dir(&try!(utils::current_dir()), arg0)),
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/proxy_mode.rs:51:21
|
51 | Some(tc) => try!(cfg.create_command_for_toolchain(tc, true, arg0)),
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/proxy_mode.rs:53:8
|
53 | Ok(try!(run_command_for_dir(cmd, arg0, args, &cfg)))
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/setup_mode.rs:46:5
|
46 | try!(self_update::install(no_prompt, verbose, opts));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/elan_mode.rs:17:5
|
17 | try!(::self_update::cleanup_self_updater());
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/elan_mode.rs:21:19
|
21 | let ref cfg = try!(common::set_globals(verbose));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/elan_mode.rs:24:30
|
24 | ("show", Some(_)) => try!(show(cfg)),
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/elan_mode.rs:25:33
|
25 | ("install", Some(m)) => try!(update(cfg, m)),
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/elan_mode.rs:26:32
|
26 | ("update", Some(m)) => try!(update(cfg, m)),
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/elan_mode.rs:27:35
|
27 | ("uninstall", Some(m)) => try!(toolchain_remove(cfg, m)),
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/elan_mode.rs:28:33
|
28 | ("default", Some(m)) => try!(default_(cfg, m)),
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/elan_mode.rs:31:41
|
31 | ("install", Some(m)) => try!(update(cfg, m)),
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/elan_mode.rs:32:38
|
32 | ("list", Some(_)) => try!(common::list_toolchains(cfg)),
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/elan_mode.rs:33:38
|
33 | ("link", Some(m)) => try!(toolchain_link(cfg, m)),
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/elan_mode.rs:34:43
|
34 | ("uninstall", Some(m)) => try!(toolchain_remove(cfg, m)),
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/elan_mode.rs:40:38
|
40 | ("list", Some(_)) => try!(common::list_overrides(cfg)),
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/elan_mode.rs:41:37
|
41 | ("set", Some(m)) => try!(override_add(cfg, m)),
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/elan_mode.rs:42:39
|
42 | ("unset", Some(m)) => try!(override_remove(cfg, m)),
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/elan_mode.rs:46:29
|
46 | ("run", Some(m)) => try!(run(cfg, m)),
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/elan_mode.rs:47:31
|
47 | ("which", Some(m)) => try!(which(cfg, m)),
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/elan_mode.rs:48:29
|
48 | ("doc", Some(m)) => try!(doc(cfg, m)),
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/elan_mode.rs:49:29
|
49 | ("man", Some(m)) => try!(man(cfg,m)),
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/elan_mode.rs:52:40
|
52 | ("update", Some(_)) => try!(self_update::update()),
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/elan_mode.rs:53:43
|
53 | ("uninstall", Some(m)) => try!(self_uninstall(m)),
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/elan_mode.rs:59:40
|
59 | ("enable", Some(_)) => try!(set_telemetry(&cfg, TelemetryMode::On)),
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/elan_mode.rs:60:41
|
60 | ("disable", Some(_)) => try!(set_telemetry(&cfg, TelemetryMode::Off)),
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/elan_mode.rs:61:41
|
61 | ("analyze", Some(_)) => try!(analyze_telemetry(&cfg)),
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/elan_mode.rs:258:25
|
258 | let ref toolchain = try!(cfg.get_toolchain(toolchain, false));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/elan_mode.rs:261:14
|
261 | Some(try!(toolchain.install_from_dist_if_not_installed()))
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/elan_mode.rs:266:5
|
266 | try!(toolchain.make_default());
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/elan_mode.rs:270:9
|
270 | try!(common::show_channel_update(cfg, toolchain.name(), Ok(status)));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/elan_mode.rs:279:29
|
279 | let toolchain = try!(cfg.get_toolchain(name, false));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/elan_mode.rs:282:22
|
282 | Some(try!(toolchain.install_from_dist(m.is_present("force"))))
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/elan_mode.rs:289:17
|
289 | try!(common::show_channel_update(cfg, toolchain.name(), Ok(status)));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/elan_mode.rs:293:9
|
293 | try!(common::update_all_channels(
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/elan_mode.rs:307:15
|
307 | let cmd = try!(cfg.create_command_for_toolchain(toolchain, m.is_present("install"), args[0]));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/elan_mode.rs:309:8
|
309 | Ok(try!(command::run_command_for_dir(cmd, args[0], &args[1..], &cfg)))
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/elan_mode.rs:315:23
|
315 | let binary_path = try!(cfg.which_binary(&try!(utils::current_dir()), binary))
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/elan_mode.rs:315:46
|
315 | let binary_path = try!(cfg.which_binary(&try!(utils::current_dir()), binary))
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/elan_mode.rs:318:5
|
318 | try!(utils::assert_is_file(&binary_path));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/elan_mode.rs:326:19
|
326 | let ref cwd = try!(utils::current_dir());
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/elan_mode.rs:327:32
|
327 | let installed_toolchains = try!(cfg.list_toolchains());
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/elan_mode.rs:341:28
|
341 | let default_name = try!(cfg.get_default());
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/elan_mode.rs:398:25
|
398 | let toolchain = try!(cfg.get_toolchain(toolchain, false));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/elan_mode.rs:402:19
|
402 | let ref cwd = try!(utils::current_dir());
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/elan_mode.rs:403:26
|
403 | let (toolchain, _) = try!(cfg.toolchain_for_dir(cwd));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/elan_mode.rs:411:21
|
411 | let toolchain = try!(cfg.get_toolchain(toolchain, true));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/elan_mode.rs:413:8
|
413 | Ok(try!(toolchain.install_from_dir(Path::new(path), true)))
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/elan_mode.rs:418:25
|
418 | let toolchain = try!(cfg.get_toolchain(toolchain, false));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/elan_mode.rs:419:9
|
419 | try!(toolchain.remove());
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/elan_mode.rs:426:21
|
426 | let toolchain = try!(cfg.get_toolchain(toolchain, false));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/elan_mode.rs:429:14
|
429 | Some(try!(toolchain.install_from_dist_if_not_installed()))
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/elan_mode.rs:434:5
|
434 | try!(toolchain.make_override(&try!(utils::current_dir())));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/elan_mode.rs:434:35
|
434 | try!(toolchain.make_override(&try!(utils::current_dir())));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/elan_mode.rs:438:9
|
438 | try!(common::show_channel_update(cfg, toolchain.name(), Ok(status)));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/elan_mode.rs:446:28
|
446 | let list: Vec<_> = try!(cfg.settings_file.with(|s| Ok(s.overrides.iter().filter_map(|(k, _)|
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/elan_mode.rs:461:18
|
461 | vec![try!(utils::current_dir()).to_str().unwrap().to_string()]
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/elan_mode.rs:466:12
|
466 | if try!(cfg.settings_file.with_mut(|s| {
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/elan_mode.rs:490:8
|
490 | Ok(try!(cfg.open_docs_for_dir(&try!(utils::current_dir()), doc_url)))
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/elan_mode.rs:490:36
|
490 | Ok(try!(cfg.open_docs_for_dir(&try!(utils::current_dir()), doc_url)))
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/elan_mode.rs:495:21
|
495 | let toolchain = try!(explicit_or_dir_toolchain(cfg, m));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/elan_mode.rs:501:5
|
501 | try!(utils::assert_is_file(&man_path));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/elan_mode.rs:517:33
|
517 | TelemetryMode::On => Ok(try!(cfg.set_telemetry(true))),
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/elan_mode.rs:518:34
|
518 | TelemetryMode::Off => Ok(try!(cfg.set_telemetry(false))),
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/elan_mode.rs:523:20
|
523 | let analysis = try!(cfg.analyze_telemetry());
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:180:16
|
180 | let path = try!(utils::elan_home());
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:201:5
|
201 | try!(check_existence_of_lean_in_path(no_prompt));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:202:5
|
202 | try!(do_anti_sudo_check(no_prompt));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:205:23
|
205 | let ref msg = try!(pre_install_msg(opts.no_modify_path));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:211:19
|
211 | match try!(common::confirm_advanced()) {
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:220:28
|
220 | opts = try!(customize_install(opts));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:255:13
|
255 | try!(common::read_line());
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:263:25
|
263 | let elan_home = try!(canonical_elan_home());
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:289:13
|
289 | try!(common::read_line());
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:227:9
|
227 | try!(install_bins());
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:229:13
|
229 | try!(do_add_to_path(&get_add_path_methods()));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:231:9
|
231 | try!(maybe_install_lean(&opts.default_toolchain, verbose));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:234:32
|
234 | let ref env_file = try!(utils::elan_home()).join("env");
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:237:17
|
237 | try!(shell_export_string()));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:238:13
|
238 | try!(utils::write_file("env", env_file, env_str));
| ^^^
warning: the item `env` is imported redundantly
--> src/elan-cli/self_update.rs:345:13
|
39 | use std::env;
| -------- the item `env` is already imported here
...
345 | use std::env;
| ^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:397:21
|
397 | let elan_home = try!(utils::elan_home());
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:449:30
|
449 | opts.default_toolchain = try!(common::question_str(
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:453:28
|
453 | opts.no_modify_path = !try!(common::question_bool(
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:461:24
|
461 | let ref bin_path = try!(utils::elan_home()).join("bin");
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:462:29
|
462 | let ref this_exe_path = try!(utils::current_exe());
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:465:5
|
465 | try!(utils::ensure_dir_exists("bin", bin_path, &|_| {}));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:469:9
|
469 | try!(utils::remove_file("elan-bin", elan_path));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:471:5
|
471 | try!(utils::copy_file(this_exe_path, elan_path));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:472:5
|
472 | try!(utils::make_executable(elan_path));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:477:24
|
477 | let ref bin_path = try!(utils::elan_home()).join("bin");
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:519:9
|
519 | try!(utils::hard_or_symlink_file(elan_path, &path));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:526:19
|
526 | let ref cfg = try!(common::set_globals(verbose));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:535:15
|
535 | } else if try!(cfg.find_default()).is_none() {
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:536:25
|
536 | let toolchain = try!(cfg.get_toolchain(toolchain_str, false));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:537:22
|
537 | let status = try!(toolchain.install_from_dist(false));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:538:9
|
538 | try!(cfg.set_default(toolchain_str));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:540:9
|
540 | try!(common::show_channel_update(cfg, toolchain_str, Ok(status)));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:559:28
|
559 | let product_code = try!(get_msi_product_code());
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:560:9
|
560 | try!(Command::new("msiexec")
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:568:25
|
568 | let ref elan_home = try!(utils::elan_home());
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:577:43
|
577 | ... elan_home = try!(canonical_elan_home()));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:579:13
|
579 | if !try!(common::confirm("\nContinue? (y/N)", false)) {
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:590:35
|
590 | let ref remove_path_methods = try!(get_remove_path_methods());
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:591:5
|
591 | try!(do_remove_from_path(remove_path_methods));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:596:19
|
596 | for dirent in try!(fs::read_dir(elan_home).chain_err(|| read_dir_err)) {
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:597:22
|
597 | let dirent = try!(dirent.chain_err(|| read_dir_err));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:600:17
|
600 | try!(utils::remove_dir("elan_home", &dirent.path(), &|_| {}));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:602:17
|
602 | try!(utils::remove_file("elan_home", &dirent.path()));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:611:19
|
611 | for dirent in try!(fs::read_dir(&elan_home.join("bin")).chain_err(|| read_dir_err)) {
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:612:22
|
612 | let dirent = try!(dirent.chain_err(|| read_dir_err));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:617:17
|
617 | try!(utils::remove_dir("elan_home", &dirent.path(), &|_| {}));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:619:17
|
619 | try!(utils::remove_file("elan_home", &dirent.path()));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:629:5
|
629 | try!(delete_elan_and_elan_home());
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:668:25
|
668 | let ref elan_home = try!(utils::elan_home());
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:669:5
|
669 | try!(utils::remove_dir("elan_home", elan_home, &|_| ()));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:922:34
|
922 | let path = format!("{}/bin", try!(canonical_elan_home()));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:934:17
|
934 | try!(utils::read_file("rcfile", rcpath))
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:938:48
|
938 | let ref addition = format!("\n{}", try!(shell_export_string()));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:940:17
|
940 | try!(utils::append_file("rcfile", rcpath, addition));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:1049:22
|
1049 | let export_str = try!(shell_export_string());
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:1127:24
|
1127 | let file = try!(utils::read_file("rcfile", rcpath));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:1128:46
|
1128 | let addition = format!("\n{}\n", try!(shell_export_string()));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:1139:17
|
1139 | try!(utils::write_file("rcfile", rcpath, new_file));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:1172:22
|
1172 | let setup_path = try!(prepare_update());
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:1183:9
|
1183 | try!(run_update(p));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:1213:25
|
1213 | let ref elan_home = try!(utils::elan_home());
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:1222:9
|
1222 | try!(utils::remove_file("setup", setup_path));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:1228:19
|
1228 | let tempdir = try!(TempDir::new("elan-update")
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:1252:24
|
1252 | let download_url = try!(utils::parse_url(&url));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:1256:5
|
1256 | try!(utils::download_file(&download_url,
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:1273:5
|
1273 | try!(utils::make_executable(setup_path));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:1288:18
|
1288 | let status = try!(Command::new(setup_path)
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:1314:5
|
1314 | try!(install_bins());
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:1328:21
|
1328 | let elan_home = try!(utils::elan_home());
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:1332:9
|
1332 | try!(utils::remove_file("setup", setup));
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> src/elan-cli/self_update.rs:1339:9
|
1339 | try!(utils::remove_file("setup", old_setup));
| ^^^
warning: trait objects without an explicit `dyn` are deprecated
--> src/elan-cli/term2.rs:42:35
|
42 | pub struct Terminal<T>(Option<Box<term::Terminal<Output = T> + Send>>)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn term::Terminal<Output = T> + Send`
|
= note: `#[warn(bare_trait_objects)]` on by default
warning: use of deprecated function `time::precise_time_s`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch.
--> src/elan-cli/download_tracker.rs:4:5
|
4 | use time::precise_time_s;
| ^^^^^^^^^^^^^^^^^^^^
warning: use of deprecated function `time::precise_time_s`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch.
--> src/elan-cli/download_tracker.rs:83:28
|
83 | let current_time = precise_time_s();
| ^^^^^^^^^^^^^^
warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
--> src/elan-cli/self_update.rs:356:32
|
356 | let mut pwd = unsafe { mem::uninitialized::<c::passwd>() };
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: use of deprecated associated function `core::str::<impl str>::trim_right_matches`: superseded by `trim_end_matches`
--> src/elan-cli/common.rs:247:48
|
247 | ... let lineend = line.trim_right_matches(&['\r', '\n'][..]).len();
| ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches`
warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting
--> src/elan-cli/elan_mode.rs:372:42
|
372 | if let Some(cause) = err.cause() {
| ^^^^^
error: linking with `/nix/store/2pb1r2zgw6yiabv4v3d4j66d3vwgdd5q-clang-wrapper-7.1.0/bin/cc` failed: exit code: 1
|
= note: "/nix/store/2pb1r2zgw6yiabv4v3d4j66d3vwgdd5q-clang-wrapper-7.1.0/bin/cc" "-m64" "-arch" "x86_64" "-L" "/nix/store/akm781c35gr7mb14g5h0kqlk3cvyzmij-rustc-1.51.0/lib/rustlib/x86_64-apple-darwin/lib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/elan_init.elan_init.d0pdepo8-cgu.0.rcgu.o" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/elan_init.elan_init.d0pdepo8-cgu.1.rcgu.o" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/elan_init.elan_init.d0pdepo8-cgu.10.rcgu.o" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/elan_init.elan_init.d0pdepo8-cgu.11.rcgu.o" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/elan_init.elan_init.d0pdepo8-cgu.12.rcgu.o" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/elan_init.elan_init.d0pdepo8-cgu.13.rcgu.o" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/elan_init.elan_init.d0pdepo8-cgu.14.rcgu.o" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/elan_init.elan_init.d0pdepo8-cgu.15.rcgu.o" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/elan_init.elan_init.d0pdepo8-cgu.2.rcgu.o" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/elan_init.elan_init.d0pdepo8-cgu.3.rcgu.o" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/elan_init.elan_init.d0pdepo8-cgu.4.rcgu.o" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/elan_init.elan_init.d0pdepo8-cgu.5.rcgu.o" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/elan_init.elan_init.d0pdepo8-cgu.6.rcgu.o" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/elan_init.elan_init.d0pdepo8-cgu.7.rcgu.o" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/elan_init.elan_init.d0pdepo8-cgu.8.rcgu.o" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/elan_init.elan_init.d0pdepo8-cgu.9.rcgu.o" "-o" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/elan_init" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/elan_init.17pvzqwrfa2tefzc.rcgu.o" "-Wl,-dead_strip" "-nodefaultlibs" "-L" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps" "-L" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/release/deps" "-L" "/nix/store/wmdkisbdf4ih0yla1kzaj769ri372vrw-openssl-1.1.1k/lib" "-L" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/build/bzip2-sys-88cdf84f980808cd/out/lib" "-L" "/nix/store/akm781c35gr7mb14g5h0kqlk3cvyzmij-rustc-1.51.0/lib/rustlib/x86_64-apple-darwin/lib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libwait_timeout-98faeec9177fa491.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libmarkdown-a1f6f78ba13abeba.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/liblazy_static-91fab57dd04714a5.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libpipeline-0defa3e3ae5ddcd7.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libtempdir-4e89bfea657da07e.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/librand-fd40f01bba973b1d.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libterm-bb4c1010f4748de6.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libdirs_next-45faeb34d97446d5.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libdirs_sys_next-310b7773adecc9ba.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libelan-d903b57fbd22c006.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libtime-7a6a2c590358fd4f.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libtime_macros-e00ac4567c9c4c28.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libstandback-cab61b1058c8533e.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libtempfile-3eba8b4d2df78f54.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libremove_dir_all-c869bece10c191d0.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libserde_json-9317c4754dd4b234.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libryu-db8bc1340f9d7ae8.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libitoa-b445b0b9ceb6ffec.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libclap-f24ddd11a20ccda5.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libvec_map-ebc2401d6ce65bf6.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libtextwrap-468bc1e9f1fb5a63.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libunicode_width-ed88f1a110456c24.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libstrsim-e403783120974290.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libbitflags-0d253ad7730923dc.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libatty-2f39b0759e24500d.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libansi_term-5cd777ddfa814a5f.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libelan_dist-e0c36a041994a169.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libzip-25cfff0b1edf5a19.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libtime-347706e0633e12d8.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libthiserror-2c67bc5bba1ac4a5.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libbzip2-82e475d615df8658.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libbzip2_sys-55c85037afa92295.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libbyteorder-5600a45258cb5a94.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libjson-169d01c702e5785e.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libelan_utils-4bfbdef9bec63b59.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libremove_dir_all-7d42da3a277389be.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libdirs-ad1692302be6fc0d.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libdirs_sys-e3c417f2dc70a064.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libsemver-1156466a89715718.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libsemver_parser-cfd8b82c89eb3592.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libpest-3642229cc5e1d51c.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libucd_trie-533b1fcfca888b81.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libdownload-6f6befb9de4fa2a9.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libcurl-97f013412df2c00c.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libsocket2-aafa43800eb3f665.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libcurl_sys-ecde3f257ea09c19.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libsha2-dca0648a37339bc4.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libcpuid_bool-edf389e4a5a517a8.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libopaque_debug-481ba35a442effb9.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libdigest-8bebed98b99bdaa3.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libblock_buffer-0541a75bc75b5f90.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libgeneric_array-081a368017c23f63.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libtypenum-ff42404c8799a28f.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/liberror_chain-2a180199c7117b8a.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libbacktrace-2fe8ef79b5f8cd74.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libobject-3900306feedb4b8a.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libaddr2line-96597418f1d25d5b.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libgimli-c38ac1323c187e61.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/librustc_demangle-92b08f5badeb00ce.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libscopeguard-7123071295e2bf62.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/librand-fd396db452ddfec4.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/librand_chacha-7cf1e87d57e4e37c.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libppv_lite86-fb1758143cdf3e52.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/librand_core-eeb3595d99572e15.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libgetrandom-b7b4253013a3d838.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/liburl-75040b1bc39ea59d.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libidna-3e603bdee75e6f89.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libunicode_normalization-d103b24536b2e403.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libtinyvec-afff300ee1627e5a.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libtinyvec_macros-4ddbd7b9e616624d.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libunicode_bidi-680980a85415a93f.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libform_urlencoded-22053f5873be4cfb.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libpercent_encoding-1ad397d61d036dd2.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libmatches-cea510a368e42bee.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libtar-26aa4b3c423d3796.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libxattr-ff573d417a6c2284.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libfiletime-0be64287acb654c5.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/liblibc-527eb54b3bbce9f8.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libflate2-f11a11510cdd5b7c.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libminiz_oxide-fe189d1972879e03.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libadler32-3c76c2dfcd9290a7.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libcfg_if-ee99338ab4f485d5.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libcrc32fast-6e5702c9e4f46fde.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libcfg_if-a1f8b378dc0c2436.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libtoml-05606085cc9a8eb4.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libserde-0919d4e5d80ffd23.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libwalkdir-e72d8fcb7aada1ed.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libsame_file-8d9eb47898aba420.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libitertools-01e7cd9951bb31ef.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libeither-fa8d2728fb88c1d1.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libregex-4116ec66810208ad.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libthread_local-d4006d4980ce5404.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libonce_cell-f685a49b706ce2b8.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libregex_syntax-0467555b2c4dac1b.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libaho_corasick-c2dfd7c98e633f5b.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libmemchr-a8a237840e4b38fe.rlib" "/nix/store/akm781c35gr7mb14g5h0kqlk3cvyzmij-rustc-1.51.0/lib/rustlib/x86_64-apple-darwin/lib/libstd-0663ee2c1c537ca4.rlib" "/nix/store/akm781c35gr7mb14g5h0kqlk3cvyzmij-rustc-1.51.0/lib/rustlib/x86_64-apple-darwin/lib/libpanic_unwind-51315f7bcfa049eb.rlib" "/nix/store/akm781c35gr7mb14g5h0kqlk3cvyzmij-rustc-1.51.0/lib/rustlib/x86_64-apple-darwin/lib/libobject-ca0009034960ab56.rlib" "/nix/store/akm781c35gr7mb14g5h0kqlk3cvyzmij-rustc-1.51.0/lib/rustlib/x86_64-apple-darwin/lib/libaddr2line-64ee72358536cb5c.rlib" "/nix/store/akm781c35gr7mb14g5h0kqlk3cvyzmij-rustc-1.51.0/lib/rustlib/x86_64-apple-darwin/lib/libgimli-37ffdd8ede97efc7.rlib" "/nix/store/akm781c35gr7mb14g5h0kqlk3cvyzmij-rustc-1.51.0/lib/rustlib/x86_64-apple-darwin/lib/librustc_demangle-483f19d8e4da8768.rlib" "/nix/store/akm781c35gr7mb14g5h0kqlk3cvyzmij-rustc-1.51.0/lib/rustlib/x86_64-apple-darwin/lib/libhashbrown-dc4b303f88932edd.rlib" "/nix/store/akm781c35gr7mb14g5h0kqlk3cvyzmij-rustc-1.51.0/lib/rustlib/x86_64-apple-darwin/lib/librustc_std_workspace_alloc-92d38392fba41e6a.rlib" "/nix/store/akm781c35gr7mb14g5h0kqlk3cvyzmij-rustc-1.51.0/lib/rustlib/x86_64-apple-darwin/lib/libunwind-e5d8068e42c74666.rlib" "/nix/store/akm781c35gr7mb14g5h0kqlk3cvyzmij-rustc-1.51.0/lib/rustlib/x86_64-apple-darwin/lib/libcfg_if-22c964ee3d0265a5.rlib" "/nix/store/akm781c35gr7mb14g5h0kqlk3cvyzmij-rustc-1.51.0/lib/rustlib/x86_64-apple-darwin/lib/liblibc-0a3a3c5b22954ea6.rlib" "/nix/store/akm781c35gr7mb14g5h0kqlk3cvyzmij-rustc-1.51.0/lib/rustlib/x86_64-apple-darwin/lib/liballoc-0ddbdbad7d99e35c.rlib" "/nix/store/akm781c35gr7mb14g5h0kqlk3cvyzmij-rustc-1.51.0/lib/rustlib/x86_64-apple-darwin/lib/librustc_std_workspace_core-f6456a5a8a2c2723.rlib" "/nix/store/akm781c35gr7mb14g5h0kqlk3cvyzmij-rustc-1.51.0/lib/rustlib/x86_64-apple-darwin/lib/libcore-6df2a021d0eda86a.rlib" "/nix/store/akm781c35gr7mb14g5h0kqlk3cvyzmij-rustc-1.51.0/lib/rustlib/x86_64-apple-darwin/lib/libcompiler_builtins-94ac56476cd78265.rlib" "-lcurl" "-liconv" "-lSystem" "-lresolv" "-lc" "-lm"
= note: ld: library not found for -liconv
clang-7: error: linker command failed with exit code 1 (use -v to see invocation)
error: aborting due to previous error; 159 warnings emitted
error: could not compile `elan`
To learn more, run the command again with --verbose.
error: builder for '/nix/store/00zgkhvscdx3m4p90vbyqjvylps1n1i4-elan-0.11.0.drv' failed with exit code 101;
last 10 log lines:
> = note: "/nix/store/2pb1r2zgw6yiabv4v3d4j66d3vwgdd5q-clang-wrapper-7.1.0/bin/cc" "-m64" "-arch" "x86_64" "-L" "/nix/store/akm781c35gr7mb14g5h0kqlk3cvyzmij-rustc-1.51.0/lib/rustlib/x86_64-apple-darwin/lib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/elan_init.elan_init.d0pdepo8-cgu.0.rcgu.o" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/elan_init.elan_init.d0pdepo8-cgu.1.rcgu.o" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/elan_init.elan_init.d0pdepo8-cgu.10.rcgu.o" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/elan_init.elan_init.d0pdepo8-cgu.11.rcgu.o" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/elan_init.elan_init.d0pdepo8-cgu.12.rcgu.o" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/elan_init.elan_init.d0pdepo8-cgu.13.rcgu.o" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/elan_init.elan_init.d0pdepo8-cgu.14.rcgu.o" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/elan_init.elan_init.d0pdepo8-cgu.15.rcgu.o" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/elan_init.elan_init.d0pdepo8-cgu.2.rcgu.o" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/elan_init.elan_init.d0pdepo8-cgu.3.rcgu.o" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/elan_init.elan_init.d0pdepo8-cgu.4.rcgu.o" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/elan_init.elan_init.d0pdepo8-cgu.5.rcgu.o" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/elan_init.elan_init.d0pdepo8-cgu.6.rcgu.o" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/elan_init.elan_init.d0pdepo8-cgu.7.rcgu.o" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/elan_init.elan_init.d0pdepo8-cgu.8.rcgu.o" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/elan_init.elan_init.d0pdepo8-cgu.9.rcgu.o" "-o" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/elan_init" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/elan_init.17pvzqwrfa2tefzc.rcgu.o" "-Wl,-dead_strip" "-nodefaultlibs" "-L" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps" "-L" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/release/deps" "-L" "/nix/store/wmdkisbdf4ih0yla1kzaj769ri372vrw-openssl-1.1.1k/lib" "-L" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/build/bzip2-sys-88cdf84f980808cd/out/lib" "-L" "/nix/store/akm781c35gr7mb14g5h0kqlk3cvyzmij-rustc-1.51.0/lib/rustlib/x86_64-apple-darwin/lib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libwait_timeout-98faeec9177fa491.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libmarkdown-a1f6f78ba13abeba.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/liblazy_static-91fab57dd04714a5.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libpipeline-0defa3e3ae5ddcd7.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libtempdir-4e89bfea657da07e.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/librand-fd40f01bba973b1d.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libterm-bb4c1010f4748de6.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libdirs_next-45faeb34d97446d5.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libdirs_sys_next-310b7773adecc9ba.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libelan-d903b57fbd22c006.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libtime-7a6a2c590358fd4f.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libtime_macros-e00ac4567c9c4c28.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libstandback-cab61b1058c8533e.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libtempfile-3eba8b4d2df78f54.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libremove_dir_all-c869bece10c191d0.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libserde_json-9317c4754dd4b234.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libryu-db8bc1340f9d7ae8.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libitoa-b445b0b9ceb6ffec.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libclap-f24ddd11a20ccda5.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libvec_map-ebc2401d6ce65bf6.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libtextwrap-468bc1e9f1fb5a63.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libunicode_width-ed88f1a110456c24.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libstrsim-e403783120974290.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libbitflags-0d253ad7730923dc.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libatty-2f39b0759e24500d.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libansi_term-5cd777ddfa814a5f.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libelan_dist-e0c36a041994a169.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libzip-25cfff0b1edf5a19.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libtime-347706e0633e12d8.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libthiserror-2c67bc5bba1ac4a5.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libbzip2-82e475d615df8658.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libbzip2_sys-55c85037afa92295.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libbyteorder-5600a45258cb5a94.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libjson-169d01c702e5785e.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libelan_utils-4bfbdef9bec63b59.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libremove_dir_all-7d42da3a277389be.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libdirs-ad1692302be6fc0d.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libdirs_sys-e3c417f2dc70a064.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libsemver-1156466a89715718.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libsemver_parser-cfd8b82c89eb3592.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libpest-3642229cc5e1d51c.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libucd_trie-533b1fcfca888b81.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libdownload-6f6befb9de4fa2a9.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libcurl-97f013412df2c00c.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libsocket2-aafa43800eb3f665.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libcurl_sys-ecde3f257ea09c19.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libsha2-dca0648a37339bc4.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libcpuid_bool-edf389e4a5a517a8.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libopaque_debug-481ba35a442effb9.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libdigest-8bebed98b99bdaa3.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libblock_buffer-0541a75bc75b5f90.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libgeneric_array-081a368017c23f63.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libtypenum-ff42404c8799a28f.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/liberror_chain-2a180199c7117b8a.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libbacktrace-2fe8ef79b5f8cd74.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libobject-3900306feedb4b8a.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libaddr2line-96597418f1d25d5b.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libgimli-c38ac1323c187e61.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/librustc_demangle-92b08f5badeb00ce.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libscopeguard-7123071295e2bf62.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/librand-fd396db452ddfec4.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/librand_chacha-7cf1e87d57e4e37c.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libppv_lite86-fb1758143cdf3e52.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/librand_core-eeb3595d99572e15.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libgetrandom-b7b4253013a3d838.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/liburl-75040b1bc39ea59d.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libidna-3e603bdee75e6f89.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libunicode_normalization-d103b24536b2e403.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libtinyvec-afff300ee1627e5a.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libtinyvec_macros-4ddbd7b9e616624d.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libunicode_bidi-680980a85415a93f.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libform_urlencoded-22053f5873be4cfb.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libpercent_encoding-1ad397d61d036dd2.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libmatches-cea510a368e42bee.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libtar-26aa4b3c423d3796.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libxattr-ff573d417a6c2284.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libfiletime-0be64287acb654c5.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/liblibc-527eb54b3bbce9f8.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libflate2-f11a11510cdd5b7c.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libminiz_oxide-fe189d1972879e03.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libadler32-3c76c2dfcd9290a7.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libcfg_if-ee99338ab4f485d5.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libcrc32fast-6e5702c9e4f46fde.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libcfg_if-a1f8b378dc0c2436.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libtoml-05606085cc9a8eb4.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libserde-0919d4e5d80ffd23.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libwalkdir-e72d8fcb7aada1ed.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libsame_file-8d9eb47898aba420.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libitertools-01e7cd9951bb31ef.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libeither-fa8d2728fb88c1d1.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libregex-4116ec66810208ad.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libthread_local-d4006d4980ce5404.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libonce_cell-f685a49b706ce2b8.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libregex_syntax-0467555b2c4dac1b.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libaho_corasick-c2dfd7c98e633f5b.rlib" "/private/tmp/nix-build-elan-0.11.0.drv-0/source/target/x86_64-apple-darwin/release/deps/libmemchr-a8a237840e4b38fe.rlib" "/nix/store/akm781c35gr7mb14g5h0kqlk3cvyzmij-rustc-1.51.0/lib/rustlib/x86_64-apple-darwin/lib/libstd-0663ee2c1c537ca4.rlib" "/nix/store/akm781c35gr7mb14g5h0kqlk3cvyzmij-rustc-1.51.0/lib/rustlib/x86_64-apple-darwin/lib/libpanic_unwind-51315f7bcfa049eb.rlib" "/nix/store/akm781c35gr7mb14g5h0kqlk3cvyzmij-rustc-1.51.0/lib/rustlib/x86_64-apple-darwin/lib/libobject-ca0009034960ab56.rlib" "/nix/store/akm781c35gr7mb14g5h0kqlk3cvyzmij-rustc-1.51.0/lib/rustlib/x86_64-apple-darwin/lib/libaddr2line-64ee72358536cb5c.rlib" "/nix/store/akm781c35gr7mb14g5h0kqlk3cvyzmij-rustc-1.51.0/lib/rustlib/x86_64-apple-darwin/lib/libgimli-37ffdd8ede97efc7.rlib" "/nix/store/akm781c35gr7mb14g5h0kqlk3cvyzmij-rustc-1.51.0/lib/rustlib/x86_64-apple-darwin/lib/librustc_demangle-483f19d8e4da8768.rlib" "/nix/store/akm781c35gr7mb14g5h0kqlk3cvyzmij-rustc-1.51.0/lib/rustlib/x86_64-apple-darwin/lib/libhashbrown-dc4b303f88932edd.rlib" "/nix/store/akm781c35gr7mb14g5h0kqlk3cvyzmij-rustc-1.51.0/lib/rustlib/x86_64-apple-darwin/lib/librustc_std_workspace_alloc-92d38392fba41e6a.rlib" "/nix/store/akm781c35gr7mb14g5h0kqlk3cvyzmij-rustc-1.51.0/lib/rustlib/x86_64-apple-darwin/lib/libunwind-e5d8068e42c74666.rlib" "/nix/store/akm781c35gr7mb14g5h0kqlk3cvyzmij-rustc-1.51.0/lib/rustlib/x86_64-apple-darwin/lib/libcfg_if-22c964ee3d0265a5.rlib" "/nix/store/akm781c35gr7mb14g5h0kqlk3cvyzmij-rustc-1.51.0/lib/rustlib/x86_64-apple-darwin/lib/liblibc-0a3a3c5b22954ea6.rlib" "/nix/store/akm781c35gr7mb14g5h0kqlk3cvyzmij-rustc-1.51.0/lib/rustlib/x86_64-apple-darwin/lib/liballoc-0ddbdbad7d99e35c.rlib" "/nix/store/akm781c35gr7mb14g5h0kqlk3cvyzmij-rustc-1.51.0/lib/rustlib/x86_64-apple-darwin/lib/librustc_std_workspace_core-f6456a5a8a2c2723.rlib" "/nix/store/akm781c35gr7mb14g5h0kqlk3cvyzmij-rustc-1.51.0/lib/rustlib/x86_64-apple-darwin/lib/libcore-6df2a021d0eda86a.rlib" "/nix/store/akm781c35gr7mb14g5h0kqlk3cvyzmij-rustc-1.51.0/lib/rustlib/x86_64-apple-darwin/lib/libcompiler_builtins-94ac56476cd78265.rlib" "-lcurl" "-liconv" "-lSystem" "-lresolv" "-lc" "-lm"
> = note: ld: library not found for -liconv
> clang-7: error: linker command failed with exit code 1 (use -v to see invocation)
>
>
> error: aborting due to previous error; 159 warnings emitted
>
> error: could not compile `elan`
>
> To learn more, run the command again with --verbose.
For full logs, run 'nix log /nix/store/00zgkhvscdx3m4p90vbyqjvylps1n1i4-elan-0.11.0.drv'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment