[INFO] fetching crate second_law 0.3.1... [INFO] checking second_law-0.3.1 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] extracting crate second_law 0.3.1 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate second_law 0.3.1 on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "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-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 59edb3a3aedfd744551f9d4cfa610a01c6a220f1322637789bc8535aed8ed764 [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" "59edb3a3aedfd744551f9d4cfa610a01c6a220f1322637789bc8535aed8ed764", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "59edb3a3aedfd744551f9d4cfa610a01c6a220f1322637789bc8535aed8ed764", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59edb3a3aedfd744551f9d4cfa610a01c6a220f1322637789bc8535aed8ed764", kill_on_drop: false }` [INFO] [stdout] 59edb3a3aedfd744551f9d4cfa610a01c6a220f1322637789bc8535aed8ed764 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 54ce2ca4c1299198dd618f909bde09ad187aeef7ec903ddab7b1733623515e65 [INFO] running `Command { std: "docker" "start" "-a" "54ce2ca4c1299198dd618f909bde09ad187aeef7ec903ddab7b1733623515e65", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking second_law v0.3.1 (/opt/rustwide/workdir) [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] 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 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] 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" "54ce2ca4c1299198dd618f909bde09ad187aeef7ec903ddab7b1733623515e65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54ce2ca4c1299198dd618f909bde09ad187aeef7ec903ddab7b1733623515e65", kill_on_drop: false }` [INFO] [stdout] 54ce2ca4c1299198dd618f909bde09ad187aeef7ec903ddab7b1733623515e65