[INFO] fetching crate libimagref 0.3.0... [INFO] checking libimagref-0.3.0 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate libimagref 0.3.0 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate libimagref 0.3.0 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate libimagref 0.3.0 [INFO] finished tweaking crates.io crate libimagref 0.3.0 [INFO] tweaked toml for crates.io crate libimagref 0.3.0 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libimagentrylist v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 83fa5ced1961e79ac0f0868143a1d916ab3c2ed52c23127ce37a779df566eeb4 [INFO] running `Command { std: "docker" "start" "-a" "83fa5ced1961e79ac0f0868143a1d916ab3c2ed52c23127ce37a779df566eeb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "83fa5ced1961e79ac0f0868143a1d916ab3c2ed52c23127ce37a779df566eeb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83fa5ced1961e79ac0f0868143a1d916ab3c2ed52c23127ce37a779df566eeb4", kill_on_drop: false }` [INFO] [stdout] 83fa5ced1961e79ac0f0868143a1d916ab3c2ed52c23127ce37a779df566eeb4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e5b1f1a9684039952ce87c415ce2d2b1c0e25554fbb3803b2a79237fb12653c5 [INFO] running `Command { std: "docker" "start" "-a" "e5b1f1a9684039952ce87c415ce2d2b1c0e25554fbb3803b2a79237fb12653c5", kill_on_drop: false }` [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking same-file v0.1.3 [INFO] [stderr] Checking ansi_term v0.9.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking boolinator v2.4.0 [INFO] [stderr] Checking is-match v0.1.0 [INFO] [stderr] Checking term v0.4.6 [INFO] [stderr] Checking glob v0.2.11 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking version v2.0.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking crossbeam v0.2.12 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking itertools v0.6.5 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking itertools v0.5.10 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking walkdir v1.0.7 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking libimagerror v0.3.0 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking tempfile v2.2.0 [INFO] [stderr] Checking csv v0.15.0 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking prettytable-rs v0.6.7 [INFO] [stderr] Checking libimagutil v0.3.0 [INFO] [stderr] Checking semver-parser v0.6.2 [INFO] [stderr] Checking semver v0.5.1 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking libimagstore v0.3.0 [INFO] [stderr] Checking libimagentrylist v0.3.0 [INFO] [stderr] Checking libimagref v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | / generate_error_types!(RefError, RefErrorKind, [INFO] [stdout] 22 | | StoreReadError => "Store read error", [INFO] [stdout] 23 | | StoreWriteError => "Store write error", [INFO] [stdout] 24 | | IOError => "IO Error", [INFO] [stdout] ... | [INFO] [stdout] 48 | | RefHashingError => "Error while hashing" [INFO] [stdout] 49 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `generate_custom_error_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | / generate_error_types!(RefError, RefErrorKind, [INFO] [stdout] 22 | | StoreReadError => "Store read error", [INFO] [stdout] 23 | | StoreWriteError => "Store write error", [INFO] [stdout] 24 | | IOError => "IO Error", [INFO] [stdout] ... | [INFO] [stdout] 48 | | RefHashingError => "Error while hashing" [INFO] [stdout] 49 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `generate_custom_error_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/flags.rs:53:34 [INFO] [stdout] | [INFO] [stdout] 53 | content_hashing: try!(get_field(v, "ref.flags.content_hashing")), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/flags.rs:54:34 [INFO] [stdout] | [INFO] [stdout] 54 | permission_tracking: try!(get_field(v, "ref.flags.permission_tracking")), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/hasher.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | try!(c.read_to_string(&mut s).map_err_into(REK::UTF8Error).map_err_into(REK::IOError)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/hashers/nbytes.rs:66:32 [INFO] [stdout] | [INFO] [stdout] 66 | self.hasher.input_str(&try!(s)[..]); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reference.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | try!(File::open(pb.clone()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reference.rs:118:30 [INFO] [stdout] | [INFO] [stdout] 118 | Some(try!(h.create_hash(&pb, &mut file))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reference.rs:130:30 [INFO] [stdout] | [INFO] [stdout] 130 | Some(try!(file [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reference.rs:156:37 [INFO] [stdout] | [INFO] [stdout] 156 | let path_hash = try!(Ref::hash_path(&can) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reference.rs:179:31 [INFO] [stdout] | [INFO] [stdout] 179 | let fle = try!(store [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reference.rs:380:28 [INFO] [stdout] | [INFO] [stdout] 380 | let stored_hash = try!(self.get_stored_hash()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reference.rs:381:28 [INFO] [stdout] | [INFO] [stdout] 381 | let current_hash = try!(self.get_current_hash()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reference.rs:394:28 [INFO] [stdout] | [INFO] [stdout] 394 | let current_hash = try!(self.get_current_hash()); // uses the default hasher [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reference.rs:395:28 [INFO] [stdout] | [INFO] [stdout] 395 | let current_perm = try!(self.get_current_permissions()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reference.rs:397:9 [INFO] [stdout] | [INFO] [stdout] 397 | try!(self.0 [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reference.rs:404:9 [INFO] [stdout] | [INFO] [stdout] 404 | try!(self.0 [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reference.rs:445:41 [INFO] [stdout] | [INFO] [stdout] 445 | let contains_hash = try!(r.to_str() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | / generate_error_types!(RefError, RefErrorKind, [INFO] [stdout] 22 | | StoreReadError => "Store read error", [INFO] [stdout] 23 | | StoreWriteError => "Store write error", [INFO] [stdout] 24 | | IOError => "IO Error", [INFO] [stdout] ... | [INFO] [stdout] 48 | | RefHashingError => "Error while hashing" [INFO] [stdout] 49 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `generate_custom_error_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | / generate_error_types!(RefError, RefErrorKind, [INFO] [stdout] 22 | | StoreReadError => "Store read error", [INFO] [stdout] 23 | | StoreWriteError => "Store write error", [INFO] [stdout] 24 | | IOError => "IO Error", [INFO] [stdout] ... | [INFO] [stdout] 48 | | RefHashingError => "Error while hashing" [INFO] [stdout] 49 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `generate_custom_error_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/flags.rs:53:34 [INFO] [stdout] | [INFO] [stdout] 53 | content_hashing: try!(get_field(v, "ref.flags.content_hashing")), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/flags.rs:54:34 [INFO] [stdout] | [INFO] [stdout] 54 | permission_tracking: try!(get_field(v, "ref.flags.permission_tracking")), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/hasher.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | try!(c.read_to_string(&mut s).map_err_into(REK::UTF8Error).map_err_into(REK::IOError)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/hashers/nbytes.rs:66:32 [INFO] [stdout] | [INFO] [stdout] 66 | self.hasher.input_str(&try!(s)[..]); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reference.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | try!(File::open(pb.clone()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reference.rs:118:30 [INFO] [stdout] | [INFO] [stdout] 118 | Some(try!(h.create_hash(&pb, &mut file))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reference.rs:130:30 [INFO] [stdout] | [INFO] [stdout] 130 | Some(try!(file [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reference.rs:156:37 [INFO] [stdout] | [INFO] [stdout] 156 | let path_hash = try!(Ref::hash_path(&can) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reference.rs:179:31 [INFO] [stdout] | [INFO] [stdout] 179 | let fle = try!(store [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reference.rs:380:28 [INFO] [stdout] | [INFO] [stdout] 380 | let stored_hash = try!(self.get_stored_hash()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reference.rs:381:28 [INFO] [stdout] | [INFO] [stdout] 381 | let current_hash = try!(self.get_current_hash()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reference.rs:394:28 [INFO] [stdout] | [INFO] [stdout] 394 | let current_hash = try!(self.get_current_hash()); // uses the default hasher [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reference.rs:395:28 [INFO] [stdout] | [INFO] [stdout] 395 | let current_perm = try!(self.get_current_permissions()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reference.rs:397:9 [INFO] [stdout] | [INFO] [stdout] 397 | try!(self.0 [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reference.rs:404:9 [INFO] [stdout] | [INFO] [stdout] 404 | try!(self.0 [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reference.rs:445:41 [INFO] [stdout] | [INFO] [stdout] 445 | let contains_hash = try!(r.to_str() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/reference.rs:531:22 [INFO] [stdout] | [INFO] [stdout] 531 | .flatten() [INFO] [stdout] | ^^^^^^^ multiple `flatten` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `Iterator` for the type `Map` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `Itertools` for the type `T` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 498 | Iterator::flatten(search_roots [INFO] [stdout] 499 | .unwrap_or(vec![PathBuf::from("/")]) [INFO] [stdout] 500 | .into_iter() [INFO] [stdout] 501 | .map(|root| { [INFO] [stdout] 502 | WalkDir::new(root) [INFO] [stdout] 503 | .follow_links(false) [INFO] [stdout] ... [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 498 | Itertools::flatten(search_roots [INFO] [stdout] 499 | .unwrap_or(vec![PathBuf::from("/")]) [INFO] [stdout] 500 | .into_iter() [INFO] [stdout] 501 | .map(|root| { [INFO] [stdout] 502 | WalkDir::new(root) [INFO] [stdout] 503 | .follow_links(false) [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/reference.rs:531:22 [INFO] [stdout] | [INFO] [stdout] 531 | .flatten() [INFO] [stdout] | ^^^^^^^ multiple `flatten` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `Iterator` for the type `Map` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `Itertools` for the type `T` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 498 | Iterator::flatten(search_roots [INFO] [stdout] 499 | .unwrap_or(vec![PathBuf::from("/")]) [INFO] [stdout] 500 | .into_iter() [INFO] [stdout] 501 | .map(|root| { [INFO] [stdout] 502 | WalkDir::new(root) [INFO] [stdout] 503 | .follow_links(false) [INFO] [stdout] ... [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 498 | Itertools::flatten(search_roots [INFO] [stdout] 499 | .unwrap_or(vec![PathBuf::from("/")]) [INFO] [stdout] 500 | .into_iter() [INFO] [stdout] 501 | .map(|root| { [INFO] [stdout] 502 | WalkDir::new(root) [INFO] [stdout] 503 | .follow_links(false) [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `itertools::Itertools` [INFO] [stdout] --> src/reference.rs:493:13 [INFO] [stdout] | [INFO] [stdout] 493 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | unused_imports, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stdout] error: unused import: `itertools::Itertools` [INFO] [stdout] --> src/reference.rs:493:13 [INFO] [stdout] | [INFO] [stdout] 493 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | unused_imports, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libimagref` due to 3 previous errors; 18 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors; 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e5b1f1a9684039952ce87c415ce2d2b1c0e25554fbb3803b2a79237fb12653c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5b1f1a9684039952ce87c415ce2d2b1c0e25554fbb3803b2a79237fb12653c5", kill_on_drop: false }` [INFO] [stdout] e5b1f1a9684039952ce87c415ce2d2b1c0e25554fbb3803b2a79237fb12653c5