[INFO] fetching crate more-fs 0.2.3... [INFO] checking more-fs-0.2.3 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate more-fs 0.2.3 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate more-fs 0.2.3 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 more-fs 0.2.3 [INFO] finished tweaking crates.io crate more-fs 0.2.3 [INFO] tweaked toml for crates.io crate more-fs 0.2.3 written to /workspace/builds/worker-13/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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7d34c8890fc8c42f0c2f4a3a5b3eef8de6a26635bbe0ab895f7b101f16abc066 [INFO] running `Command { std: "docker" "start" "-a" "7d34c8890fc8c42f0c2f4a3a5b3eef8de6a26635bbe0ab895f7b101f16abc066", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d34c8890fc8c42f0c2f4a3a5b3eef8de6a26635bbe0ab895f7b101f16abc066", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d34c8890fc8c42f0c2f4a3a5b3eef8de6a26635bbe0ab895f7b101f16abc066", kill_on_drop: false }` [INFO] [stdout] 7d34c8890fc8c42f0c2f4a3a5b3eef8de6a26635bbe0ab895f7b101f16abc066 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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] 53c121b123a3b2aa93b02ea7ee93f0ca9bea68e7970359cd7fb2bc03963d5353 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "53c121b123a3b2aa93b02ea7ee93f0ca9bea68e7970359cd7fb2bc03963d5353", kill_on_drop: false }` [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Checking crossbeam-utils v0.8.5 [INFO] [stderr] Checking bstr v0.2.16 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking crossbeam-epoch v0.9.5 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking rayon-core v1.9.1 [INFO] [stderr] Checking rayon v1.5.1 [INFO] [stderr] Checking more-fs v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `path::PathBuf`, `result` [INFO] [stdout] --> src/lib.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{fs, path::PathBuf, result}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `io_error` [INFO] [stdout] --> src/error.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | let io_error = self.io_error(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_io_error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `recover` [INFO] [stdout] --> src/error.rs:164:8 [INFO] [stdout] | [INFO] [stdout] 164 | fn recover(self, recover_fn: impl Fn() -> Result<()>) -> Error { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `try_in_same_dir` [INFO] [stdout] --> src/utils.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn try_in_same_dir(path1: impl AsRef, path2: impl AsRef) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `in_same_dir` [INFO] [stdout] --> src/utils.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn in_same_dir(path1: impl AsRef, path2: impl AsRef) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Checking criterion v0.3.4 [INFO] [stdout] error[E0432]: unresolved import `test_dir` [INFO] [stdout] --> src/tests/general.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use test_dir::{assert_file_contents_eq, assert_paths_exists, fs_fn, join_all}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `test_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `fs_fn` [INFO] [stdout] --> src/tests/general.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | fs_fn! { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `fs_fn` [INFO] [stdout] --> src/tests/general.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | fs_fn! { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `fs_fn` [INFO] [stdout] --> src/tests/general.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | fs_fn! { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `fs_fn` [INFO] [stdout] --> src/tests/general.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | fs_fn! { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `fs_fn` [INFO] [stdout] --> src/tests/general.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | fs_fn! { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `fs_fn` [INFO] [stdout] --> src/tests/general.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | fs_fn! { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `fs_fn` [INFO] [stdout] --> src/tests/general.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | fs_fn! { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `fs_fn` [INFO] [stdout] --> src/tests/general.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | fs_fn! { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `fs_fn` [INFO] [stdout] --> src/tests/general.rs:109:1 [INFO] [stdout] | [INFO] [stdout] 109 | fs_fn! { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::utils::clone_repo` [INFO] [stdout] --> src/tests/general.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::utils::clone_repo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/tests/utils.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `path::PathBuf`, `result` [INFO] [stdout] --> src/lib.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{fs, path::PathBuf, result}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_dir` [INFO] [stdout] --> benches/recursive.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use test_dir::{fs_fn, join_all, TestDir}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `test_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `join_all` [INFO] [stdout] --> benches/recursive.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | join_all!(dir, from, to); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `fs_fn` [INFO] [stdout] --> benches/recursive.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | fs_fn! { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `more-fs` due to 11 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0425]: cannot find function `copy_benchmark` in this scope [INFO] [stdout] --> benches/recursive.rs:100:15 [INFO] [stdout] | [INFO] [stdout] 100 | targets = copy_benchmark [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `exists` found for reference `&str` in the current scope [INFO] [stdout] --> benches/recursive.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | if to.exists() { [INFO] [stdout] | ^^^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "53c121b123a3b2aa93b02ea7ee93f0ca9bea68e7970359cd7fb2bc03963d5353", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53c121b123a3b2aa93b02ea7ee93f0ca9bea68e7970359cd7fb2bc03963d5353", kill_on_drop: false }` [INFO] [stdout] 53c121b123a3b2aa93b02ea7ee93f0ca9bea68e7970359cd7fb2bc03963d5353