[INFO] fetching crate more-fs 0.2.3... [INFO] checking more-fs-0.2.3 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] extracting crate more-fs 0.2.3 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate more-fs 0.2.3 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "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-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] afe12c70f8a0f1df44d3a2c5f2d4309dfa75ec4e1cb49d79fc80aaba9c877b1b [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" "afe12c70f8a0f1df44d3a2c5f2d4309dfa75ec4e1cb49d79fc80aaba9c877b1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "afe12c70f8a0f1df44d3a2c5f2d4309dfa75ec4e1cb49d79fc80aaba9c877b1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afe12c70f8a0f1df44d3a2c5f2d4309dfa75ec4e1cb49d79fc80aaba9c877b1b", kill_on_drop: false }` [INFO] [stdout] afe12c70f8a0f1df44d3a2c5f2d4309dfa75ec4e1cb49d79fc80aaba9c877b1b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8cb9facc763e70852e8234e73ed43610931444f98c14e8ddfccba315e60e7069 [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" "8cb9facc763e70852e8234e73ed43610931444f98c14e8ddfccba315e60e7069", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Checking fs_extra v1.2.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking criterion-plot v0.4.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking plotters v0.3.1 [INFO] [stderr] Checking bstr v0.2.16 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking serde_cbor v0.11.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] Checking csv v1.1.6 [INFO] [stderr] Checking tinytemplate v1.2.1 [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] 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] 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: 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` due to 11 previous errors; 3 warnings emitted [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" "8cb9facc763e70852e8234e73ed43610931444f98c14e8ddfccba315e60e7069", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cb9facc763e70852e8234e73ed43610931444f98c14e8ddfccba315e60e7069", kill_on_drop: false }` [INFO] [stdout] 8cb9facc763e70852e8234e73ed43610931444f98c14e8ddfccba315e60e7069