[INFO] fetching crate ensc-testsuite 0.1.7... [INFO] checking ensc-testsuite-0.1.7 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate ensc-testsuite 0.1.7 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate ensc-testsuite 0.1.7 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 crates.io crate ensc-testsuite 0.1.7 [INFO] finished tweaking crates.io crate ensc-testsuite 0.1.7 [INFO] tweaked toml for crates.io crate ensc-testsuite 0.1.7 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 72 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding cfg_aliases v0.1.1 (available: v0.2.1) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding parking_lot v0.11.2 (available: v0.12.3) [INFO] [stderr] Adding parking_lot_core v0.8.6 (available: v0.9.10) [INFO] [stderr] Adding redox_syscall v0.2.16 (available: v0.5.6) [INFO] [stderr] Adding static_init v0.5.2 (available: v1.0.3) [INFO] [stderr] Adding static_init_macro v0.5.0 (available: v1.0.2) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding windows-core v0.52.0 (available: v0.58.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6946c8f3516d548bf585bdf53aec70d19ddad89fde751434879b77af7151d49c [INFO] running `Command { std: "docker" "start" "-a" "6946c8f3516d548bf585bdf53aec70d19ddad89fde751434879b77af7151d49c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6946c8f3516d548bf585bdf53aec70d19ddad89fde751434879b77af7151d49c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6946c8f3516d548bf585bdf53aec70d19ddad89fde751434879b77af7151d49c", kill_on_drop: false }` [INFO] [stdout] 6946c8f3516d548bf585bdf53aec70d19ddad89fde751434879b77af7151d49c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 757c1d92614de64ce2c6c1ab7c76c0f0266456a11b3f078f3544d5a95db73c29 [INFO] running `Command { std: "docker" "start" "-a" "757c1d92614de64ce2c6c1ab7c76c0f0266456a11b3f078f3544d5a95db73c29", 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] Fixed Cargo.toml (3 fixes) [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling static_init_macro v0.5.0 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Compiling static_init v0.5.2 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking xml-rs v0.8.22 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Checking ensc-testsuite v0.1.7 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `ensc_testsuite` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/engine/case/case.rs [INFO] [stderr] * src/report/emit.rs [INFO] [stderr] * src/tests/test_00.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/tests/test_00.rs:5:6 [INFO] [stderr] | [INFO] [stderr] 5 | ($e:expr_2021, status => $s:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/tests/test_00.rs:5:30 [INFO] [stderr] | [INFO] [stderr] 5 | ($e:expr_2021, status => $s:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/report/emit.rs:18:98 [INFO] [stdout] | [INFO] [stdout] 18 | pub(super) static mut OUTPUT_FILES: Mutex>>> = Mutex::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: `--force-warn unsafe-attr-outside-unsafe` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 18 | pub(super) static mut OUTPUT_FILES: Mutex>>> = Muunsafe(tex::default()); [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/tests/test_00.rs:11:6 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/tests/test_00.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | ($e:expr, status => $s:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 5 | ($e:expr_2021, status => $s:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] 11 | ($e:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/tests/test_00.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | ($e:expr, status => $s:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 5 | ($e:expr, status => $s:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/tests/test_00.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | ($e:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 11 | ($e:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/engine/case/case.rs:89:57 [INFO] [stdout] | [INFO] [stdout] 89 | } else if let Some(s) = e.downcast_ref::<&std::panic::PanicInfo>() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] warning: unsafe attribute used without unsafe [INFO] [stderr] --> src/report/emit.rs:18:98 [INFO] [stderr] | [INFO] [stderr] 18 | pub(super) static mut OUTPUT_FILES: Mutex>>> = Muunsafe(tex::default()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ usage of unsafe attribute [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stderr] = note: for more information, see issue #123757 [INFO] [stderr] = note: `--force-warn unsafe-attr-outside-unsafe` implied by `--force-warn rust-2024-compatibility` [INFO] [stderr] help: wrap the attribute in `unsafe(...)` [INFO] [stderr] | [INFO] [stderr] 18 | pub(super) static mut OUTPUT_FILES: Mutex>>> = Muunsafe(unsafe(tex::default())); [INFO] [stderr] | +++++++ + [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stderr] --> src/engine/case/case.rs:89:48 [INFO] [stderr] | [INFO] [stderr] 89 | } _ => { match e.downcast_ref::<&std::panic::PanicInfo>() { Some(s) => { [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/tests/test_00.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | fn test_01() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: status::AsStatus` will fail [INFO] [stdout] --> src/tests/test_00.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | .run(|| panic!("should never be executed")), status => TestStatus::Skip); [INFO] [stdout] | ^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `tex` [INFO] [stderr] --> src/report/emit.rs:18:107 [INFO] [stderr] | [INFO] [stderr] 18 | pub(super) static mut OUTPUT_FILES: Mutex>>> = Muunsafe(tex::default()); [INFO] [stderr] | ^^^ use of undeclared crate or module `tex` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `Muunsafe` in this scope [INFO] [stderr] --> src/report/emit.rs:18:98 [INFO] [stderr] | [INFO] [stderr] 18 | pub(super) static mut OUTPUT_FILES: Mutex>>> = Muunsafe(tex::default()); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/tests/test_00.rs:30:1 [INFO] [stderr] | [INFO] [stderr] 30 | fn test_01() { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/tests/test_00.rs:101:1 [INFO] [stdout] | [INFO] [stdout] 101 | fn test_02() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: status::AsStatus` will fail [INFO] [stdout] --> src/tests/test_00.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | p.ok("panic-1", || panic!("panic! call with plain text")); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: for more information, see issue #123748 [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: status::AsStatus` will fail [INFO] [stderr] --> src/tests/test_00.rs:71:8 [INFO] [stderr] | [INFO] [stderr] 71 | .run(|| panic!("should never be executed")), status => TestStatus::Skip); [INFO] [stderr] | ^^^ [INFO] [stderr] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/tests/test_00.rs:101:1 [INFO] [stderr] | [INFO] [stderr] 101 | fn test_02() { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #123748 [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: status::AsStatus` will fail [INFO] [stderr] --> src/tests/test_00.rs:112:8 [INFO] [stderr] | [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | std::env::remove_var("TESTSUITE_OUTPUT"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = note: `--force-warn deprecated-safe-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 28 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 29 ~ unsafe { std::env::remove_var("TESTSUITE_OUTPUT") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 112 | p.ok("panic-1", || panic!("panic! call with plain text")); [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | std::env::remove_var("TESTSUITE_FORMAT"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 29 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 30 ~ unsafe { std::env::remove_var("TESTSUITE_FORMAT") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors; 4 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0433, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/engine/case/case.rs:85:6 [INFO] [stdout] | [INFO] [stdout] 85 | if let Some(s) = e.downcast_ref::<&str>() { [INFO] [stdout] | ^^^^^^^^^^^^^^-^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 86 | self.report.set_reason(s); [INFO] [stdout] 87 | } else if let Some(s) = e.downcast_ref::<&String>() { [INFO] [stdout] | - this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 88 | self.report.set_reason(s); [INFO] [stdout] 89 | } else if let Some(s) = e.downcast_ref::<&std::panic::PanicInfo>() { [INFO] [stdout] | - this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/engine/case/case.rs:87:3 [INFO] [stdout] | [INFO] [stdout] 87 | } else if let Some(s) = e.downcast_ref::<&String>() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/engine/case/case.rs:89:3 [INFO] [stdout] | [INFO] [stdout] 89 | } else if let Some(s) = e.downcast_ref::<&std::panic::PanicInfo>() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/engine/case/case.rs:92:3 [INFO] [stdout] | [INFO] [stdout] 92 | } else if let Some(msg) = crate::util::get_panic_msg() { [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 85 ~ match e.downcast_ref::<&str>() { Some(s) => { [INFO] [stdout] 86 | self.report.set_reason(s); [INFO] [stdout] 87 ~ } _ => { match e.downcast_ref::<&String>() { Some(s) => { [INFO] [stdout] 88 | self.report.set_reason(s); [INFO] [stdout] 89 ~ } _ => { match e.downcast_ref::<&std::panic::PanicInfo>() { Some(s) => { [INFO] [stdout] 90 | eprintln!("unknown error XXX: {:?}", s); [INFO] [stdout] 91 | // self.report.set_reason(s); [INFO] [stdout] 92 ~ } _ => if let Some(msg) = crate::util::get_panic_msg() { [INFO] [stdout] 93 | eprintln!("unknown error: {:?}; use global panic msg", e); [INFO] [stdout] ... [INFO] [stdout] 97 | // std::panic::resume_unwind(e); [INFO] [stdout] 98 ~ }}}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/report/emit.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | if let Some(o_ref) = output { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/report/emit.rs:111:2 [INFO] [stdout] | [INFO] [stdout] 111 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 100 ~ match output { Some(o_ref) => { [INFO] [stdout] 101 | let o = o_ref.into_inner().unwrap(); [INFO] [stdout] ... [INFO] [stdout] 110 | o.persist(&self.filename).unwrap(); [INFO] [stdout] 111 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/runners/plan.rs:176:6 [INFO] [stdout] | [INFO] [stdout] 176 | if let Some(e) = res_err { [INFO] [stdout] | ^^^^^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 177 | Err(e) [INFO] [stdout] 178 | } else if let Some(v) = &res_val { [INFO] [stdout] | ------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/runners/plan.rs:178:3 [INFO] [stdout] | [INFO] [stdout] 178 | } else if let Some(v) = &res_val { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/runners/plan.rs:180:3 [INFO] [stdout] | [INFO] [stdout] 180 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 176 ~ match res_err { Some(e) => { [INFO] [stdout] 177 | Err(e) [INFO] [stdout] 178 ~ } _ => { match &res_val { Some(v) => { [INFO] [stdout] 179 | Ok(v.as_status()) [INFO] [stdout] 180 ~ } _ => { [INFO] [stdout] 181 | panic!("impossible branch"); [INFO] [stdout] 182 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `ensc_testsuite` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/engine/case/case.rs [INFO] [stderr] * src/report/emit.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] warning: unsafe attribute used without unsafe [INFO] [stderr] --> src/report/emit.rs:18:98 [INFO] [stderr] | [INFO] [stderr] 18 | pub(super) static mut OUTPUT_FILES: Mutex>>> = Muunsafe(tex::default()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ usage of unsafe attribute [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stderr] = note: for more information, see issue #123757 [INFO] [stderr] = note: `--force-warn unsafe-attr-outside-unsafe` implied by `--force-warn rust-2024-compatibility` [INFO] [stderr] help: wrap the attribute in `unsafe(...)` [INFO] [stderr] | [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/report/emit.rs:18:98 [INFO] [stdout] | [INFO] [stdout] 18 | pub(super) static mut OUTPUT_FILES: Mutex>>> = Mutex::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: `--force-warn unsafe-attr-outside-unsafe` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 18 | pub(super) static mut OUTPUT_FILES: Mutex>>> = Muunsafe(tex::default()); [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 18 | pub(super) static mut OUTPUT_FILES: Mutex>>> = Muunsafe(unsafe(tex::default())); [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/engine/case/case.rs:89:57 [INFO] [stdout] | [INFO] [stdout] 89 | } else if let Some(s) = e.downcast_ref::<&std::panic::PanicInfo>() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | +++++++ + [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stderr] --> src/engine/case/case.rs:89:48 [INFO] [stderr] | [INFO] [stderr] 89 | } _ => { match e.downcast_ref::<&std::panic::PanicInfo>() { Some(s) => { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | std::env::remove_var("TESTSUITE_OUTPUT"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = note: `--force-warn deprecated-safe-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 28 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 29 ~ unsafe { std::env::remove_var("TESTSUITE_OUTPUT") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | std::env::remove_var("TESTSUITE_FORMAT"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 29 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 30 ~ unsafe { std::env::remove_var("TESTSUITE_FORMAT") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `tex` [INFO] [stderr] --> src/report/emit.rs:18:107 [INFO] [stderr] | [INFO] [stderr] 18 | pub(super) static mut OUTPUT_FILES: Mutex>>> = Muunsafe(tex::default()); [INFO] [stderr] | ^^^ use of undeclared crate or module `tex` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `Muunsafe` in this scope [INFO] [stderr] --> src/report/emit.rs:18:98 [INFO] [stderr] | [INFO] [stderr] 18 | pub(super) static mut OUTPUT_FILES: Mutex>>> = Muunsafe(tex::default()); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/engine/case/case.rs:85:6 [INFO] [stdout] | [INFO] [stdout] 85 | if let Some(s) = e.downcast_ref::<&str>() { [INFO] [stdout] | ^^^^^^^^^^^^^^-^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 86 | self.report.set_reason(s); [INFO] [stdout] 87 | } else if let Some(s) = e.downcast_ref::<&String>() { [INFO] [stdout] | - this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 88 | self.report.set_reason(s); [INFO] [stdout] 89 | } else if let Some(s) = e.downcast_ref::<&std::panic::PanicInfo>() { [INFO] [stdout] | - this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/engine/case/case.rs:87:3 [INFO] [stdout] | [INFO] [stdout] 87 | } else if let Some(s) = e.downcast_ref::<&String>() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/engine/case/case.rs:89:3 [INFO] [stdout] | [INFO] [stdout] 89 | } else if let Some(s) = e.downcast_ref::<&std::panic::PanicInfo>() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/engine/case/case.rs:92:3 [INFO] [stdout] | [INFO] [stdout] 92 | } else if let Some(msg) = crate::util::get_panic_msg() { [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 85 ~ match e.downcast_ref::<&str>() { Some(s) => { [INFO] [stdout] 86 | self.report.set_reason(s); [INFO] [stdout] 87 ~ } _ => { match e.downcast_ref::<&String>() { Some(s) => { [INFO] [stdout] 88 | self.report.set_reason(s); [INFO] [stdout] 89 ~ } _ => { match e.downcast_ref::<&std::panic::PanicInfo>() { Some(s) => { [INFO] [stdout] 90 | eprintln!("unknown error XXX: {:?}", s); [INFO] [stdout] 91 | // self.report.set_reason(s); [INFO] [stdout] 92 ~ } _ => if let Some(msg) = crate::util::get_panic_msg() { [INFO] [stdout] 93 | eprintln!("unknown error: {:?}; use global panic msg", e); [INFO] [stdout] ... [INFO] [stdout] 97 | // std::panic::resume_unwind(e); [INFO] [stdout] 98 ~ }}}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/report/emit.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | if let Some(o_ref) = output { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/report/emit.rs:111:2 [INFO] [stdout] | [INFO] [stdout] 111 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 100 ~ match output { Some(o_ref) => { [INFO] [stdout] 101 | let o = o_ref.into_inner().unwrap(); [INFO] [stdout] ... [INFO] [stdout] 110 | o.persist(&self.filename).unwrap(); [INFO] [stdout] 111 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/runners/plan.rs:176:6 [INFO] [stdout] | [INFO] [stdout] 176 | if let Some(e) = res_err { [INFO] [stdout] | ^^^^^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 177 | Err(e) [INFO] [stdout] 178 | } else if let Some(v) = &res_val { [INFO] [stdout] | ------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/runners/plan.rs:178:3 [INFO] [stdout] | [INFO] [stdout] 178 | } else if let Some(v) = &res_val { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/runners/plan.rs:180:3 [INFO] [stdout] | [INFO] [stdout] 180 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 176 ~ match res_err { Some(e) => { [INFO] [stdout] 177 | Err(e) [INFO] [stdout] 178 ~ } _ => { match &res_val { Some(v) => { [INFO] [stdout] 179 | Ok(v.as_status()) [INFO] [stdout] 180 ~ } _ => { [INFO] [stdout] 181 | panic!("impossible branch"); [INFO] [stdout] 182 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.11s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking ensc-testsuite v0.1.7 (/tmp/fixit) [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/report/emit.rs:18:98 [INFO] [stdout] | [INFO] [stdout] 18 | pub(super) static mut OUTPUT_FILES: Mutex>>> = Mutex::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 18 | pub(super) static mut OUTPUT_FILES: Mutex>>> = Muunsafe(tex::default()); [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/report/emit.rs:18:98 [INFO] [stdout] | [INFO] [stdout] 18 | pub(super) static mut OUTPUT_FILES: Mutex>>> = Mutex::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 18 | pub(super) static mut OUTPUT_FILES: Mutex>>> = Muunsafe(tex::default()); [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/engine/case/case.rs:89:57 [INFO] [stdout] | [INFO] [stdout] 89 | } else if let Some(s) = e.downcast_ref::<&std::panic::PanicInfo>() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/engine/case/case.rs:89:57 [INFO] [stdout] | [INFO] [stdout] 89 | } else if let Some(s) = e.downcast_ref::<&std::panic::PanicInfo>() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: status::AsStatus` is not satisfied [INFO] [stdout] --> src/tests/test_00.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | .run(|| panic!("should never be executed")), status => TestStatus::Skip); [INFO] [stdout] | ^^^ the trait `status::AsStatus` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `status::AsStatus`: [INFO] [stdout] () [INFO] [stdout] bool [INFO] [stdout] status::Status [INFO] [stdout] std::result::Result [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `CaseProxy::<'a>::run` [INFO] [stdout] --> src/runners/plan.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn run(self, f: F) -> TestResult [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 95 | R: AsStatus , [INFO] [stdout] | ^^^^^^^^ required by this bound in `CaseProxy::<'a>::run` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: status::AsStatus` is not satisfied [INFO] [stdout] --> src/tests/test_00.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | p.ok("panic-1", || panic!("panic! call with plain text")); [INFO] [stdout] | ^^ the trait `status::AsStatus` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `status::AsStatus`: [INFO] [stdout] () [INFO] [stdout] bool [INFO] [stdout] status::Status [INFO] [stdout] std::result::Result [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `runners::plan::Plan::ok` [INFO] [stdout] --> src/runners/plan.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn ok(&self, desc: D, f: F) -> TestResult [INFO] [stdout] | -- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 200 | R: AsStatus, [INFO] [stdout] | ^^^^^^^^ required by this bound in `Plan::ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: status::AsStatus` is not satisfied [INFO] [stdout] --> src/tests/test_00.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | p.ok("panic-2", || panic!("panic! {} with fmt", "called")); [INFO] [stdout] | ^^ the trait `status::AsStatus` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `status::AsStatus`: [INFO] [stdout] () [INFO] [stdout] bool [INFO] [stdout] status::Status [INFO] [stdout] std::result::Result [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `runners::plan::Plan::ok` [INFO] [stdout] --> src/runners/plan.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn ok(&self, desc: D, f: F) -> TestResult [INFO] [stdout] | -- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 200 | R: AsStatus, [INFO] [stdout] | ^^^^^^^^ required by this bound in `Plan::ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | std::env::remove_var("TESTSUITE_OUTPUT"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | std::env::remove_var("TESTSUITE_FORMAT"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ensc-testsuite` (lib) due to 4 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0133]: call to unsafe function `remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | std::env::remove_var("TESTSUITE_OUTPUT"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | std::env::remove_var("TESTSUITE_FORMAT"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0133, E0277. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ensc-testsuite` (lib test) due to 7 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" "757c1d92614de64ce2c6c1ab7c76c0f0266456a11b3f078f3544d5a95db73c29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "757c1d92614de64ce2c6c1ab7c76c0f0266456a11b3f078f3544d5a95db73c29", kill_on_drop: false }` [INFO] [stdout] 757c1d92614de64ce2c6c1ab7c76c0f0266456a11b3f078f3544d5a95db73c29