[INFO] cloning repository https://github.com/ZoeFiri/ricer_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ZoeFiri/ricer_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZoeFiri%2Fricer_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZoeFiri%2Fricer_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 398e4ee54332834ea5d9675f12cb2cb4b6d4cbd1 [INFO] checking ZoeFiri/ricer_rust against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZoeFiri%2Fricer_rust" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ZoeFiri/ricer_rust 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/ZoeFiri/ricer_rust [INFO] finished tweaking git repo https://github.com/ZoeFiri/ricer_rust [INFO] tweaked toml for git repo https://github.com/ZoeFiri/ricer_rust written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/ZoeFiri/ricer_rust 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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fs_extra v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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] a7c22b8c90a4bcce1610ec8826d8f162abd1d31fb2aeed61ec887bf84e77ab48 [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" "a7c22b8c90a4bcce1610ec8826d8f162abd1d31fb2aeed61ec887bf84e77ab48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7c22b8c90a4bcce1610ec8826d8f162abd1d31fb2aeed61ec887bf84e77ab48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7c22b8c90a4bcce1610ec8826d8f162abd1d31fb2aeed61ec887bf84e77ab48", kill_on_drop: false }` [INFO] [stdout] a7c22b8c90a4bcce1610ec8826d8f162abd1d31fb2aeed61ec887bf84e77ab48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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] 9549132b6d02d8da18d4e3626568e4fb2923130497af7e1c22d0d37bfeac2f8a [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" "9549132b6d02d8da18d4e3626568e4fb2923130497af7e1c22d0d37bfeac2f8a", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling serde v1.0.112 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Checking adler32 v1.1.0 [INFO] [stderr] Compiling anyhow v1.0.31 [INFO] [stderr] Checking gimli v0.21.0 [INFO] [stderr] Checking object v0.20.0 [INFO] [stderr] Checking dtoa v0.4.5 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking fs_extra v0.1.0 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking yaml-rust v0.4.4 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking addr2line v0.12.2 [INFO] [stderr] Checking backtrace v0.3.49 [INFO] [stderr] Checking serde_yaml v0.8.13 [INFO] [stderr] Checking ricer v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/config.rs (1 fix) [INFO] [stderr] Fixed src/profile.rs (1 fix) [INFO] [stdout] warning: value assigned to `found` is never read [INFO] [stdout] --> src/config.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | found = true; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `profile_exists` [INFO] [stdout] --> src/profile.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn profile_exists(profile_name: &String) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `add_profile` [INFO] [stdout] --> src/profile.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn add_profile(profile_name: &String) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `del_profile` [INFO] [stdout] --> src/profile.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn del_profile(profile_name: &String) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `apply_profile` [INFO] [stdout] --> src/profile.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn apply_profile(profile_name: &String) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `add_conf` [INFO] [stdout] --> src/config.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn add_conf(conf_name: &String, conf_path: &Path, dest: &Path) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `del_conf_global` [INFO] [stdout] --> src/config.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn del_conf_global(conf_name: &String) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `del_conf_profile` [INFO] [stdout] --> src/config.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn del_conf_profile(conf_name: &String, profile_name: &String) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `found` is never read [INFO] [stdout] --> src/config.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | found = true; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `profile_exists` [INFO] [stdout] --> src/profile.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn profile_exists(profile_name: &String) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `add_profile` [INFO] [stdout] --> src/profile.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn add_profile(profile_name: &String) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `del_profile` [INFO] [stdout] --> src/profile.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn del_profile(profile_name: &String) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `apply_profile` [INFO] [stdout] --> src/profile.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn apply_profile(profile_name: &String) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `add_conf` [INFO] [stdout] --> src/config.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn add_conf(conf_name: &String, conf_path: &Path, dest: &Path) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `del_conf_global` [INFO] [stdout] --> src/config.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn del_conf_global(conf_name: &String) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `del_conf_profile` [INFO] [stdout] --> src/config.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn del_conf_profile(conf_name: &String, profile_name: &String) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 19.03s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Checking ricer v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: value assigned to `found` is never read [INFO] [stdout] --> src/config.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | found = true; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `found` is never read [INFO] [stdout] --> src/config.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | found = true; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `profile_exists` [INFO] [stdout] --> src/profile.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn profile_exists(profile_name: &String) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `add_profile` [INFO] [stdout] --> src/profile.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn add_profile(profile_name: &String) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `del_profile` [INFO] [stdout] --> src/profile.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn del_profile(profile_name: &String) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `apply_profile` [INFO] [stdout] --> src/profile.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn apply_profile(profile_name: &String) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `add_conf` [INFO] [stdout] --> src/config.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn add_conf(conf_name: &String, conf_path: &Path, dest: &Path) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `del_conf_global` [INFO] [stdout] --> src/config.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn del_conf_global(conf_name: &String) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `del_conf_profile` [INFO] [stdout] --> src/config.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn del_conf_profile(conf_name: &String, profile_name: &String) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `profile_exists` [INFO] [stdout] --> src/profile.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn profile_exists(profile_name: &String) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `add_profile` [INFO] [stdout] --> src/profile.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn add_profile(profile_name: &String) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `del_profile` [INFO] [stdout] --> src/profile.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn del_profile(profile_name: &String) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `apply_profile` [INFO] [stdout] --> src/profile.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn apply_profile(profile_name: &String) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `add_conf` [INFO] [stdout] --> src/config.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn add_conf(conf_name: &String, conf_path: &Path, dest: &Path) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `del_conf_global` [INFO] [stdout] --> src/config.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn del_conf_global(conf_name: &String) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `del_conf_profile` [INFO] [stdout] --> src/config.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn del_conf_profile(conf_name: &String, profile_name: &String) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.60s [INFO] running `Command { std: "docker" "inspect" "9549132b6d02d8da18d4e3626568e4fb2923130497af7e1c22d0d37bfeac2f8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9549132b6d02d8da18d4e3626568e4fb2923130497af7e1c22d0d37bfeac2f8a", kill_on_drop: false }` [INFO] [stdout] 9549132b6d02d8da18d4e3626568e4fb2923130497af7e1c22d0d37bfeac2f8a