[INFO] cloning repository https://github.com/Datoclement/rust_postfix [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Datoclement/rust_postfix" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDatoclement%2Frust_postfix", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDatoclement%2Frust_postfix'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 75cf491113acdbd235e26fbb13802ea7a261292a [INFO] checking Datoclement/rust_postfix against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDatoclement%2Frust_postfix" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Datoclement/rust_postfix on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Datoclement/rust_postfix [INFO] finished tweaking git repo https://github.com/Datoclement/rust_postfix [INFO] tweaked toml for git repo https://github.com/Datoclement/rust_postfix written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Datoclement/rust_postfix 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded random-string v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 39b88a5d3f03d67f9e6b04fd0fa03574f537fb26010513995ce433410203bfd8 [INFO] running `Command { std: "docker" "start" "-a" "39b88a5d3f03d67f9e6b04fd0fa03574f537fb26010513995ce433410203bfd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "39b88a5d3f03d67f9e6b04fd0fa03574f537fb26010513995ce433410203bfd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39b88a5d3f03d67f9e6b04fd0fa03574f537fb26010513995ce433410203bfd8", kill_on_drop: false }` [INFO] [stdout] 39b88a5d3f03d67f9e6b04fd0fa03574f537fb26010513995ce433410203bfd8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d29fa031d9a67b97f650c35c256a410c1c96893ddaa02dc10eb98722892cd40 [INFO] running `Command { std: "docker" "start" "-a" "1d29fa031d9a67b97f650c35c256a410c1c96893ddaa02dc10eb98722892cd40", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Checking smawk v0.3.1 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Checking smallvec v0.4.5 [INFO] [stderr] Checking strum v0.24.0 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Checking textwrap v0.13.4 [INFO] [stderr] Checking random-string v1.0.0 [INFO] [stderr] Checking ferris-says v0.2.1 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Compiling strum_macros v0.24.0 [INFO] [stderr] Checking hello-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::errors::PostfixError` [INFO] [stdout] --> src/postfix/tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::errors::PostfixError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `paste` [INFO] [stdout] --> src/postfix/tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use paste; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::programs::compile_and_run` [INFO] [stdout] --> src/postfix/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::programs::compile_and_run; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `test_case` [INFO] [stdout] --> src/postfix/tests.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | macro_rules! test_case { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.56s [INFO] running `Command { std: "docker" "inspect" "1d29fa031d9a67b97f650c35c256a410c1c96893ddaa02dc10eb98722892cd40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d29fa031d9a67b97f650c35c256a410c1c96893ddaa02dc10eb98722892cd40", kill_on_drop: false }` [INFO] [stdout] 1d29fa031d9a67b97f650c35c256a410c1c96893ddaa02dc10eb98722892cd40 [INFO] checking Datoclement/rust_postfix against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDatoclement%2Frust_postfix" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Datoclement/rust_postfix on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Datoclement/rust_postfix [INFO] finished tweaking git repo https://github.com/Datoclement/rust_postfix [INFO] tweaked toml for git repo https://github.com/Datoclement/rust_postfix written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Datoclement/rust_postfix 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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f962ffb72abedcb704a45b51877206ebd9826bfc7d3b2aea6cb735be1e4a3f66 [INFO] running `Command { std: "docker" "start" "-a" "f962ffb72abedcb704a45b51877206ebd9826bfc7d3b2aea6cb735be1e4a3f66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f962ffb72abedcb704a45b51877206ebd9826bfc7d3b2aea6cb735be1e4a3f66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f962ffb72abedcb704a45b51877206ebd9826bfc7d3b2aea6cb735be1e4a3f66", kill_on_drop: false }` [INFO] [stdout] f962ffb72abedcb704a45b51877206ebd9826bfc7d3b2aea6cb735be1e4a3f66 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e08abc14b1798a869d0a140862e2cc7869fe82c4b04617db68dfbc7d60d280c8 [INFO] running `Command { std: "docker" "start" "-a" "e08abc14b1798a869d0a140862e2cc7869fe82c4b04617db68dfbc7d60d280c8", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Checking smawk v0.3.1 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking smallvec v0.4.5 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Checking strum v0.24.0 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Checking textwrap v0.13.4 [INFO] [stderr] Checking random-string v1.0.0 [INFO] [stderr] Checking ferris-says v0.2.1 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Compiling strum_macros v0.24.0 [INFO] [stderr] Checking hello-rust v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/postfix/tests.rs (3 fixes) [INFO] [stdout] warning: unused macro definition: `test_case` [INFO] [stdout] --> src/postfix/tests.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | macro_rules! test_case { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` 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 3.62s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking hello-rust v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: unused macro definition: `test_case` [INFO] [stdout] --> src/postfix/tests.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | macro_rules! test_case { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `super::PostfixError` [INFO] [stdout] --> src/postfix/tests.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | use super::PostfixError::*; [INFO] [stdout] | ^^^^^^^^^^^^ could not find `PostfixError` in `super` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PostfixError` in this scope [INFO] [stdout] --> src/postfix/tests.rs:6:51 [INFO] [stdout] | [INFO] [stdout] 6 | fn [< test_ $name >] () -> Result<(), PostfixError> { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 25 | / test_case! [ [INFO] [stdout] 26 | | ( stack_top_at_the_beginning, "(postfix 2)", vec! [3, 4], Ok(3) ), [INFO] [stdout] 27 | | ( swap_arguments, "(postfix 2 swap)", vec! [3, 4], Ok(4) ), [INFO] [stdout] 28 | | ( pop_and_swap_arguments, "(postfix 3 pop swap)", vec! [3, 4, 5], Ok(5) ), [INFO] [stdout] ... | [INFO] [stdout] 64 | | ( absolute_value_pos, "(postfix 1 1 nget 0 lt (0 swap sub) () sel exec)", vec![6], Ok(6) ), [INFO] [stdout] 65 | | ]; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_case` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 16 + use crate::postfix::errors::PostfixError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `compile_and_run` in this scope [INFO] [stdout] --> src/postfix/tests.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(compile_and_run($code, &$arguments), $expected); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 25 | / test_case! [ [INFO] [stdout] 26 | | ( stack_top_at_the_beginning, "(postfix 2)", vec! [3, 4], Ok(3) ), [INFO] [stdout] 27 | | ( swap_arguments, "(postfix 2 swap)", vec! [3, 4], Ok(4) ), [INFO] [stdout] 28 | | ( pop_and_swap_arguments, "(postfix 3 pop swap)", vec! [3, 4, 5], Ok(5) ), [INFO] [stdout] ... | [INFO] [stdout] 64 | | ( absolute_value_pos, "(postfix 1 1 nget 0 lt (0 swap sub) () sel exec)", vec![6], Ok(6) ), [INFO] [stdout] 65 | | ]; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_case` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this function through its public re-export [INFO] [stdout] | [INFO] [stdout] 16 + use crate::compile_and_run; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WrongNumberOfArguments` in this scope [INFO] [stdout] --> src/postfix/tests.rs:29:66 [INFO] [stdout] | [INFO] [stdout] 29 | ( not_enough_arguments, "(postfix 2 swap)", vec![3], Err(WrongNumberOfArguments{ expected: 2, actual: vec![3] })), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 16 + use crate::postfix::errors::PostfixError::WrongNumberOfArguments; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WrongNumberOfArguments` in this scope [INFO] [stdout] --> src/postfix/tests.rs:30:66 [INFO] [stdout] | [INFO] [stdout] 30 | ( too_many_arguments, "(postfix 1 pop)", vec![4, 5], Err(WrongNumberOfArguments{ expected: 1, actual: vec![4, 5] })), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 16 + use crate::postfix::errors::PostfixError::WrongNumberOfArguments; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WrongNumberOfFunctionArguments` in this scope [INFO] [stdout] --> src/postfix/tests.rs:41:89 [INFO] [stdout] | [INFO] [stdout] 41 | ..., "(postfix 1 4 mul add)", vec![3], Err(WrongNumberOfFunctionArguments { function: ARITHMETIC(ADD), expected_number_of_arguments: 2}) ), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 16 + use crate::postfix::errors::PostfixError::WrongNumberOfFunctionArguments; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DivideByZero` in this scope [INFO] [stdout] --> src/postfix/tests.rs:42:68 [INFO] [stdout] | [INFO] [stdout] 42 | ( divide_by_zero, "(postfix 2 4 sub div)", vec![4, 5], Err(DivideByZero) ), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 16 + use crate::postfix::errors::PostfixError::DivideByZero; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `IndexOutOfRangeByNGETFunction` in this scope [INFO] [stdout] --> src/postfix/tests.rs:45:71 [INFO] [stdout] | [INFO] [stdout] 45 | ( nget_index_too_large, "(postfix 2 3 nget)", vec![4, 5], Err(IndexOutOfRangeByNGETFunction { index: 3, min: 1, max: 2 }) ), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 16 + use crate::postfix::errors::PostfixError::IndexOutOfRangeByNGETFunction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `IndexOutOfRangeByNGETFunction` in this scope [INFO] [stdout] --> src/postfix/tests.rs:46:71 [INFO] [stdout] | [INFO] [stdout] 46 | ( nget_index_too_small, "(postfix 2 0 nget)", vec![4, 5], Err(IndexOutOfRangeByNGETFunction { index: 0, min: 1, max: 2 }) ), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 16 + use crate::postfix::errors::PostfixError::IndexOutOfRangeByNGETFunction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `InvalidValueByNGETFunction` in this scope [INFO] [stdout] --> src/postfix/tests.rs:47:75 [INFO] [stdout] | [INFO] [stdout] 47 | ... ( invalid_nget_result, "(postfix 1 (2 mul) 1 nget)", vec![3], Err(InvalidValueByNGETFunction { command: EXECUTE(vec![INTEGER(2), SP... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 16 + use crate::postfix::errors::PostfixError::InvalidValueByNGETFunction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `NonNumeralFinalState` in this scope [INFO] [stdout] --> src/postfix/tests.rs:52:75 [INFO] [stdout] | [INFO] [stdout] 52 | ... ( non_integer_final_stack_top, "(postfix 0 (2 mul))", vec![], Err(NonNumeralFinalState { command: EXECUTE(vec![INTEGER(2), SPECIAL(... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 16 + use crate::postfix::errors::PostfixError::NonNumeralFinalState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WrongTypeOfFunctionArguments` in this scope [INFO] [stdout] --> src/postfix/tests.rs:53:91 [INFO] [stdout] | [INFO] [stdout] 53 | ... "(postfix 0 3 (2 mul) gt)", vec![], Err(WrongTypeOfFunctionArguments { function: ARITHMETIC(GT)}) ), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 16 + use crate::postfix::errors::PostfixError::WrongTypeOfFunctionArguments; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WrongTypeOfFunctionArguments` in this scope [INFO] [stdout] --> src/postfix/tests.rs:54:79 [INFO] [stdout] | [INFO] [stdout] 54 | ( wrong_type_of_arguments_for_exec, "(postfix 0 3 exec)", vec![], Err(WrongTypeOfFunctionArguments {function: EXEC}) ), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 16 + use crate::postfix::errors::PostfixError::WrongTypeOfFunctionArguments; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WrongTypeOfFunctionArguments` in this scope [INFO] [stdout] --> src/postfix/tests.rs:60:87 [INFO] [stdout] | [INFO] [stdout] 60 | ( wrong_type_of_arguments_for_sel, "(postfix 0 (2 mul) 3 4 sel)", vec![], Err(WrongTypeOfFunctionArguments {function: SEL}) ), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 16 + use crate::postfix::errors::PostfixError::WrongTypeOfFunctionArguments; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/postfix/tests.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hello-rust` (bin "hello-rust" test) due to 15 previous errors; 1 warning emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "e08abc14b1798a869d0a140862e2cc7869fe82c4b04617db68dfbc7d60d280c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e08abc14b1798a869d0a140862e2cc7869fe82c4b04617db68dfbc7d60d280c8", kill_on_drop: false }` [INFO] [stdout] e08abc14b1798a869d0a140862e2cc7869fe82c4b04617db68dfbc7d60d280c8