[INFO] fetching crate second_law 0.3.1... [INFO] testing second_law-0.3.1 against beta-2022-02-22 for beta-1.60-1 [INFO] extracting crate second_law 0.3.1 into /workspace/builds/worker-15/source [INFO] validating manifest of crates.io crate second_law 0.3.1 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate second_law 0.3.1 [INFO] finished tweaking crates.io crate second_law 0.3.1 [INFO] tweaked toml for crates.io crate second_law 0.3.1 written to /workspace/builds/worker-15/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 846ea2b21858736d91fe8b7c4040e589a187764b11ae58cc4ad87dc8952f96e0 [INFO] running `Command { std: "docker" "start" "-a" "846ea2b21858736d91fe8b7c4040e589a187764b11ae58cc4ad87dc8952f96e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "846ea2b21858736d91fe8b7c4040e589a187764b11ae58cc4ad87dc8952f96e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "846ea2b21858736d91fe8b7c4040e589a187764b11ae58cc4ad87dc8952f96e0", kill_on_drop: false }` [INFO] [stdout] 846ea2b21858736d91fe8b7c4040e589a187764b11ae58cc4ad87dc8952f96e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 32329f330f0ec0b72ab27c9fac6d7c8f14da90645e3b984d582949f53d4b0249 [INFO] running `Command { std: "docker" "start" "-a" "32329f330f0ec0b72ab27c9fac6d7c8f14da90645e3b984d582949f53d4b0249", kill_on_drop: false }` [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling second_law v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `path_concat` [INFO] [stdout] --> src/scene.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | macro_rules! path_concat { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | if try!(fs::metadata(src)).is_dir() { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 24 | for entry in try!(fs::read_dir(src)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | let entry = try!(entry); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | try!(fs::create_dir(&new_dest)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | try!(recursive_copy(&entry.path(), &new_dest)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | if try!(fs::metadata(entry.path())).is_dir() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | try!(fs::copy(&entry.path(), new_dest)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/atpath.rs:66:43 [INFO] [stdout] | [INFO] [stdout] 66 | unprefixed.push(component.as_ref().to_str().unwrap()); [INFO] [stdout] | ----------^^^^^^-- [INFO] [stdout] | | | [INFO] [stdout] | | cannot infer type for type parameter `T` declared on the trait `AsRef` [INFO] [stdout] | this method call resolves to `&T` [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/cmdresult.rs:57:47 [INFO] [stdout] | [INFO] [stdout] 57 | assert_eq!(String::from(msg.as_ref()).trim_right(), self.stdout.trim_right()); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/cmdresult.rs:57:73 [INFO] [stdout] | [INFO] [stdout] 57 | assert_eq!(String::from(msg.as_ref()).trim_right(), self.stdout.trim_right()); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/cmdresult.rs:71:47 [INFO] [stdout] | [INFO] [stdout] 71 | assert_eq!(String::from(msg.as_ref()).trim_right(), self.stderr.trim_right()); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/cmdresult.rs:71:73 [INFO] [stdout] | [INFO] [stdout] 71 | assert_eq!(String::from(msg.as_ref()).trim_right(), self.stderr.trim_right()); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `second_law` due to 2 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "32329f330f0ec0b72ab27c9fac6d7c8f14da90645e3b984d582949f53d4b0249", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32329f330f0ec0b72ab27c9fac6d7c8f14da90645e3b984d582949f53d4b0249", kill_on_drop: false }` [INFO] [stdout] 32329f330f0ec0b72ab27c9fac6d7c8f14da90645e3b984d582949f53d4b0249