[INFO] fetching crate second_law 0.3.1... [INFO] testing second_law-0.3.1 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate second_law 0.3.1 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate second_law 0.3.1 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", 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] 9f645a569156748157073efed3251e459d259cffd1aa2764f4bb0fe295c8dc6b [INFO] running `Command { std: "docker" "start" "-a" "9f645a569156748157073efed3251e459d259cffd1aa2764f4bb0fe295c8dc6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f645a569156748157073efed3251e459d259cffd1aa2764f4bb0fe295c8dc6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f645a569156748157073efed3251e459d259cffd1aa2764f4bb0fe295c8dc6b", kill_on_drop: false }` [INFO] [stdout] 9f645a569156748157073efed3251e459d259cffd1aa2764f4bb0fe295c8dc6b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--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] 35c2623f5b32681d42d3cca8ba458b32c5e43be8283aebce2e8e7149b9e575b9 [INFO] running `Command { std: "docker" "start" "-a" "35c2623f5b32681d42d3cca8ba458b32c5e43be8283aebce2e8e7149b9e575b9", kill_on_drop: false }` [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" "35c2623f5b32681d42d3cca8ba458b32c5e43be8283aebce2e8e7149b9e575b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35c2623f5b32681d42d3cca8ba458b32c5e43be8283aebce2e8e7149b9e575b9", kill_on_drop: false }` [INFO] [stdout] 35c2623f5b32681d42d3cca8ba458b32c5e43be8283aebce2e8e7149b9e575b9