[INFO] fetching crate second_law 0.3.1... [INFO] checking second_law-0.3.1 against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] extracting crate second_law 0.3.1 into /workspace/builds/worker-17/source [INFO] validating manifest of crates.io crate second_law 0.3.1 on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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-17/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 349c3a5cfb258a4b79b0d4382d544b7d06f3b393fe7f2f43006282ddd399a477 [INFO] running `Command { std: "docker" "start" "-a" "349c3a5cfb258a4b79b0d4382d544b7d06f3b393fe7f2f43006282ddd399a477", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "349c3a5cfb258a4b79b0d4382d544b7d06f3b393fe7f2f43006282ddd399a477", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "349c3a5cfb258a4b79b0d4382d544b7d06f3b393fe7f2f43006282ddd399a477", kill_on_drop: false }` [INFO] [stdout] 349c3a5cfb258a4b79b0d4382d544b7d06f3b393fe7f2f43006282ddd399a477 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 81d01cf5310787c40405f9b5cc1e4a503553aea0e7dca18cbdbd95cf9f0b6b8a [INFO] running `Command { std: "docker" "start" "-a" "81d01cf5310787c40405f9b5cc1e4a503553aea0e7dca18cbdbd95cf9f0b6b8a", kill_on_drop: false }` [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking second_law v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/scene.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / macro_rules! path_concat { [INFO] [stdout] 17 | | ($e:expr, ..$n:expr) => {{ [INFO] [stdout] 18 | | use std::path::PathBuf; [INFO] [stdout] 19 | | let n = $n; [INFO] [stdout] ... | [INFO] [stdout] 33 | | }}; [INFO] [stdout] 34 | | } [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] warning: unused macro definition [INFO] [stdout] --> src/scene.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / macro_rules! path_concat { [INFO] [stdout] 17 | | ($e:expr, ..$n:expr) => {{ [INFO] [stdout] 18 | | use std::path::PathBuf; [INFO] [stdout] 19 | | let n = $n; [INFO] [stdout] ... | [INFO] [stdout] 33 | | }}; [INFO] [stdout] 34 | | } [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] 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: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] 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] [stderr] error: could not compile `second_law` due to 2 previous errors; 12 warnings emitted [INFO] [stdout] error: aborting due to previous error; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [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: build failed [INFO] running `Command { std: "docker" "inspect" "81d01cf5310787c40405f9b5cc1e4a503553aea0e7dca18cbdbd95cf9f0b6b8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81d01cf5310787c40405f9b5cc1e4a503553aea0e7dca18cbdbd95cf9f0b6b8a", kill_on_drop: false }` [INFO] [stdout] 81d01cf5310787c40405f9b5cc1e4a503553aea0e7dca18cbdbd95cf9f0b6b8a