[INFO] fetching crate throw 0.1.7... [INFO] testing throw-0.1.7 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate throw 0.1.7 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate throw 0.1.7 [INFO] finished tweaking crates.io crate throw 0.1.7 [INFO] tweaked toml for crates.io crate throw 0.1.7 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate throw 0.1.7 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 15 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e03566cba0edc7c719eef65b5e963fb9526c76390ef9dc062b6cd2e44b1e1f47 [INFO] running `Command { std: "docker" "start" "-a" "e03566cba0edc7c719eef65b5e963fb9526c76390ef9dc062b6cd2e44b1e1f47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e03566cba0edc7c719eef65b5e963fb9526c76390ef9dc062b6cd2e44b1e1f47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e03566cba0edc7c719eef65b5e963fb9526c76390ef9dc062b6cd2e44b1e1f47", kill_on_drop: false }` [INFO] [stdout] e03566cba0edc7c719eef65b5e963fb9526c76390ef9dc062b6cd2e44b1e1f47 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d7e5b478a73072db3dc729a4c00d6aef883d56ed7bf294d96c107190be730a3d [INFO] running `Command { std: "docker" "start" "-a" "d7e5b478a73072db3dc729a4c00d6aef883d56ed7bf294d96c107190be730a3d", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling throw v0.1.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:546:9 [INFO] [stdout] | [INFO] [stdout] 546 | try!(write!(fmt, "Error: {}", self.error)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:549:13 [INFO] [stdout] | [INFO] [stdout] 549 | try!(write!(fmt, "\n\t{}: {}", kv.key(), kv.value(),)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:553:13 [INFO] [stdout] | [INFO] [stdout] 553 | try!(write!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:572:9 [INFO] [stdout] | [INFO] [stdout] 572 | try!(write!(fmt, "Error: {:?}", self.error)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:574:13 [INFO] [stdout] | [INFO] [stdout] 574 | try!(write!(fmt, "\n\t{}: {}", kv.key(), kv.value(),)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:577:13 [INFO] [stdout] | [INFO] [stdout] 577 | try!(write!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:600:32 [INFO] [stdout] | [INFO] [stdout] 600 | fn cause(&self) -> Option<&std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 600 | fn cause(&self) -> Option<&dyn std::error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:597:22 [INFO] [stdout] | [INFO] [stdout] 597 | self.error().description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a macro [INFO] [stdout] --> src/lib.rs:606:1 [INFO] [stdout] | [INFO] [stdout] 606 | macro_rules! up { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | #![deny(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a macro [INFO] [stdout] --> src/lib.rs:647:1 [INFO] [stdout] | [INFO] [stdout] 647 | macro_rules! throw { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a macro [INFO] [stdout] --> src/lib.rs:663:1 [INFO] [stdout] | [INFO] [stdout] 663 | macro_rules! throw_new { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] running `Command { std: "docker" "inspect" "d7e5b478a73072db3dc729a4c00d6aef883d56ed7bf294d96c107190be730a3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7e5b478a73072db3dc729a4c00d6aef883d56ed7bf294d96c107190be730a3d", kill_on_drop: false }` [INFO] [stdout] d7e5b478a73072db3dc729a4c00d6aef883d56ed7bf294d96c107190be730a3d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14faf02beb0cd2a2c8d5e593ee1a05053fdf0e50090b8d76deb3396307be54ad [INFO] running `Command { std: "docker" "start" "-a" "14faf02beb0cd2a2c8d5e593ee1a05053fdf0e50090b8d76deb3396307be54ad", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:546:9 [INFO] [stdout] | [INFO] [stdout] 546 | try!(write!(fmt, "Error: {}", self.error)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:549:13 [INFO] [stdout] | [INFO] [stdout] 549 | try!(write!(fmt, "\n\t{}: {}", kv.key(), kv.value(),)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:553:13 [INFO] [stdout] | [INFO] [stdout] 553 | try!(write!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:572:9 [INFO] [stdout] | [INFO] [stdout] 572 | try!(write!(fmt, "Error: {:?}", self.error)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:574:13 [INFO] [stdout] | [INFO] [stdout] 574 | try!(write!(fmt, "\n\t{}: {}", kv.key(), kv.value(),)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:577:13 [INFO] [stdout] | [INFO] [stdout] 577 | try!(write!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:600:32 [INFO] [stdout] | [INFO] [stdout] 600 | fn cause(&self) -> Option<&std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 600 | fn cause(&self) -> Option<&dyn std::error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:597:22 [INFO] [stdout] | [INFO] [stdout] 597 | self.error().description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a macro [INFO] [stdout] --> src/lib.rs:606:1 [INFO] [stdout] | [INFO] [stdout] 606 | macro_rules! up { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | #![deny(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a macro [INFO] [stdout] --> src/lib.rs:647:1 [INFO] [stdout] | [INFO] [stdout] 647 | macro_rules! throw { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a macro [INFO] [stdout] --> src/lib.rs:663:1 [INFO] [stdout] | [INFO] [stdout] 663 | macro_rules! throw_new { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling throw v0.1.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:546:9 [INFO] [stdout] | [INFO] [stdout] 546 | try!(write!(fmt, "Error: {}", self.error)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:549:13 [INFO] [stdout] | [INFO] [stdout] 549 | try!(write!(fmt, "\n\t{}: {}", kv.key(), kv.value(),)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:553:13 [INFO] [stdout] | [INFO] [stdout] 553 | try!(write!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:572:9 [INFO] [stdout] | [INFO] [stdout] 572 | try!(write!(fmt, "Error: {:?}", self.error)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:574:13 [INFO] [stdout] | [INFO] [stdout] 574 | try!(write!(fmt, "\n\t{}: {}", kv.key(), kv.value(),)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:577:13 [INFO] [stdout] | [INFO] [stdout] 577 | try!(write!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:600:32 [INFO] [stdout] | [INFO] [stdout] 600 | fn cause(&self) -> Option<&std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 600 | fn cause(&self) -> Option<&dyn std::error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> tests/std_tests.rs:40:22 [INFO] [stdout] | [INFO] [stdout] 40 | assert_eq!(error.description(), "err"); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> tests/std_tests.rs:48:22 [INFO] [stdout] | [INFO] [stdout] 48 | assert_eq!(error.description(), "err"); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> tests/std_tests.rs:57:29 [INFO] [stdout] | [INFO] [stdout] 57 | format!("{}", error.cause().unwrap()), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:597:22 [INFO] [stdout] | [INFO] [stdout] 597 | self.error().description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a macro [INFO] [stdout] --> src/lib.rs:606:1 [INFO] [stdout] | [INFO] [stdout] 606 | macro_rules! up { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | #![deny(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a macro [INFO] [stdout] --> src/lib.rs:647:1 [INFO] [stdout] | [INFO] [stdout] 647 | macro_rules! throw { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a macro [INFO] [stdout] --> src/lib.rs:663:1 [INFO] [stdout] | [INFO] [stdout] 663 | macro_rules! throw_new { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/exceptions_work.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | / format!( [INFO] [stdout] 19 | | "expected error to match regex `\n{}\n`, but found `\n{}\n`", [INFO] [stdout] 20 | | expected, actual [INFO] [stdout] 21 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 100 | / assert_matches!( [INFO] [stdout] 101 | | r#"Error: hi [INFO] [stdout] 102 | | at [0-9]+:[0-9] in exceptions_work \([a-z/._-]+\)"#, [INFO] [stdout] 103 | | error [INFO] [stdout] 104 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `assert_matches` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 18 ~ [INFO] [stdout] 19 | "expected error to match regex `\n{}\n`, but found `\n{}\n`", [INFO] [stdout] 20 | expected, actual [INFO] [stdout] 21 ~ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/exceptions_work.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | / format!( [INFO] [stdout] 19 | | "expected error to match regex `\n{}\n`, but found `\n{}\n`", [INFO] [stdout] 20 | | expected, actual [INFO] [stdout] 21 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 143 | / assert_matches!( [INFO] [stdout] 144 | | r#"Error: "Error with context" [INFO] [stdout] 145 | | height: 948 [INFO] [stdout] 146 | | score: 0.75 [INFO] [stdout] ... | [INFO] [stdout] 153 | | format!("{:?}", error2) [INFO] [stdout] 154 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `assert_matches` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 18 ~ [INFO] [stdout] 19 | "expected error to match regex `\n{}\n`, but found `\n{}\n`", [INFO] [stdout] 20 | expected, actual [INFO] [stdout] 21 ~ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/exceptions_work.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | / format!( [INFO] [stdout] 19 | | "expected error to match regex `\n{}\n`, but found `\n{}\n`", [INFO] [stdout] 20 | | expected, actual [INFO] [stdout] 21 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 163 | / assert_matches!( [INFO] [stdout] 164 | | r#"Error: \(\) [INFO] [stdout] 165 | | at [0-9]+:[0-9] in exceptions_work \([a-z/._-]+\) [INFO] [stdout] 166 | | at [0-9]+:[0-9] in exceptions_work \([a-z/._-]+\) [INFO] [stdout] 167 | | at [0-9]+:[0-9] in exceptions_work \([a-z/._-]+\)"#, [INFO] [stdout] 168 | | format!("{:?}", error) [INFO] [stdout] 169 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `assert_matches` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 18 ~ [INFO] [stdout] 19 | "expected error to match regex `\n{}\n`, but found `\n{}\n`", [INFO] [stdout] 20 | expected, actual [INFO] [stdout] 21 ~ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/exceptions_work.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | / format!( [INFO] [stdout] 19 | | "expected error to match regex `\n{}\n`, but found `\n{}\n`", [INFO] [stdout] 20 | | expected, actual [INFO] [stdout] 21 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 181 | / assert_matches!( [INFO] [stdout] 182 | | r#"Error: ahhhh [INFO] [stdout] 183 | | at [0-9]+:[0-9] in exceptions_work::mod_test \([a-z/._-]+\)"#, [INFO] [stdout] 184 | | error [INFO] [stdout] 185 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `assert_matches` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 18 ~ [INFO] [stdout] 19 | "expected error to match regex `\n{}\n`, but found `\n{}\n`", [INFO] [stdout] 20 | expected, actual [INFO] [stdout] 21 ~ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/exceptions_work.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | / format!( [INFO] [stdout] 19 | | "expected error to match regex `\n{}\n`, but found `\n{}\n`", [INFO] [stdout] 20 | | expected, actual [INFO] [stdout] 21 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 191 | / assert_matches!( [INFO] [stdout] 192 | | r#"Error: some static string [INFO] [stdout] 193 | | at [0-9]+:[0-9] in exceptions_work \([a-z/._-]+\)"#, [INFO] [stdout] 194 | | error [INFO] [stdout] 195 | | ) [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `assert_matches` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 18 ~ [INFO] [stdout] 19 | "expected error to match regex `\n{}\n`, but found `\n{}\n`", [INFO] [stdout] 20 | expected, actual [INFO] [stdout] 21 ~ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/exceptions_work.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | / format!( [INFO] [stdout] 19 | | "expected error to match regex `\n{}\n`, but found `\n{}\n`", [INFO] [stdout] 20 | | expected, actual [INFO] [stdout] 21 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 201 | / assert_matches!( [INFO] [stdout] 202 | | r#"Error: some static string [INFO] [stdout] 203 | | key: value [INFO] [stdout] 204 | | at [0-9]+:[0-9] in exceptions_work \([a-z/._-]+\)"#, [INFO] [stdout] 205 | | error [INFO] [stdout] 206 | | ) [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `assert_matches` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 18 ~ [INFO] [stdout] 19 | "expected error to match regex `\n{}\n`, but found `\n{}\n`", [INFO] [stdout] 20 | expected, actual [INFO] [stdout] 21 ~ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/exceptions_work.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | / format!( [INFO] [stdout] 19 | | "expected error to match regex `\n{}\n`, but found `\n{}\n`", [INFO] [stdout] 20 | | expected, actual [INFO] [stdout] 21 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 212 | / assert_matches!( [INFO] [stdout] 213 | | r#"Error: some static string [INFO] [stdout] 214 | | key4: value4 [INFO] [stdout] 215 | | key3: value3 [INFO] [stdout] ... | [INFO] [stdout] 219 | | error [INFO] [stdout] 220 | | ) [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: this warning originates in the macro `assert_matches` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 18 ~ [INFO] [stdout] 19 | "expected error to match regex `\n{}\n`, but found `\n{}\n`", [INFO] [stdout] 20 | expected, actual [INFO] [stdout] 21 ~ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.06s [INFO] running `Command { std: "docker" "inspect" "14faf02beb0cd2a2c8d5e593ee1a05053fdf0e50090b8d76deb3396307be54ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14faf02beb0cd2a2c8d5e593ee1a05053fdf0e50090b8d76deb3396307be54ad", kill_on_drop: false }` [INFO] [stdout] 14faf02beb0cd2a2c8d5e593ee1a05053fdf0e50090b8d76deb3396307be54ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b5cc489f7d82e0723187a2138c6a584e90eb0aed61b04c38248667beb35e4b54 [INFO] running `Command { std: "docker" "start" "-a" "b5cc489f7d82e0723187a2138c6a584e90eb0aed61b04c38248667beb35e4b54", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/lib.rs:546:9 [INFO] [stderr] | [INFO] [stderr] 546 | try!(write!(fmt, "Error: {}", self.error)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/lib.rs:549:13 [INFO] [stderr] | [INFO] [stderr] 549 | try!(write!(fmt, "\n\t{}: {}", kv.key(), kv.value(),)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/lib.rs:553:13 [INFO] [stderr] | [INFO] [stderr] 553 | try!(write!( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/lib.rs:572:9 [INFO] [stderr] | [INFO] [stderr] 572 | try!(write!(fmt, "Error: {:?}", self.error)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/lib.rs:574:13 [INFO] [stderr] | [INFO] [stderr] 574 | try!(write!(fmt, "\n\t{}: {}", kv.key(), kv.value(),)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/lib.rs:577:13 [INFO] [stderr] | [INFO] [stderr] 577 | try!(write!( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:600:32 [INFO] [stderr] | [INFO] [stderr] 600 | fn cause(&self) -> Option<&std::error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 600 | fn cause(&self) -> Option<&dyn std::error::Error> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/lib.rs:597:22 [INFO] [stderr] | [INFO] [stderr] 597 | self.error().description() [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a macro [INFO] [stderr] --> src/lib.rs:606:1 [INFO] [stderr] | [INFO] [stderr] 606 | macro_rules! up { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:3:9 [INFO] [stderr] | [INFO] [stderr] 3 | #![deny(missing_docs)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a macro [INFO] [stderr] --> src/lib.rs:647:1 [INFO] [stderr] | [INFO] [stderr] 647 | macro_rules! throw { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a macro [INFO] [stderr] --> src/lib.rs:663:1 [INFO] [stderr] | [INFO] [stderr] 663 | macro_rules! throw_new { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `throw` (lib) generated 11 warnings (run `cargo fix --lib -p throw` to apply 1 suggestion) [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> tests/std_tests.rs:40:22 [INFO] [stderr] | [INFO] [stderr] 40 | assert_eq!(error.description(), "err"); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> tests/std_tests.rs:48:22 [INFO] [stderr] | [INFO] [stderr] 48 | assert_eq!(error.description(), "err"); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stderr] --> tests/std_tests.rs:57:29 [INFO] [stderr] | [INFO] [stderr] 57 | format!("{}", error.cause().unwrap()), [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tests/exceptions_work.rs:18:13 [INFO] [stderr] | [INFO] [stderr] 18 | / format!( [INFO] [stderr] 19 | | "expected error to match regex `\n{}\n`, but found `\n{}\n`", [INFO] [stderr] 20 | | expected, actual [INFO] [stderr] 21 | | ) [INFO] [stderr] | |_____________^ [INFO] [stderr] ... [INFO] [stderr] 100 | / assert_matches!( [INFO] [stderr] 101 | | r#"Error: hi [INFO] [stderr] 102 | | at [0-9]+:[0-9] in exceptions_work \([a-z/._-]+\)"#, [INFO] [stderr] 103 | | error [INFO] [stderr] 104 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] = note: this warning originates in the macro `assert_matches` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 18 ~ [INFO] [stderr] 19 | "expected error to match regex `\n{}\n`, but found `\n{}\n`", [INFO] [stderr] 20 | expected, actual [INFO] [stderr] 21 ~ [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tests/exceptions_work.rs:18:13 [INFO] [stderr] | [INFO] [stderr] 18 | / format!( [INFO] [stderr] 19 | | "expected error to match regex `\n{}\n`, but found `\n{}\n`", [INFO] [stderr] 20 | | expected, actual [INFO] [stderr] 21 | | ) [INFO] [stderr] | |_____________^ [INFO] [stderr] ... [INFO] [stderr] 143 | / assert_matches!( [INFO] [stderr] 144 | | r#"Error: "Error with context" [INFO] [stderr] 145 | | height: 948 [INFO] [stderr] 146 | | score: 0.75 [INFO] [stderr] ... | [INFO] [stderr] 153 | | format!("{:?}", error2) [INFO] [stderr] 154 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] = note: this warning originates in the macro `assert_matches` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 18 ~ [INFO] [stderr] 19 | "expected error to match regex `\n{}\n`, but found `\n{}\n`", [INFO] [stderr] 20 | expected, actual [INFO] [stderr] 21 ~ [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tests/exceptions_work.rs:18:13 [INFO] [stderr] | [INFO] [stderr] 18 | / format!( [INFO] [stderr] 19 | | "expected error to match regex `\n{}\n`, but found `\n{}\n`", [INFO] [stderr] 20 | | expected, actual [INFO] [stderr] 21 | | ) [INFO] [stderr] | |_____________^ [INFO] [stderr] ... [INFO] [stderr] 163 | / assert_matches!( [INFO] [stderr] 164 | | r#"Error: \(\) [INFO] [stderr] 165 | | at [0-9]+:[0-9] in exceptions_work \([a-z/._-]+\) [INFO] [stderr] 166 | | at [0-9]+:[0-9] in exceptions_work \([a-z/._-]+\) [INFO] [stderr] 167 | | at [0-9]+:[0-9] in exceptions_work \([a-z/._-]+\)"#, [INFO] [stderr] 168 | | format!("{:?}", error) [INFO] [stderr] 169 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] = note: this warning originates in the macro `assert_matches` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 18 ~ [INFO] [stderr] 19 | "expected error to match regex `\n{}\n`, but found `\n{}\n`", [INFO] [stderr] 20 | expected, actual [INFO] [stderr] 21 ~ [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tests/exceptions_work.rs:18:13 [INFO] [stderr] | [INFO] [stderr] 18 | / format!( [INFO] [stderr] 19 | | "expected error to match regex `\n{}\n`, but found `\n{}\n`", [INFO] [stderr] 20 | | expected, actual [INFO] [stderr] 21 | | ) [INFO] [stderr] | |_____________^ [INFO] [stderr] ... [INFO] [stderr] 181 | / assert_matches!( [INFO] [stderr] 182 | | r#"Error: ahhhh [INFO] [stderr] 183 | | at [0-9]+:[0-9] in exceptions_work::mod_test \([a-z/._-]+\)"#, [INFO] [stderr] 184 | | error [INFO] [stderr] 185 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] = note: this warning originates in the macro `assert_matches` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 18 ~ [INFO] [stderr] 19 | "expected error to match regex `\n{}\n`, but found `\n{}\n`", [INFO] [stderr] 20 | expected, actual [INFO] [stderr] 21 ~ [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tests/exceptions_work.rs:18:13 [INFO] [stderr] | [INFO] [stderr] 18 | / format!( [INFO] [stderr] 19 | | "expected error to match regex `\n{}\n`, but found `\n{}\n`", [INFO] [stderr] 20 | | expected, actual [INFO] [stderr] 21 | | ) [INFO] [stderr] | |_____________^ [INFO] [stderr] ... [INFO] [stderr] 191 | / assert_matches!( [INFO] [stderr] 192 | | r#"Error: some static string [INFO] [stderr] 193 | | at [0-9]+:[0-9] in exceptions_work \([a-z/._-]+\)"#, [INFO] [stderr] 194 | | error [INFO] [stderr] 195 | | ) [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] = note: this warning originates in the macro `assert_matches` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 18 ~ [INFO] [stderr] 19 | "expected error to match regex `\n{}\n`, but found `\n{}\n`", [INFO] [stderr] 20 | expected, actual [INFO] [stderr] 21 ~ [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tests/exceptions_work.rs:18:13 [INFO] [stderr] | [INFO] [stderr] 18 | / format!( [INFO] [stderr] 19 | | "expected error to match regex `\n{}\n`, but found `\n{}\n`", [INFO] [stderr] 20 | | expected, actual [INFO] [stderr] 21 | | ) [INFO] [stderr] | |_____________^ [INFO] [stderr] ... [INFO] [stderr] 201 | / assert_matches!( [INFO] [stderr] 202 | | r#"Error: some static string [INFO] [stderr] 203 | | key: value [INFO] [stderr] 204 | | at [0-9]+:[0-9] in exceptions_work \([a-z/._-]+\)"#, [INFO] [stderr] 205 | | error [INFO] [stderr] 206 | | ) [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] = note: this warning originates in the macro `assert_matches` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 18 ~ [INFO] [stderr] 19 | "expected error to match regex `\n{}\n`, but found `\n{}\n`", [INFO] [stderr] 20 | expected, actual [INFO] [stderr] 21 ~ [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tests/exceptions_work.rs:18:13 [INFO] [stderr] | [INFO] [stderr] 18 | / format!( [INFO] [stderr] 19 | | "expected error to match regex `\n{}\n`, but found `\n{}\n`", [INFO] [stderr] 20 | | expected, actual [INFO] [stderr] 21 | | ) [INFO] [stderr] | |_____________^ [INFO] [stderr] ... [INFO] [stderr] 212 | / assert_matches!( [INFO] [stderr] 213 | | r#"Error: some static string [INFO] [stderr] 214 | | key4: value4 [INFO] [stderr] 215 | | key3: value3 [INFO] [stderr] ... | [INFO] [stderr] 219 | | error [INFO] [stderr] 220 | | ) [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] = note: this warning originates in the macro `assert_matches` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 18 ~ [INFO] [stderr] 19 | "expected error to match regex `\n{}\n`, but found `\n{}\n`", [INFO] [stderr] 20 | expected, actual [INFO] [stderr] 21 ~ [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `throw` (test "std_tests") generated 3 warnings [INFO] [stderr] warning: `throw` (test "exceptions_work") generated 7 warnings (run `cargo fix --test "exceptions_work"` to apply 7 suggestions) [INFO] [stderr] warning: `throw` (lib test) generated 11 warnings (11 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/throw-612a3b513efb030f) [INFO] [stderr] Running tests/exceptions_work.rs (/opt/rustwide/target/debug/deps/exceptions_work-c936403ef1fd0e2c) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test test_static_message ... ok [INFO] [stdout] test test_mod_throw ... ok [INFO] [stdout] test test_returns_ok ... ok [INFO] [stdout] test test_throws_into ... ok [INFO] [stdout] test test_multiple_throws ... ok [INFO] [stdout] test test_throws_into_multiple_key_value_pairs ... ok [INFO] [stdout] test test_throws_into_key_value ... ok [INFO] [stdout] test test_throw_with_context ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/std_tests.rs (/opt/rustwide/target/debug/deps/std_tests-1653e4f839a3e754) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test test_error_description ... ok [INFO] [stdout] test test_error_description_with_key_value_pairs ... ok [INFO] [stdout] test test_error_with_cause ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests throw [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - (line 162) ... ok [INFO] [stdout] test src/lib.rs - (line 107) ... ok [INFO] [stdout] test src/lib.rs - (line 51) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.22s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b5cc489f7d82e0723187a2138c6a584e90eb0aed61b04c38248667beb35e4b54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5cc489f7d82e0723187a2138c6a584e90eb0aed61b04c38248667beb35e4b54", kill_on_drop: false }` [INFO] [stdout] b5cc489f7d82e0723187a2138c6a584e90eb0aed61b04c38248667beb35e4b54