[INFO] fetching crate more-fs 0.2.3... [INFO] checking more-fs-0.2.3 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate more-fs 0.2.3 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate more-fs 0.2.3 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 63e8b096e717ee20263791d3e2af4c3a852bbc4f2641391e723a416a1e6ab60a [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" "63e8b096e717ee20263791d3e2af4c3a852bbc4f2641391e723a416a1e6ab60a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "63e8b096e717ee20263791d3e2af4c3a852bbc4f2641391e723a416a1e6ab60a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63e8b096e717ee20263791d3e2af4c3a852bbc4f2641391e723a416a1e6ab60a", kill_on_drop: false }` [INFO] [stdout] 63e8b096e717ee20263791d3e2af4c3a852bbc4f2641391e723a416a1e6ab60a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c7361a8700dcbebddcd49340be4ca9d48ed5b82917d63c7e4787436f8c5ec7d [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" "0c7361a8700dcbebddcd49340be4ca9d48ed5b82917d63c7e4787436f8c5ec7d", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking plotters-backend v0.3.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Checking half v1.7.1 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking itertools v0.10.0 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking plotters-svg v0.3.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling syn v1.0.63 [INFO] [stderr] Checking regex v1.4.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking criterion-plot v0.4.3 [INFO] [stderr] Checking crossbeam-epoch v0.9.3 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking plotters v0.3.0 [INFO] [stderr] Checking bstr v0.2.15 [INFO] [stderr] Checking serde_cbor v0.11.1 [INFO] [stderr] Checking csv v1.1.6 [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] [stderr] Checking tinytemplate v1.2.1 [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] Checking criterion v0.3.4 [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[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[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[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: could not compile `more-fs` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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: build failed [INFO] running `Command { std: "docker" "inspect" "0c7361a8700dcbebddcd49340be4ca9d48ed5b82917d63c7e4787436f8c5ec7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c7361a8700dcbebddcd49340be4ca9d48ed5b82917d63c7e4787436f8c5ec7d", kill_on_drop: false }` [INFO] [stdout] 0c7361a8700dcbebddcd49340be4ca9d48ed5b82917d63c7e4787436f8c5ec7d