[INFO] fetching crate throw 0.1.7... [INFO] testing throw-0.1.7 against beta-2022-02-22 for beta-1.60-1 [INFO] extracting crate throw 0.1.7 into /workspace/builds/worker-16/source [INFO] validating manifest of crates.io crate throw 0.1.7 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-16/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e93cbec32f2c188f884a4c52c970540a4cfa05b805b9b555f503ab42f3276d62 [INFO] running `Command { std: "docker" "start" "-a" "e93cbec32f2c188f884a4c52c970540a4cfa05b805b9b555f503ab42f3276d62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e93cbec32f2c188f884a4c52c970540a4cfa05b805b9b555f503ab42f3276d62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e93cbec32f2c188f884a4c52c970540a4cfa05b805b9b555f503ab42f3276d62", kill_on_drop: false }` [INFO] [stdout] e93cbec32f2c188f884a4c52c970540a4cfa05b805b9b555f503ab42f3276d62 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 82fe5e1831ea31c8a1ee1c67f2344441933e72c7fbeb97945c47e015527809bb [INFO] running `Command { std: "docker" "start" "-a" "82fe5e1831ea31c8a1ee1c67f2344441933e72c7fbeb97945c47e015527809bb", kill_on_drop: false }` [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] = note: `#[warn(bare_trait_objects)]` on by default [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 600 - fn cause(&self) -> Option<&std::error::Error> { [INFO] [stdout] 600 + fn cause(&self) -> Option<&dyn std::error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.20s [INFO] running `Command { std: "docker" "inspect" "82fe5e1831ea31c8a1ee1c67f2344441933e72c7fbeb97945c47e015527809bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82fe5e1831ea31c8a1ee1c67f2344441933e72c7fbeb97945c47e015527809bb", kill_on_drop: false }` [INFO] [stdout] 82fe5e1831ea31c8a1ee1c67f2344441933e72c7fbeb97945c47e015527809bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a202c0a20eded3445171c1b5314d8c2c8bc199284fec4bbc0a77a45a76e84748 [INFO] running `Command { std: "docker" "start" "-a" "a202c0a20eded3445171c1b5314d8c2c8bc199284fec4bbc0a77a45a76e84748", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling ryu v1.0.9 [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] [stderr] Compiling aho-corasick v0.7.18 [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] = note: `#[warn(bare_trait_objects)]` on by default [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 600 - fn cause(&self) -> Option<&std::error::Error> { [INFO] [stdout] 600 + fn cause(&self) -> Option<&dyn std::error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling regex v1.5.4 [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] = note: `#[warn(bare_trait_objects)]` on by default [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 600 - fn cause(&self) -> Option<&std::error::Error> { [INFO] [stdout] 600 + fn cause(&self) -> Option<&dyn std::error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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: use of deprecated associated function `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 associated function `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 associated function `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: 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: `#[warn(non_fmt_panics)]` on by default [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] 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] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 19.87s [INFO] running `Command { std: "docker" "inspect" "a202c0a20eded3445171c1b5314d8c2c8bc199284fec4bbc0a77a45a76e84748", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a202c0a20eded3445171c1b5314d8c2c8bc199284fec4bbc0a77a45a76e84748", kill_on_drop: false }` [INFO] [stdout] a202c0a20eded3445171c1b5314d8c2c8bc199284fec4bbc0a77a45a76e84748 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1ccbb0adc2326c6049a53004ba1c1744ed2c06ae63bb299cfaf7ea678f584d3f [INFO] running `Command { std: "docker" "start" "-a" "1ccbb0adc2326c6049a53004ba1c1744ed2c06ae63bb299cfaf7ea678f584d3f", kill_on_drop: false }` [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] = note: `#[warn(bare_trait_objects)]` on by default [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 600 - fn cause(&self) -> Option<&std::error::Error> { [INFO] [stderr] 600 + fn cause(&self) -> Option<&dyn std::error::Error> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `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 [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: `#[warn(non_fmt_panics)]` on by default [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] 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: use of deprecated associated function `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 associated function `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 associated function `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: `throw` (lib test) generated 8 warnings (8 duplicates) [INFO] [stderr] warning: `throw` (test "exceptions_work") generated 7 warnings [INFO] [stderr] warning: `throw` (test "std_tests") generated 3 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/throw-569857ea21219ba6) [INFO] [stdout] [INFO] [stderr] Running tests/exceptions_work.rs (/opt/rustwide/target/debug/deps/exceptions_work-d1a4cfb97466700c) [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_returns_ok ... ok [INFO] [stdout] test test_throws_into ... ok [INFO] [stdout] test test_throws_into_key_value ... ok [INFO] [stdout] test test_static_message ... ok [INFO] [stdout] test test_mod_throw ... ok [INFO] [stdout] test test_throws_into_multiple_key_value_pairs ... ok [INFO] [stdout] test test_multiple_throws ... 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-cc292c4661f3ba17) [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 107) ... ok [INFO] [stdout] test src/lib.rs - (line 162) ... 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.44s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1ccbb0adc2326c6049a53004ba1c1744ed2c06ae63bb299cfaf7ea678f584d3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ccbb0adc2326c6049a53004ba1c1744ed2c06ae63bb299cfaf7ea678f584d3f", kill_on_drop: false }` [INFO] [stdout] 1ccbb0adc2326c6049a53004ba1c1744ed2c06ae63bb299cfaf7ea678f584d3f