[INFO] fetching crate more-fs 0.2.3... [INFO] checking more-fs-0.2.3 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate more-fs 0.2.3 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate more-fs 0.2.3 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", 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-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6fbe6312522d89806f1f1e1dd0716cddd054abb96bc75627eb5280b892bf26ae [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" "6fbe6312522d89806f1f1e1dd0716cddd054abb96bc75627eb5280b892bf26ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6fbe6312522d89806f1f1e1dd0716cddd054abb96bc75627eb5280b892bf26ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fbe6312522d89806f1f1e1dd0716cddd054abb96bc75627eb5280b892bf26ae", kill_on_drop: false }` [INFO] [stdout] 6fbe6312522d89806f1f1e1dd0716cddd054abb96bc75627eb5280b892bf26ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f0618896d7dad4708e984bcd87c3dcd0d32d730ec402b828de9396ca4e0a6463 [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" "f0618896d7dad4708e984bcd87c3dcd0d32d730ec402b828de9396ca4e0a6463", 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 libc v0.2.81 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking half v1.6.0 [INFO] [stderr] Checking fs_extra v1.2.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling syn v1.0.56 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking criterion-plot v0.4.3 [INFO] [stderr] Checking plotters v0.2.15 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking rayon-core v1.9.0 [INFO] [stderr] Checking bstr v0.2.14 [INFO] [stderr] Checking serde_cbor v0.11.1 [INFO] [stderr] Checking csv v1.1.5 [INFO] [stderr] Checking tinytemplate v1.1.0 [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] Checking criterion v0.3.3 [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[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: 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` [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[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" "f0618896d7dad4708e984bcd87c3dcd0d32d730ec402b828de9396ca4e0a6463", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0618896d7dad4708e984bcd87c3dcd0d32d730ec402b828de9396ca4e0a6463", kill_on_drop: false }` [INFO] [stdout] f0618896d7dad4708e984bcd87c3dcd0d32d730ec402b828de9396ca4e0a6463