[INFO] cloning repository https://github.com/ctkai01/rust_testing [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ctkai01/rust_testing" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fctkai01%2Frust_testing", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fctkai01%2Frust_testing'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 38e611b0a0598a7c7ef8a131f30861cbaee8ea2f [INFO] checking ctkai01/rust_testing/38e611b0a0598a7c7ef8a131f30861cbaee8ea2f against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fctkai01%2Frust_testing" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ctkai01/rust_testing on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ctkai01/rust_testing [INFO] finished tweaking git repo https://github.com/ctkai01/rust_testing [INFO] tweaked toml for git repo https://github.com/ctkai01/rust_testing written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ctkai01/rust_testing already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 507d0b48899d04c81009dd6cf5adf19422fdadae90d13c0545c735d08cf4653a [INFO] running `Command { std: "docker" "start" "-a" "507d0b48899d04c81009dd6cf5adf19422fdadae90d13c0545c735d08cf4653a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "507d0b48899d04c81009dd6cf5adf19422fdadae90d13c0545c735d08cf4653a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "507d0b48899d04c81009dd6cf5adf19422fdadae90d13c0545c735d08cf4653a", kill_on_drop: false }` [INFO] [stdout] 507d0b48899d04c81009dd6cf5adf19422fdadae90d13c0545c735d08cf4653a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "RUSTDOCFLAGS=--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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f26a500c60623524414eb0eef89c61a378cc88c20ba730edee2882f7a802d4c5 [INFO] running `Command { std: "docker" "start" "-a" "f26a500c60623524414eb0eef89c61a378cc88c20ba730edee2882f7a802d4c5", kill_on_drop: false }` [INFO] [stderr] Checking rust_testing v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `math::*` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use math::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `VoSoNghiem` and `VoNghiem` are never constructed [INFO] [stdout] --> src/math.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Notice { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 4 | VoSoNghiem, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 5 | VoNghiem [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Notice` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `OneSolution` and `TwoSolution` are never constructed [INFO] [stdout] --> src/math.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Value { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 10 | OneSolution(f32), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 11 | TwoSolution((f32, f32)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Value` and `Notice` are never constructed [INFO] [stdout] --> src/math.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum Result { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 16 | Value(Value), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | Notice(Notice) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Result` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `quadratic_equation` is never used [INFO] [stdout] --> src/math.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn quadratic_equation(a: i32, b: i32, c: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `int_to_roman` is never used [INFO] [stdout] --> src/math.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn int_to_roman(num: i16) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `maxAreaWater` is never used [INFO] [stdout] --> src/math.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn maxAreaWater(height: Vec) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `maxAreaWater` should have a snake case name [INFO] [stdout] --> src/math.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn maxAreaWater(height: Vec) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `max_area_water` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `maxAreaWater` should have a snake case name [INFO] [stdout] --> src/math.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn maxAreaWater(height: Vec) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `max_area_water` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] running `Command { std: "docker" "inspect" "f26a500c60623524414eb0eef89c61a378cc88c20ba730edee2882f7a802d4c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f26a500c60623524414eb0eef89c61a378cc88c20ba730edee2882f7a802d4c5", kill_on_drop: false }` [INFO] [stdout] f26a500c60623524414eb0eef89c61a378cc88c20ba730edee2882f7a802d4c5