[INFO] fetching crate throw 0.1.7... [INFO] testing throw-0.1.7 against 1.60.0 for beta-1.61-1 [INFO] extracting crate throw 0.1.7 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate throw 0.1.7 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 35f83dd0f0008282138951f4ba99142ed41d0b8bde38df74566b4732830f9214 [INFO] running `Command { std: "docker" "start" "-a" "35f83dd0f0008282138951f4ba99142ed41d0b8bde38df74566b4732830f9214", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "35f83dd0f0008282138951f4ba99142ed41d0b8bde38df74566b4732830f9214", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35f83dd0f0008282138951f4ba99142ed41d0b8bde38df74566b4732830f9214", kill_on_drop: false }` [INFO] [stdout] 35f83dd0f0008282138951f4ba99142ed41d0b8bde38df74566b4732830f9214 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 01b0b5f84ed9c8d158021b1e07aa9a9d221ca7e2508eca4bdbdcf54a35fb199c [INFO] running `Command { std: "docker" "start" "-a" "01b0b5f84ed9c8d158021b1e07aa9a9d221ca7e2508eca4bdbdcf54a35fb199c", 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.66s [INFO] running `Command { std: "docker" "inspect" "01b0b5f84ed9c8d158021b1e07aa9a9d221ca7e2508eca4bdbdcf54a35fb199c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01b0b5f84ed9c8d158021b1e07aa9a9d221ca7e2508eca4bdbdcf54a35fb199c", kill_on_drop: false }` [INFO] [stdout] 01b0b5f84ed9c8d158021b1e07aa9a9d221ca7e2508eca4bdbdcf54a35fb199c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f10d48bfd9c6a88eafc63dfa642ca9a4069e3e3c19cac26e22f86d1e82a66e24 [INFO] running `Command { std: "docker" "start" "-a" "f10d48bfd9c6a88eafc63dfa642ca9a4069e3e3c19cac26e22f86d1e82a66e24", 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] [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: 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: 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: 8 warnings emitted [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: 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 4.03s [INFO] running `Command { std: "docker" "inspect" "f10d48bfd9c6a88eafc63dfa642ca9a4069e3e3c19cac26e22f86d1e82a66e24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f10d48bfd9c6a88eafc63dfa642ca9a4069e3e3c19cac26e22f86d1e82a66e24", kill_on_drop: false }` [INFO] [stdout] f10d48bfd9c6a88eafc63dfa642ca9a4069e3e3c19cac26e22f86d1e82a66e24 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] dc0e76a2b02239211bfd2f62ec6317c4ea01b3028115d2cb965bb7903474e9af [INFO] running `Command { std: "docker" "start" "-a" "dc0e76a2b02239211bfd2f62ec6317c4ea01b3028115d2cb965bb7903474e9af", 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: `throw` (lib test) generated 8 warnings (8 duplicates) [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: `throw` (test "exceptions_work") generated 7 warnings [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` (test "std_tests") generated 3 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/throw-66fe449596ded0e1) [INFO] [stdout] [INFO] [stderr] Running tests/exceptions_work.rs (/opt/rustwide/target/debug/deps/exceptions_work-d39bbb86af1994e1) [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_static_message ... ok [INFO] [stdout] test test_multiple_throws ... ok [INFO] [stdout] test test_throws_into_key_value ... ok [INFO] [stdout] test test_mod_throw ... ok [INFO] [stdout] test test_throws_into_multiple_key_value_pairs ... 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.05s [INFO] [stdout] [INFO] [stderr] Running tests/std_tests.rs (/opt/rustwide/target/debug/deps/std_tests-a93133c5e272ed59) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test test_error_description ... ok [INFO] [stderr] Doc-tests throw [INFO] [stdout] test test_error_with_cause ... ok [INFO] [stdout] test test_error_description_with_key_value_pairs ... 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] [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 1.39s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "dc0e76a2b02239211bfd2f62ec6317c4ea01b3028115d2cb965bb7903474e9af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc0e76a2b02239211bfd2f62ec6317c4ea01b3028115d2cb965bb7903474e9af", kill_on_drop: false }` [INFO] [stdout] dc0e76a2b02239211bfd2f62ec6317c4ea01b3028115d2cb965bb7903474e9af