[INFO] crate libimagref 0.3.0 is already in cache [INFO] checking libimagref-0.3.0 against beta-2019-10-27 for pr-65897 [INFO] extracting crate libimagref 0.3.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate libimagref 0.3.0 on toolchain beta-2019-10-27 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-10-27" "read-manifest" "--manifest-path" "Cargo.toml"` [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-7/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-10-27" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-10-27" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2019-10-27" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7c5ed9576dad71d0d0bdc872eaf94d12db22e15b0302f3d6e4fd8a5d5c830c4e [INFO] running `"docker" "start" "-a" "7c5ed9576dad71d0d0bdc872eaf94d12db22e15b0302f3d6e4fd8a5d5c830c4e"` [INFO] [stderr] Checking same-file v0.1.3 [INFO] [stderr] Checking version v2.0.1 [INFO] [stderr] Checking is-match v0.1.0 [INFO] [stderr] Checking itertools v0.5.10 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking libimagerror v0.3.0 [INFO] [stderr] Checking tempfile v2.2.0 [INFO] [stderr] Checking semver-parser v0.6.2 [INFO] [stderr] Checking walkdir v1.0.7 [INFO] [stderr] Checking libimagutil v0.3.0 [INFO] [stderr] Checking semver v0.5.1 [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] [stderr] error[E0034]: multiple applicable items in scope [INFO] [stderr] --> src/reference.rs:531:22 [INFO] [stderr] | [INFO] [stderr] 531 | .flatten() [INFO] [stderr] | ^^^^^^^ multiple `flatten` found [INFO] [stderr] | [INFO] [stderr] = note: candidate #1 is defined in an impl of the trait `std::iter::Iterator` for the type `std::iter::Map<_, _>` [INFO] [stderr] = help: to disambiguate the method call, write `std::iter::Iterator::flatten(search_roots [INFO] [stderr] .unwrap_or(vec![PathBuf::from("/")]) [INFO] [stderr] .into_iter() [INFO] [stderr] .map(|root| { [INFO] [stderr] WalkDir::new(root) [INFO] [stderr] .follow_links(false) [INFO] [stderr] .into_iter() [INFO] [stderr] .map(|entry| { [INFO] [stderr] entry [INFO] [stderr] .map_err(Box::new) [INFO] [stderr] .map_err(|e| REK::IOError.into_error_with_cause(e)) [INFO] [stderr] .and_then(|entry| { [INFO] [stderr] let pb = PathBuf::from(entry.path()); [INFO] [stderr] File::open(entry.path()) [INFO] [stderr] .map_err(Box::new) [INFO] [stderr] .map_err(|e| REK::IOError.into_error_with_cause(e)) [INFO] [stderr] .map(|f| (pb, f)) [INFO] [stderr] }) [INFO] [stderr] .and_then(|(p, mut f)| h.create_hash(&p, &mut f).map(|h| (p, h))) [INFO] [stderr] .map(|(path, hash)| { [INFO] [stderr] if hash == stored_hash { [INFO] [stderr] Some(path) [INFO] [stderr] } else { [INFO] [stderr] None [INFO] [stderr] } [INFO] [stderr] }) [INFO] [stderr] .map_err(Box::new) [INFO] [stderr] .map_err(|e| REK::IOError.into_error_with_cause(e)) [INFO] [stderr] }) [INFO] [stderr] .filter_map(|e| e.ok()) [INFO] [stderr] .filter_map(|e| e) [INFO] [stderr] .next() [INFO] [stderr] }))` instead [INFO] [stderr] = note: candidate #2 is defined in an impl of the trait `itertools::Itertools` for the type `_` [INFO] [stderr] = help: to disambiguate the method call, write `itertools::Itertools::flatten(search_roots [INFO] [stderr] .unwrap_or(vec![PathBuf::from("/")]) [INFO] [stderr] .into_iter() [INFO] [stderr] .map(|root| { [INFO] [stderr] WalkDir::new(root) [INFO] [stderr] .follow_links(false) [INFO] [stderr] .into_iter() [INFO] [stderr] .map(|entry| { [INFO] [stderr] entry [INFO] [stderr] .map_err(Box::new) [INFO] [stderr] .map_err(|e| REK::IOError.into_error_with_cause(e)) [INFO] [stderr] .and_then(|entry| { [INFO] [stderr] let pb = PathBuf::from(entry.path()); [INFO] [stderr] File::open(entry.path()) [INFO] [stderr] .map_err(Box::new) [INFO] [stderr] .map_err(|e| REK::IOError.into_error_with_cause(e)) [INFO] [stderr] .map(|f| (pb, f)) [INFO] [stderr] }) [INFO] [stderr] .and_then(|(p, mut f)| h.create_hash(&p, &mut f).map(|h| (p, h))) [INFO] [stderr] .map(|(path, hash)| { [INFO] [stderr] if hash == stored_hash { [INFO] [stderr] Some(path) [INFO] [stderr] } else { [INFO] [stderr] None [INFO] [stderr] } [INFO] [stderr] }) [INFO] [stderr] .map_err(Box::new) [INFO] [stderr] .map_err(|e| REK::IOError.into_error_with_cause(e)) [INFO] [stderr] }) [INFO] [stderr] .filter_map(|e| e.ok()) [INFO] [stderr] .filter_map(|e| e) [INFO] [stderr] .next() [INFO] [stderr] }))` instead [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0034`. [INFO] [stderr] error[E0034]: multiple applicable items in scope [INFO] [stderr] --> src/reference.rs:531:22 [INFO] [stderr] | [INFO] [stderr] 531 | .flatten() [INFO] [stderr] | ^^^^^^^ multiple `flatten` found [INFO] [stderr] | [INFO] [stderr] = note: candidate #1 is defined in an impl of the trait `std::iter::Iterator` for the type `std::iter::Map<_, _>` [INFO] [stderr] = help: to disambiguate the method call, write `std::iter::Iterator::flatten(search_roots [INFO] [stderr] .unwrap_or(vec![PathBuf::from("/")]) [INFO] [stderr] .into_iter() [INFO] [stderr] .map(|root| { [INFO] [stderr] WalkDir::new(root) [INFO] [stderr] .follow_links(false) [INFO] [stderr] .into_iter() [INFO] [stderr] .map(|entry| { [INFO] [stderr] entry [INFO] [stderr] .map_err(Box::new) [INFO] [stderr] .map_err(|e| REK::IOError.into_error_with_cause(e)) [INFO] [stderr] .and_then(|entry| { [INFO] [stderr] let pb = PathBuf::from(entry.path()); [INFO] [stderr] File::open(entry.path()) [INFO] [stderr] .map_err(Box::new) [INFO] [stderr] .map_err(|e| REK::IOError.into_error_with_cause(e)) [INFO] [stderr] .map(|f| (pb, f)) [INFO] [stderr] }) [INFO] [stderr] .and_then(|(p, mut f)| h.create_hash(&p, &mut f).map(|h| (p, h))) [INFO] [stderr] .map(|(path, hash)| { [INFO] [stderr] if hash == stored_hash { [INFO] [stderr] Some(path) [INFO] [stderr] } else { [INFO] [stderr] None [INFO] [stderr] } [INFO] [stderr] }) [INFO] [stderr] .map_err(Box::new) [INFO] [stderr] .map_err(|e| REK::IOError.into_error_with_cause(e)) [INFO] [stderr] }) [INFO] [stderr] .filter_map(|e| e.ok()) [INFO] [stderr] .filter_map(|e| e) [INFO] [stderr] .next() [INFO] [stderr] }))` instead [INFO] [stderr] = note: candidate #2 is defined in an impl of the trait `itertools::Itertools` for the type `_` [INFO] [stderr] = help: to disambiguate the method call, write `itertools::Itertools::flatten(search_roots [INFO] [stderr] .unwrap_or(vec![PathBuf::from("/")]) [INFO] [stderr] .into_iter() [INFO] [stderr] .map(|root| { [INFO] [stderr] WalkDir::new(root) [INFO] [stderr] .follow_links(false) [INFO] [stderr] .into_iter() [INFO] [stderr] .map(|entry| { [INFO] [stderr] entry [INFO] [stderr] .map_err(Box::new) [INFO] [stderr] .map_err(|e| REK::IOError.into_error_with_cause(e)) [INFO] [stderr] .and_then(|entry| { [INFO] [stderr] let pb = PathBuf::from(entry.path()); [INFO] [stderr] File::open(entry.path()) [INFO] [stderr] .map_err(Box::new) [INFO] [stderr] .map_err(|e| REK::IOError.into_error_with_cause(e)) [INFO] [stderr] .map(|f| (pb, f)) [INFO] [stderr] }) [INFO] [stderr] .and_then(|(p, mut f)| h.create_hash(&p, &mut f).map(|h| (p, h))) [INFO] [stderr] .map(|(path, hash)| { [INFO] [stderr] if hash == stored_hash { [INFO] [stderr] Some(path) [INFO] [stderr] } else { [INFO] [stderr] None [INFO] [stderr] } [INFO] [stderr] }) [INFO] [stderr] .map_err(Box::new) [INFO] [stderr] .map_err(|e| REK::IOError.into_error_with_cause(e)) [INFO] [stderr] }) [INFO] [stderr] .filter_map(|e| e.ok()) [INFO] [stderr] .filter_map(|e| e) [INFO] [stderr] .next() [INFO] [stderr] }))` instead [INFO] [stderr] [INFO] [stderr] error: could not compile `libimagref`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0034`. [INFO] [stderr] error: could not compile `libimagref`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "7c5ed9576dad71d0d0bdc872eaf94d12db22e15b0302f3d6e4fd8a5d5c830c4e"` [INFO] running `"docker" "rm" "-f" "7c5ed9576dad71d0d0bdc872eaf94d12db22e15b0302f3d6e4fd8a5d5c830c4e"` [INFO] [stdout] 7c5ed9576dad71d0d0bdc872eaf94d12db22e15b0302f3d6e4fd8a5d5c830c4e