[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 try#ccf408f4326a858c00dd845a64a86b16f360a801 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-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ctkai01/rust_testing on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "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-tc2/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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1ad114de9ace69dead9e3d67965c0760bb85d01e3bb4530829b797d8f1757eee [INFO] running `Command { std: "docker" "start" "-a" "1ad114de9ace69dead9e3d67965c0760bb85d01e3bb4530829b797d8f1757eee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1ad114de9ace69dead9e3d67965c0760bb85d01e3bb4530829b797d8f1757eee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ad114de9ace69dead9e3d67965c0760bb85d01e3bb4530829b797d8f1757eee", kill_on_drop: false }` [INFO] [stdout] 1ad114de9ace69dead9e3d67965c0760bb85d01e3bb4530829b797d8f1757eee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1036c4164b6cd93ab082c914706bd4a455e29100a47221bdbaa2971976b7f968 [INFO] running `Command { std: "docker" "start" "-a" "1036c4164b6cd93ab082c914706bd4a455e29100a47221bdbaa2971976b7f968", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Checking rust_testing v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/main.rs (1 fix) [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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `quadratic_equation` in this scope [INFO] [stdout] --> src/main.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | assert_eq!(quadratic_equation(0,1,2), Result::Value(Value::OneSolution(-2.0))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use crate::math::quadratic_equation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> src/main.rs:18:61 [INFO] [stdout] | [INFO] [stdout] 18 | assert_eq!(quadratic_equation(0,1,2), Result::Value(Value::OneSolution(-2.0))) [INFO] [stdout] | ^^^^^ use of undeclared type `Value` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 15 + use crate::math::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `quadratic_equation` in this scope [INFO] [stdout] --> src/main.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | assert_eq!(quadratic_equation(1,0,-4), Result::Value(Value::TwoSolution((2.0, -2.0)))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use crate::math::quadratic_equation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> src/main.rs:23:62 [INFO] [stdout] | [INFO] [stdout] 23 | assert_eq!(quadratic_equation(1,0,-4), Result::Value(Value::TwoSolution((2.0, -2.0)))) [INFO] [stdout] | ^^^^^ use of undeclared type `Value` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 15 + use crate::math::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `quadratic_equation` in this scope [INFO] [stdout] --> src/main.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | assert_eq!(quadratic_equation(1, -4, 4), Result::Value(Value::OneSolution(2.0))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use crate::math::quadratic_equation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> src/main.rs:28:64 [INFO] [stdout] | [INFO] [stdout] 28 | assert_eq!(quadratic_equation(1, -4, 4), Result::Value(Value::OneSolution(2.0))) [INFO] [stdout] | ^^^^^ use of undeclared type `Value` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 15 + use crate::math::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `quadratic_equation` in this scope [INFO] [stdout] --> src/main.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | assert_eq!(quadratic_equation(0, 0, 2), Result::Notice(Notice::VoNghiem)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use crate::math::quadratic_equation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Notice` [INFO] [stdout] --> src/main.rs:33:64 [INFO] [stdout] | [INFO] [stdout] 33 | assert_eq!(quadratic_equation(0, 0, 2), Result::Notice(Notice::VoNghiem)) [INFO] [stdout] | ^^^^^^ use of undeclared type `Notice` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 15 + use crate::math::Notice; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `quadratic_equation` in this scope [INFO] [stdout] --> src/main.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | assert_eq!(quadratic_equation(4, 1, 1), Result::Notice(Notice::VoNghiem)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use crate::math::quadratic_equation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Notice` [INFO] [stdout] --> src/main.rs:38:64 [INFO] [stdout] | [INFO] [stdout] 38 | assert_eq!(quadratic_equation(4, 1, 1), Result::Notice(Notice::VoNghiem)) [INFO] [stdout] | ^^^^^^ use of undeclared type `Notice` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 15 + use crate::math::Notice; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `quadratic_equation` in this scope [INFO] [stdout] --> src/main.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | assert_eq!(quadratic_equation(0, 0, 0), Result::Notice(Notice::VoSoNghiem)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 15 + use crate::math::quadratic_equation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Notice` [INFO] [stdout] --> src/main.rs:43:64 [INFO] [stdout] | [INFO] [stdout] 43 | assert_eq!(quadratic_equation(0, 0, 0), Result::Notice(Notice::VoSoNghiem)) [INFO] [stdout] | ^^^^^^ use of undeclared type `Notice` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 15 + use crate::math::Notice; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `int_to_roman` in this scope [INFO] [stdout] --> src/main.rs:53:20 [INFO] [stdout] | [INFO] [stdout] 53 | assert_eq!(int_to_roman(0), String::from("")) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 50 + use crate::math::int_to_roman; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `int_to_roman` in this scope [INFO] [stdout] --> src/main.rs:58:20 [INFO] [stdout] | [INFO] [stdout] 58 | assert_eq!(int_to_roman(-1), String::from("")) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 50 + use crate::math::int_to_roman; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `int_to_roman` in this scope [INFO] [stdout] --> src/main.rs:63:20 [INFO] [stdout] | [INFO] [stdout] 63 | assert_eq!(int_to_roman(3), String::from("III")) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 50 + use crate::math::int_to_roman; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `int_to_roman` in this scope [INFO] [stdout] --> src/main.rs:69:20 [INFO] [stdout] | [INFO] [stdout] 69 | assert_eq!(int_to_roman(1994), String::from("MCMXCIV")) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 50 + use crate::math::int_to_roman; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `int_to_roman` in this scope [INFO] [stdout] --> src/main.rs:74:20 [INFO] [stdout] | [INFO] [stdout] 74 | assert_ne!(int_to_roman(1994), String::from("III")) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 50 + use crate::math::int_to_roman; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `maxAreaWater` in this scope [INFO] [stdout] --> src/main.rs:84:20 [INFO] [stdout] | [INFO] [stdout] 84 | assert_eq!(maxAreaWater(vec![1,1]), 1) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 81 + use crate::math::maxAreaWater; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `maxAreaWater` in this scope [INFO] [stdout] --> src/main.rs:89:20 [INFO] [stdout] | [INFO] [stdout] 89 | assert_eq!(maxAreaWater(vec![1,8,6,2,5,4,8,3,7]), 49) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 81 + use crate::math::maxAreaWater; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `maxAreaWater` in this scope [INFO] [stdout] --> src/main.rs:94:20 [INFO] [stdout] | [INFO] [stdout] 94 | assert_ne!(maxAreaWater(vec![1,8,6,2,5,4,8,3,7]), 60) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 81 + use crate::math::maxAreaWater; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/main.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/main.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/main.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Value` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/main.rs:18:55 [INFO] [stdout] | [INFO] [stdout] 18 | assert_eq!(quadratic_equation(0,1,2), Result::Value(Value::OneSolution(-2.0))) [INFO] [stdout] | ^^^^^ variant or associated item not found in `Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Value` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/main.rs:23:56 [INFO] [stdout] | [INFO] [stdout] 23 | assert_eq!(quadratic_equation(1,0,-4), Result::Value(Value::TwoSolution((2.0, -2.0)))) [INFO] [stdout] | ^^^^^ variant or associated item not found in `Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Value` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/main.rs:28:58 [INFO] [stdout] | [INFO] [stdout] 28 | assert_eq!(quadratic_equation(1, -4, 4), Result::Value(Value::OneSolution(2.0))) [INFO] [stdout] | ^^^^^ variant or associated item not found in `Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Notice` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/main.rs:33:57 [INFO] [stdout] | [INFO] [stdout] 33 | assert_eq!(quadratic_equation(0, 0, 2), Result::Notice(Notice::VoNghiem)) [INFO] [stdout] | ^^^^^^ variant or associated item not found in `Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Notice` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/main.rs:38:57 [INFO] [stdout] | [INFO] [stdout] 38 | assert_eq!(quadratic_equation(4, 1, 1), Result::Notice(Notice::VoNghiem)) [INFO] [stdout] | ^^^^^^ variant or associated item not found in `Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Notice` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/main.rs:43:57 [INFO] [stdout] | [INFO] [stdout] 43 | assert_eq!(quadratic_equation(0, 0, 0), Result::Notice(Notice::VoSoNghiem)) [INFO] [stdout] | ^^^^^^ variant or associated item not found in `Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 26 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_testing` (bin "rust_testing" test) due to 27 previous errors; 3 warnings emitted [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "1036c4164b6cd93ab082c914706bd4a455e29100a47221bdbaa2971976b7f968", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1036c4164b6cd93ab082c914706bd4a455e29100a47221bdbaa2971976b7f968", kill_on_drop: false }` [INFO] [stdout] 1036c4164b6cd93ab082c914706bd4a455e29100a47221bdbaa2971976b7f968