[INFO] fetching crate alt-failure 0.1.5... [INFO] checking alt-failure-0.1.5 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate alt-failure 0.1.5 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate alt-failure 0.1.5 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate alt-failure 0.1.5 [INFO] finished tweaking crates.io crate alt-failure 0.1.5 [INFO] tweaked toml for crates.io crate alt-failure 0.1.5 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate crates.io crate alt-failure 0.1.5 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustc-demangle v0.1.16 [INFO] [stderr] Downloaded cfg-if v0.1.9 [INFO] [stderr] Downloaded failure_derive v0.1.5 [INFO] [stderr] Downloaded cc v1.0.45 [INFO] [stderr] Downloaded synstructure v0.10.2 [INFO] [stderr] Downloaded libc v0.2.62 [INFO] [stderr] Downloaded backtrace-sys v0.1.31 [INFO] [stderr] Downloaded backtrace v0.3.37 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 33c82bcc4029fa1e819eabca9e98f0b3fb9aab8f694924a991f7a8f4e8287f2b [INFO] running `Command { std: "docker" "start" "-a" "33c82bcc4029fa1e819eabca9e98f0b3fb9aab8f694924a991f7a8f4e8287f2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "33c82bcc4029fa1e819eabca9e98f0b3fb9aab8f694924a991f7a8f4e8287f2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33c82bcc4029fa1e819eabca9e98f0b3fb9aab8f694924a991f7a8f4e8287f2b", kill_on_drop: false }` [INFO] [stdout] 33c82bcc4029fa1e819eabca9e98f0b3fb9aab8f694924a991f7a8f4e8287f2b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cfda096b0ff5b9d408889b301c769ec4222b82a0385146b7ed0487b454577064 [INFO] running `Command { std: "docker" "start" "-a" "cfda096b0ff5b9d408889b301c769ec4222b82a0385146b7ed0487b454577064", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling cc v1.0.45 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking backtrace v0.3.37 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Checking alt-failure v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `failure` [INFO] [stdout] --> tests/macro_trailing_comma.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate failure; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `failure` [INFO] [stdout] --> tests/fail_compat.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate failure; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `failure` [INFO] [stdout] --> examples/bail_ensure.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate failure; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `failure` [INFO] [stdout] --> examples/string_custom_error_pattern.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate failure; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `failure` [INFO] [stdout] --> examples/simple.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate failure; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `failure` [INFO] [stdout] --> examples/error_as_cause.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate failure; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `failure` [INFO] [stdout] --> tests/basic_fail.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate failure; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `fail` in this scope [INFO] [stdout] --> examples/error_as_cause.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[fail(display = "my wrapping error")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `fail` in this scope [INFO] [stdout] --> examples/simple.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[fail(display = "my error")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `fail` in this scope [INFO] [stdout] --> tests/basic_fail.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[fail(display = "my error")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `fail` in this scope [INFO] [stdout] --> examples/error_as_cause.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | struct WrappingError(#[fail(cause)] Error); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `fail` in this scope [INFO] [stdout] --> tests/fail_compat.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[fail(display = "my error")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `fail` in this scope [INFO] [stdout] --> examples/simple.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[fail(display = "my wrapping error")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `fail` in this scope [INFO] [stdout] --> examples/simple.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | struct WrappingError(#[fail(cause)] MyError); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bail` in this scope [INFO] [stdout] --> examples/bail_ensure.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | bail!("ruh {}", "roh"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ensure` in this scope [INFO] [stdout] --> examples/bail_ensure.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | ensure!(true, "true is false"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ensure` in this scope [INFO] [stdout] --> examples/bail_ensure.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | ensure!(false, "false is false"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format_err` in this scope [INFO] [stdout] --> tests/macro_trailing_comma.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | format_err!("test {}", 4).to_string(), [INFO] [stdout] | ^^^^^^^^^^ help: a macro with a similar name exists: `format_args` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/macros/mod.rs:1012:5 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `format_args` defined here [INFO] [stdout] | [INFO] [stdout] = note: `format_err` is in scope, but it is a function, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `alt-failure` (example "string_custom_error_pattern") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: cannot find macro `format_err` in this scope [INFO] [stdout] --> tests/macro_trailing_comma.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | format_err!("test {}", 4,).to_string()); [INFO] [stdout] | ^^^^^^^^^^ help: a macro with a similar name exists: `format_args` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/macros/mod.rs:1012:5 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `format_args` defined here [INFO] [stdout] | [INFO] [stdout] = note: `format_err` is in scope, but it is a function, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/fail_compat.rs:15:37 [INFO] [stdout] | [INFO] [stdout] 15 | fn return_error() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 | fn return_error() -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format_err` in this scope [INFO] [stdout] --> tests/macro_trailing_comma.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | format_err!("test",).to_string()); [INFO] [stdout] | ^^^^^^^^^^ help: a macro with a similar name exists: `format_args` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/macros/mod.rs:1012:5 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `format_args` defined here [INFO] [stdout] | [INFO] [stdout] = note: `format_err` is in scope, but it is a function, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/fail_compat.rs:20:47 [INFO] [stdout] | [INFO] [stdout] 20 | fn return_error_send_sync() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | fn return_error_send_sync() -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format_err` in this scope [INFO] [stdout] --> tests/macro_trailing_comma.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | format_err!("test").to_string(), [INFO] [stdout] | ^^^^^^^^^^ help: a macro with a similar name exists: `format_args` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/macros/mod.rs:1012:5 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `format_args` defined here [INFO] [stdout] | [INFO] [stdout] = note: `format_err` is in scope, but it is a function, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ensure` in this scope [INFO] [stdout] --> tests/macro_trailing_comma.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | wrap_early_return!(ensure!(4 == 5)), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ensure` is in scope, but it is a function, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ensure` in this scope [INFO] [stdout] --> tests/macro_trailing_comma.rs:52:28 [INFO] [stdout] | [INFO] [stdout] 52 | wrap_early_return!(ensure!(true == false)), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ensure` is in scope, but it is a function, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ensure` in this scope [INFO] [stdout] --> tests/macro_trailing_comma.rs:49:28 [INFO] [stdout] | [INFO] [stdout] 49 | wrap_early_return!(ensure!(false)), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ensure` is in scope, but it is a function, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ensure` in this scope [INFO] [stdout] --> tests/macro_trailing_comma.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 43 | wrap_early_return!(ensure!(false, "test {}", 4,))); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ensure` is in scope, but it is a function, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ensure` in this scope [INFO] [stdout] --> tests/macro_trailing_comma.rs:42:28 [INFO] [stdout] | [INFO] [stdout] 42 | wrap_early_return!(ensure!(false, "test {}", 4)), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ensure` is in scope, but it is a function, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ensure` in this scope [INFO] [stdout] --> tests/macro_trailing_comma.rs:40:28 [INFO] [stdout] | [INFO] [stdout] 40 | wrap_early_return!(ensure!(false, "test",))); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ensure` is in scope, but it is a function, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ensure` in this scope [INFO] [stdout] --> tests/macro_trailing_comma.rs:39:28 [INFO] [stdout] | [INFO] [stdout] 39 | wrap_early_return!(ensure!(false, "test")), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ensure` is in scope, but it is a function, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bail` in this scope [INFO] [stdout] --> tests/macro_trailing_comma.rs:33:28 [INFO] [stdout] | [INFO] [stdout] 33 | wrap_early_return!(bail!("test {}", 4,))); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `bail` is in scope, but it is a function, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bail` in this scope [INFO] [stdout] --> tests/macro_trailing_comma.rs:32:28 [INFO] [stdout] | [INFO] [stdout] 32 | wrap_early_return!(bail!("test {}", 4)), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `bail` is in scope, but it is a function, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bail` in this scope [INFO] [stdout] --> tests/macro_trailing_comma.rs:30:28 [INFO] [stdout] | [INFO] [stdout] 30 | wrap_early_return!(bail!("test",))); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `bail` is in scope, but it is a function, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bail` in this scope [INFO] [stdout] --> tests/macro_trailing_comma.rs:29:28 [INFO] [stdout] | [INFO] [stdout] 29 | wrap_early_return!(bail!("test")), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `bail` is in scope, but it is a function, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `alt-failure` (example "bail_ensure") due to 5 previous errors [INFO] [stderr] error: could not compile `alt-failure` (example "error_as_cause") due to 4 previous errors [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `alt-failure` (example "simple") due to 5 previous errors [INFO] [stderr] error: could not compile `alt-failure` (test "fail_compat") due to 3 previous errors; 2 warnings emitted [INFO] [stdout] error[E0599]: `MyError` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/basic_fail.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 10 | struct MyError; [INFO] [stdout] | -------------- method `to_string` not found for this struct because it doesn't satisfy `MyError: ToString` or `MyError: std::fmt::Display` [INFO] [stdout] ... [INFO] [stdout] 14 | assert_eq!(err.to_string(), "my error"); [INFO] [stdout] | ^^^^^^^^^ `MyError` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `MyError: std::fmt::Display` [INFO] [stdout] which is required by `MyError: ToString` [INFO] [stdout] note: the trait `std::fmt::Display` must be implemented [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/fmt/mod.rs:705:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `to_string`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `alt-failure` (test "macro_trailing_comma") due to 17 previous errors [INFO] [stdout] error[E0599]: no method named `name` found for struct `MyError` in the current scope [INFO] [stdout] --> tests/basic_fail.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 10 | struct MyError; [INFO] [stdout] | -------------- method `name` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 15 | assert_eq!(err.name(), Some("basic_fail::MyError")); [INFO] [stdout] | ^^^^ method not found in `MyError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `context` found for struct `MyError` in the current scope [INFO] [stdout] --> tests/basic_fail.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 10 | struct MyError; [INFO] [stdout] | -------------- method `context` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 17 | let ctx = err.context("whatever"); [INFO] [stdout] | ^^^^^^^ method not found in `MyError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `alt-failure` (test "basic_fail") due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "cfda096b0ff5b9d408889b301c769ec4222b82a0385146b7ed0487b454577064", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfda096b0ff5b9d408889b301c769ec4222b82a0385146b7ed0487b454577064", kill_on_drop: false }` [INFO] [stdout] cfda096b0ff5b9d408889b301c769ec4222b82a0385146b7ed0487b454577064