[INFO] fetching crate throws 0.1.2... [INFO] testing throws-0.1.2 against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] extracting crate throws 0.1.2 into /workspace/builds/worker-54/source [INFO] validating manifest of crates.io crate throws 0.1.2 on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate throws 0.1.2 [INFO] finished tweaking crates.io crate throws 0.1.2 [INFO] tweaked toml for crates.io crate throws 0.1.2 written to /workspace/builds/worker-54/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-54/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-54/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 44fd6f5f33af1f474cf98b1fc0c918c805db822a6e58c2adfa177d5e1c4a5146 [INFO] running `Command { std: "docker" "start" "-a" "44fd6f5f33af1f474cf98b1fc0c918c805db822a6e58c2adfa177d5e1c4a5146", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "44fd6f5f33af1f474cf98b1fc0c918c805db822a6e58c2adfa177d5e1c4a5146", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44fd6f5f33af1f474cf98b1fc0c918c805db822a6e58c2adfa177d5e1c4a5146", kill_on_drop: false }` [INFO] [stdout] 44fd6f5f33af1f474cf98b1fc0c918c805db822a6e58c2adfa177d5e1c4a5146 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-54/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-54/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7229fb3d4a2949278b68ef6474b83688d7552ea967a0213c01fdd4a3027949b5 [INFO] running `Command { std: "docker" "start" "-a" "7229fb3d4a2949278b68ef6474b83688d7552ea967a0213c01fdd4a3027949b5", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling throws v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.23s [INFO] running `Command { std: "docker" "inspect" "7229fb3d4a2949278b68ef6474b83688d7552ea967a0213c01fdd4a3027949b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7229fb3d4a2949278b68ef6474b83688d7552ea967a0213c01fdd4a3027949b5", kill_on_drop: false }` [INFO] [stdout] 7229fb3d4a2949278b68ef6474b83688d7552ea967a0213c01fdd4a3027949b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-54/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-54/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 839eaeb0d82e41b2739f4a51128dca855458b0978aeafcc92c838da7aa9ae358 [INFO] running `Command { std: "docker" "start" "-a" "839eaeb0d82e41b2739f4a51128dca855458b0978aeafcc92c838da7aa9ae358", kill_on_drop: false }` [INFO] [stderr] Compiling throws v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:35:40 [INFO] [stdout] | [INFO] [stdout] 35 | fn cause(&self) -> Option<&::std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stdout] ... [INFO] [stdout] 58 | throws!(SingleIoError = Io(io::Error)); [INFO] [stdout] | -------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `throws` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:35:40 [INFO] [stdout] | [INFO] [stdout] 35 | fn cause(&self) -> Option<&::std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stdout] ... [INFO] [stdout] 60 | throws!(#[derive(PartialEq, Eq)] SingleParseIntError = Parse(ParseIntError)); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `throws` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:35:40 [INFO] [stdout] | [INFO] [stdout] 35 | fn cause(&self) -> Option<&::std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stdout] ... [INFO] [stdout] 62 | throws!(MultipleError = Io(io::Error), ParseFloat(ParseFloatError), Single(SingleIoError)); [INFO] [stdout] | ------------------------------------------------------------------------------------------ in this macro invocation [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: this warning originates in the macro `throws` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:35:40 [INFO] [stdout] | [INFO] [stdout] 35 | fn cause(&self) -> Option<&::std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stdout] ... [INFO] [stdout] 64 | / throws! { [INFO] [stdout] 65 | | IoError = Io(io::Error); [INFO] [stdout] 66 | | ParseError = Parse(ParseIntError) [INFO] [stdout] 67 | | } [INFO] [stdout] | |_____- in this macro invocation [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: this warning originates in the macro `throws` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:35:40 [INFO] [stdout] | [INFO] [stdout] 35 | fn cause(&self) -> Option<&::std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stdout] ... [INFO] [stdout] 72 | throws!(pub PubError = Io(io::Error), Parse(ParseIntError)); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `throws` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:35:40 [INFO] [stdout] | [INFO] [stdout] 35 | fn cause(&self) -> Option<&::std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stdout] ... [INFO] [stdout] 74 | throws!(pub(crate) PubCrateError = Io(io::Error), Parse(ParseIntError)); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `throws` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:35:40 [INFO] [stdout] | [INFO] [stdout] 35 | fn cause(&self) -> Option<&::std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stdout] ... [INFO] [stdout] 76 | / throws!( [INFO] [stdout] 77 | | #[derive(PartialEq, Eq, Clone)] [INFO] [stdout] 78 | | #[allow(missing_docs)] [INFO] [stdout] 79 | | pub(crate) AllFeaturesError = ParseInt(ParseIntError), ParseFloat(ParseFloatError) [INFO] [stdout] 80 | | ); [INFO] [stdout] | |_________- in this macro invocation [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: this warning originates in the macro `throws` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:35:40 [INFO] [stdout] | [INFO] [stdout] 35 | fn cause(&self) -> Option<&::std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stdout] ... [INFO] [stdout] 82 | / throws! { [INFO] [stdout] 83 | | () PrivateIoError = Io(io::Error); [INFO] [stdout] 84 | | #[derive(Clone)] [INFO] [stdout] 85 | | (pub) PubParseError = Parse(ParseIntError) [INFO] [stdout] 86 | | } [INFO] [stdout] | |_________- in this macro invocation [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: this warning originates in the macro `throws` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> examples/file_double.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | throws!(FileDoubleError = Io(io::Error), Parse(ParseIntError)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `throws` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> examples/struct.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / throws! { [INFO] [stdout] 10 | | FooError = Io(io::Error), Parse(ParseIntError); [INFO] [stdout] 11 | | BarError = ParseFloat(ParseFloatError), Foo(FooError) [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `throws` (in Nightly builds, run with -Z macro-backtrace for more info) [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:31:52 [INFO] [stdout] | [INFO] [stdout] 31 | $($name::$case(ref err) => err.description()),* [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | throws!(SingleIoError = Io(io::Error)); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `throws` (in Nightly builds, run with -Z macro-backtrace for more info) [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:31:52 [INFO] [stdout] | [INFO] [stdout] 31 | $($name::$case(ref err) => err.description()),* [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | throws!(#[derive(PartialEq, Eq)] SingleParseIntError = Parse(ParseIntError)); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `throws` (in Nightly builds, run with -Z macro-backtrace for more info) [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:31:52 [INFO] [stdout] | [INFO] [stdout] 31 | $($name::$case(ref err) => err.description()),* [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | throws!(MultipleError = Io(io::Error), ParseFloat(ParseFloatError), Single(SingleIoError)); [INFO] [stdout] | ------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `throws` (in Nightly builds, run with -Z macro-backtrace for more info) [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:31:52 [INFO] [stdout] | [INFO] [stdout] 31 | $($name::$case(ref err) => err.description()),* [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | / throws! { [INFO] [stdout] 65 | | IoError = Io(io::Error); [INFO] [stdout] 66 | | ParseError = Parse(ParseIntError) [INFO] [stdout] 67 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `throws` (in Nightly builds, run with -Z macro-backtrace for more info) [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:31:52 [INFO] [stdout] | [INFO] [stdout] 31 | $($name::$case(ref err) => err.description()),* [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | throws!(pub PubError = Io(io::Error), Parse(ParseIntError)); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `throws` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> examples/simple.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | throws!(SimpleError = Parse(ParseIntError)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `throws` (in Nightly builds, run with -Z macro-backtrace for more info) [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:31:52 [INFO] [stdout] | [INFO] [stdout] 31 | $($name::$case(ref err) => err.description()),* [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | throws!(pub(crate) PubCrateError = Io(io::Error), Parse(ParseIntError)); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `throws` (in Nightly builds, run with -Z macro-backtrace for more info) [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:31:52 [INFO] [stdout] | [INFO] [stdout] 31 | $($name::$case(ref err) => err.description()),* [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | / throws!( [INFO] [stdout] 77 | | #[derive(PartialEq, Eq, Clone)] [INFO] [stdout] 78 | | #[allow(missing_docs)] [INFO] [stdout] 79 | | pub(crate) AllFeaturesError = ParseInt(ParseIntError), ParseFloat(ParseFloatError) [INFO] [stdout] 80 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `throws` (in Nightly builds, run with -Z macro-backtrace for more info) [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:31:52 [INFO] [stdout] | [INFO] [stdout] 31 | $($name::$case(ref err) => err.description()),* [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | / throws! { [INFO] [stdout] 83 | | () PrivateIoError = Io(io::Error); [INFO] [stdout] 84 | | #[derive(Clone)] [INFO] [stdout] 85 | | (pub) PubParseError = Parse(ParseIntError) [INFO] [stdout] 86 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `throws` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> examples/complex.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | / throws! { [INFO] [stdout] 10 | | #[derive(Clone)] [INFO] [stdout] 11 | | pub FooError = ParseInt(ParseIntError); [INFO] [stdout] 12 | | [INFO] [stdout] 13 | | #[derive(Clone)] [INFO] [stdout] 14 | | pub BarError = ParseFloat(ParseFloatError), Foo(FooError) [INFO] [stdout] 15 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `throws` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.88s [INFO] running `Command { std: "docker" "inspect" "839eaeb0d82e41b2739f4a51128dca855458b0978aeafcc92c838da7aa9ae358", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "839eaeb0d82e41b2739f4a51128dca855458b0978aeafcc92c838da7aa9ae358", kill_on_drop: false }` [INFO] [stdout] 839eaeb0d82e41b2739f4a51128dca855458b0978aeafcc92c838da7aa9ae358 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-54/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-54/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8a979ee25b905db58819d7649bdb308ea2613e4d9d5c0ebd3c4879c9731a8934 [INFO] running `Command { std: "docker" "start" "-a" "8a979ee25b905db58819d7649bdb308ea2613e4d9d5c0ebd3c4879c9731a8934", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:35:40 [INFO] [stderr] | [INFO] [stderr] 35 | fn cause(&self) -> Option<&::std::error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stderr] ... [INFO] [stderr] 58 | throws!(SingleIoError = Io(io::Error)); [INFO] [stderr] | -------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `throws` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:35:40 [INFO] [stderr] | [INFO] [stderr] 35 | fn cause(&self) -> Option<&::std::error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stderr] ... [INFO] [stderr] 60 | throws!(#[derive(PartialEq, Eq)] SingleParseIntError = Parse(ParseIntError)); [INFO] [stderr] | ---------------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `throws` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:35:40 [INFO] [stderr] | [INFO] [stderr] 35 | fn cause(&self) -> Option<&::std::error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stderr] ... [INFO] [stderr] 62 | throws!(MultipleError = Io(io::Error), ParseFloat(ParseFloatError), Single(SingleIoError)); [INFO] [stderr] | ------------------------------------------------------------------------------------------ in this macro invocation [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: this warning originates in the macro `throws` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:35:40 [INFO] [stderr] | [INFO] [stderr] 35 | fn cause(&self) -> Option<&::std::error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stderr] ... [INFO] [stderr] 64 | / throws! { [INFO] [stderr] 65 | | IoError = Io(io::Error); [INFO] [stderr] 66 | | ParseError = Parse(ParseIntError) [INFO] [stderr] 67 | | } [INFO] [stderr] | |_____- in this macro invocation [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: this warning originates in the macro `throws` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:35:40 [INFO] [stderr] | [INFO] [stderr] 35 | fn cause(&self) -> Option<&::std::error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stderr] ... [INFO] [stderr] 72 | throws!(pub PubError = Io(io::Error), Parse(ParseIntError)); [INFO] [stderr] | ----------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `throws` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:35:40 [INFO] [stderr] | [INFO] [stderr] 35 | fn cause(&self) -> Option<&::std::error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stderr] ... [INFO] [stderr] 74 | throws!(pub(crate) PubCrateError = Io(io::Error), Parse(ParseIntError)); [INFO] [stderr] | ----------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `throws` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:35:40 [INFO] [stderr] | [INFO] [stderr] 35 | fn cause(&self) -> Option<&::std::error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stderr] ... [INFO] [stderr] 76 | / throws!( [INFO] [stderr] 77 | | #[derive(PartialEq, Eq, Clone)] [INFO] [stderr] 78 | | #[allow(missing_docs)] [INFO] [stderr] 79 | | pub(crate) AllFeaturesError = ParseInt(ParseIntError), ParseFloat(ParseFloatError) [INFO] [stderr] 80 | | ); [INFO] [stderr] | |_________- in this macro invocation [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: this warning originates in the macro `throws` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:35:40 [INFO] [stderr] | [INFO] [stderr] 35 | fn cause(&self) -> Option<&::std::error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stderr] ... [INFO] [stderr] 82 | / throws! { [INFO] [stderr] 83 | | () PrivateIoError = Io(io::Error); [INFO] [stderr] 84 | | #[derive(Clone)] [INFO] [stderr] 85 | | (pub) PubParseError = Parse(ParseIntError) [INFO] [stderr] 86 | | } [INFO] [stderr] | |_________- in this macro invocation [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: this warning originates in the macro `throws` (in Nightly builds, run with -Z macro-backtrace for more info) [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:31:52 [INFO] [stderr] | [INFO] [stderr] 31 | $($name::$case(ref err) => err.description()),* [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 58 | throws!(SingleIoError = Io(io::Error)); [INFO] [stderr] | -------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `throws` (in Nightly builds, run with -Z macro-backtrace for more info) [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:31:52 [INFO] [stderr] | [INFO] [stderr] 31 | $($name::$case(ref err) => err.description()),* [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 60 | throws!(#[derive(PartialEq, Eq)] SingleParseIntError = Parse(ParseIntError)); [INFO] [stderr] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `throws` (in Nightly builds, run with -Z macro-backtrace for more info) [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:31:52 [INFO] [stderr] | [INFO] [stderr] 31 | $($name::$case(ref err) => err.description()),* [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 62 | throws!(MultipleError = Io(io::Error), ParseFloat(ParseFloatError), Single(SingleIoError)); [INFO] [stderr] | ------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `throws` (in Nightly builds, run with -Z macro-backtrace for more info) [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:31:52 [INFO] [stderr] | [INFO] [stderr] 31 | $($name::$case(ref err) => err.description()),* [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 64 | / throws! { [INFO] [stderr] 65 | | IoError = Io(io::Error); [INFO] [stderr] 66 | | ParseError = Parse(ParseIntError) [INFO] [stderr] 67 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `throws` (in Nightly builds, run with -Z macro-backtrace for more info) [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:31:52 [INFO] [stderr] | [INFO] [stderr] 31 | $($name::$case(ref err) => err.description()),* [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 72 | throws!(pub PubError = Io(io::Error), Parse(ParseIntError)); [INFO] [stderr] | ----------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `throws` (in Nightly builds, run with -Z macro-backtrace for more info) [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:31:52 [INFO] [stderr] | [INFO] [stderr] 31 | $($name::$case(ref err) => err.description()),* [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 74 | throws!(pub(crate) PubCrateError = Io(io::Error), Parse(ParseIntError)); [INFO] [stderr] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `throws` (in Nightly builds, run with -Z macro-backtrace for more info) [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:31:52 [INFO] [stderr] | [INFO] [stderr] 31 | $($name::$case(ref err) => err.description()),* [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 76 | / throws!( [INFO] [stderr] 77 | | #[derive(PartialEq, Eq, Clone)] [INFO] [stderr] 78 | | #[allow(missing_docs)] [INFO] [stderr] 79 | | pub(crate) AllFeaturesError = ParseInt(ParseIntError), ParseFloat(ParseFloatError) [INFO] [stderr] 80 | | ); [INFO] [stderr] | |_________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `throws` (in Nightly builds, run with -Z macro-backtrace for more info) [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:31:52 [INFO] [stderr] | [INFO] [stderr] 31 | $($name::$case(ref err) => err.description()),* [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 82 | / throws! { [INFO] [stderr] 83 | | () PrivateIoError = Io(io::Error); [INFO] [stderr] 84 | | #[derive(Clone)] [INFO] [stderr] 85 | | (pub) PubParseError = Parse(ParseIntError) [INFO] [stderr] 86 | | } [INFO] [stderr] | |_________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `throws` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `throws` (lib test) generated 16 warnings [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> examples/struct.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | / throws! { [INFO] [stderr] 10 | | FooError = Io(io::Error), Parse(ParseIntError); [INFO] [stderr] 11 | | BarError = ParseFloat(ParseFloatError), Foo(FooError) [INFO] [stderr] 12 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `throws` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> examples/simple.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | throws!(SimpleError = Parse(ParseIntError)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `throws` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> examples/file_double.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | throws!(FileDoubleError = Io(io::Error), Parse(ParseIntError)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `throws` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> examples/complex.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | / throws! { [INFO] [stderr] 10 | | #[derive(Clone)] [INFO] [stderr] 11 | | pub FooError = ParseInt(ParseIntError); [INFO] [stderr] 12 | | [INFO] [stderr] 13 | | #[derive(Clone)] [INFO] [stderr] 14 | | pub BarError = ParseFloat(ParseFloatError), Foo(FooError) [INFO] [stderr] 15 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `throws` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `throws` (example "struct") generated 1 warning [INFO] [stderr] warning: `throws` (example "simple") generated 1 warning [INFO] [stderr] warning: `throws` (example "file_double") generated 1 warning [INFO] [stderr] warning: `throws` (example "complex") generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/throws-ab376c35f24b19ec) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::create_from_error ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests throws [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] running `Command { std: "docker" "inspect" "8a979ee25b905db58819d7649bdb308ea2613e4d9d5c0ebd3c4879c9731a8934", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a979ee25b905db58819d7649bdb308ea2613e4d9d5c0ebd3c4879c9731a8934", kill_on_drop: false }` [INFO] [stdout] 8a979ee25b905db58819d7649bdb308ea2613e4d9d5c0ebd3c4879c9731a8934