[INFO] fetching crate second_law 0.3.1... [INFO] checking second_law-0.3.1 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate second_law 0.3.1 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate second_law 0.3.1 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 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-10/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-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fadd75a29dc2b10324fbbf07a21ede8fbca85f8a196146b682dfd391523bbd12 [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" "fadd75a29dc2b10324fbbf07a21ede8fbca85f8a196146b682dfd391523bbd12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fadd75a29dc2b10324fbbf07a21ede8fbca85f8a196146b682dfd391523bbd12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fadd75a29dc2b10324fbbf07a21ede8fbca85f8a196146b682dfd391523bbd12", kill_on_drop: false }` [INFO] [stdout] fadd75a29dc2b10324fbbf07a21ede8fbca85f8a196146b682dfd391523bbd12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9717485f607d6c5b7b5dbcc3e3e2d40354a842b2d5fa3a4e9b021f84ef0badd2 [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" "9717485f607d6c5b7b5dbcc3e3e2d40354a842b2d5fa3a4e9b021f84ef0badd2", kill_on_drop: false }` [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: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: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: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: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: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: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: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: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` [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 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" "9717485f607d6c5b7b5dbcc3e3e2d40354a842b2d5fa3a4e9b021f84ef0badd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9717485f607d6c5b7b5dbcc3e3e2d40354a842b2d5fa3a4e9b021f84ef0badd2", kill_on_drop: false }` [INFO] [stdout] 9717485f607d6c5b7b5dbcc3e3e2d40354a842b2d5fa3a4e9b021f84ef0badd2