[INFO] cloning repository https://github.com/gero0/match_examples [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gero0/match_examples" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgero0%2Fmatch_examples", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgero0%2Fmatch_examples'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 50b1f2aaea819b0897ff1e8c00ef62b09420b8d4 [INFO] checking gero0/match_examples against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgero0%2Fmatch_examples" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gero0/match_examples on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gero0/match_examples [INFO] finished tweaking git repo https://github.com/gero0/match_examples [INFO] tweaked toml for git repo https://github.com/gero0/match_examples written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/gero0/match_examples already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bdb98a95a0e8d5fd1e47b57a2a399fcfcb22d7cb44ca1ac57680d20b72d32df5 [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" "bdb98a95a0e8d5fd1e47b57a2a399fcfcb22d7cb44ca1ac57680d20b72d32df5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bdb98a95a0e8d5fd1e47b57a2a399fcfcb22d7cb44ca1ac57680d20b72d32df5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdb98a95a0e8d5fd1e47b57a2a399fcfcb22d7cb44ca1ac57680d20b72d32df5", kill_on_drop: false }` [INFO] [stdout] bdb98a95a0e8d5fd1e47b57a2a399fcfcb22d7cb44ca1ac57680d20b72d32df5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d0b45473cd9a05d2dc427924ed0f0f0fb3965aecfefd126b2fb9c41278d9249 [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" "7d0b45473cd9a05d2dc427924ed0f0f0fb3965aecfefd126b2fb9c41278d9249", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Checking match_examples v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating examples/option.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/basics.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/enums.rs from 2018 edition to 2021 [INFO] [stderr] Fixed examples/basics.rs (2 fixes) [INFO] [stdout] warning: function is never used: `drinking` [INFO] [stdout] --> examples/basics.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn drinking(age: u32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `conditions` [INFO] [stdout] --> examples/basics.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn conditions(n: u32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `check_tuple` [INFO] [stdout] --> examples/basics.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn check_tuple(tuple: (u32, u32)) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed examples/enums.rs (1 fix) [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Pixel` [INFO] [stdout] --> examples/enums.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Pixel { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Command` [INFO] [stdout] --> examples/enums.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | enum Command { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `execute` [INFO] [stdout] --> examples/enums.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn execute(_command: Command) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.63s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Checking match_examples v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: function is never used: `drinking` [INFO] [stdout] --> examples/basics.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn drinking(age: u32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `conditions` [INFO] [stdout] --> examples/basics.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn conditions(n: u32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `check_tuple` [INFO] [stdout] --> examples/basics.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn check_tuple(tuple: (u32, u32)) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Pixel` [INFO] [stdout] --> examples/enums.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Pixel { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Command` [INFO] [stdout] --> examples/enums.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | enum Command { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `execute` [INFO] [stdout] --> examples/enums.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn execute(_command: Command) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.84s [INFO] running `Command { std: "docker" "inspect" "7d0b45473cd9a05d2dc427924ed0f0f0fb3965aecfefd126b2fb9c41278d9249", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d0b45473cd9a05d2dc427924ed0f0f0fb3965aecfefd126b2fb9c41278d9249", kill_on_drop: false }` [INFO] [stdout] 7d0b45473cd9a05d2dc427924ed0f0f0fb3965aecfefd126b2fb9c41278d9249