[INFO] cloning repository https://github.com/jlebon/codeswitch [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jlebon/codeswitch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjlebon%2Fcodeswitch", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjlebon%2Fcodeswitch'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4aa2907f733e349753f74df5e9e0c9cd0e25f8ca [INFO] checking jlebon/codeswitch against try#3bb2879ea9e58d65b875f9a98df44f4a43ce2597 for pr-85387 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjlebon%2Fcodeswitch" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jlebon/codeswitch on toolchain 3bb2879ea9e58d65b875f9a98df44f4a43ce2597 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jlebon/codeswitch [INFO] finished tweaking git repo https://github.com/jlebon/codeswitch [INFO] tweaked toml for git repo https://github.com/jlebon/codeswitch written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/jlebon/codeswitch already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded byteorder v1.2.1 [INFO] [stderr] Downloaded clap v2.30.0 [INFO] [stderr] Downloaded openat v0.1.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 902a7afc4477569d2af9e092a387e470bc0ae2ca7bb47fb35787aa871695d562 [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" "902a7afc4477569d2af9e092a387e470bc0ae2ca7bb47fb35787aa871695d562", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "902a7afc4477569d2af9e092a387e470bc0ae2ca7bb47fb35787aa871695d562", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "902a7afc4477569d2af9e092a387e470bc0ae2ca7bb47fb35787aa871695d562", kill_on_drop: false }` [INFO] [stdout] 902a7afc4477569d2af9e092a387e470bc0ae2ca7bb47fb35787aa871695d562 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "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] 5d1f19fc2afeb8055c472d98ca137febffd98e11c52b099df9648e06dcc15341 [INFO] running `Command { std: "docker" "start" "-a" "5d1f19fc2afeb8055c472d98ca137febffd98e11c52b099df9648e06dcc15341", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.36 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking byteorder v1.2.1 [INFO] [stderr] Checking textwrap v0.9.0 [INFO] [stderr] Checking atty v0.2.6 [INFO] [stderr] Checking openat v0.1.13 [INFO] [stderr] Checking clap v2.30.0 [INFO] [stderr] Checking codeswitch v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/main.rs:79:33 [INFO] [stdout] | [INFO] [stdout] 79 | let cachefn = cachedir.join((crate_name!())); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/main.rs:79:33 [INFO] [stdout] | [INFO] [stdout] 79 | let cachefn = cachedir.join((crate_name!())); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/main.rs:208:23 [INFO] [stdout] | [INFO] [stdout] 208 | buf.pop();; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/main.rs:208:23 [INFO] [stdout] | [INFO] [stdout] 208 | buf.pop();; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/main.rs:67:26 [INFO] [stdout] | [INFO] [stdout] 67 | let cachedir = match std::env::home_dir() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/main.rs:67:26 [INFO] [stdout] | [INFO] [stdout] 67 | let cachedir = match std::env::home_dir() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.63s [INFO] running `Command { std: "docker" "inspect" "5d1f19fc2afeb8055c472d98ca137febffd98e11c52b099df9648e06dcc15341", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d1f19fc2afeb8055c472d98ca137febffd98e11c52b099df9648e06dcc15341", kill_on_drop: false }` [INFO] [stdout] 5d1f19fc2afeb8055c472d98ca137febffd98e11c52b099df9648e06dcc15341