[INFO] fetching crate mabe 1.5.0... [INFO] checking mabe-1.5.0 against master#bbe853615821442ef11d6cd42a30a73432b38d89 for pr-154205 [INFO] extracting crate mabe 1.5.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate mabe 1.5.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate mabe 1.5.0 [INFO] tweaked toml for crates.io crate mabe 1.5.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate mabe 1.5.0 on toolchain bbe853615821442ef11d6cd42a30a73432b38d89 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bbe853615821442ef11d6cd42a30a73432b38d89" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate mabe 1.5.0 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" "+bbe853615821442ef11d6cd42a30a73432b38d89" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v1.0.89 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+bbe853615821442ef11d6cd42a30a73432b38d89" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 93e00ccbfa682eb4229541c7e314fd67677cbb6b3bf5b712f0304f8ee933ba25 [INFO] running `Command { std: "docker" "start" "-a" "93e00ccbfa682eb4229541c7e314fd67677cbb6b3bf5b712f0304f8ee933ba25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "93e00ccbfa682eb4229541c7e314fd67677cbb6b3bf5b712f0304f8ee933ba25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93e00ccbfa682eb4229541c7e314fd67677cbb6b3bf5b712f0304f8ee933ba25", kill_on_drop: false }` [INFO] [stdout] 93e00ccbfa682eb4229541c7e314fd67677cbb6b3bf5b712f0304f8ee933ba25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+bbe853615821442ef11d6cd42a30a73432b38d89" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 29d07be4858fc19f071162b490276cdbe6192e035b11368a94317a2814393594 [INFO] running `Command { std: "docker" "start" "-a" "29d07be4858fc19f071162b490276cdbe6192e035b11368a94317a2814393594", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking unicode-ident v1.0.13 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking mabe v1.5.0 (/opt/rustwide/workdir) [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> tests/struct_variants.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Mabe)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> tests/tuple_variants.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Mabe)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> tests/unit_variants.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Mabe)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `state` found for enum `Error` in the current scope [INFO] [stdout] --> tests/tuple_variants.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ---------- method `state` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 24 | assert_eq!(error1.state(), "Error::Tuple1(x)"); [INFO] [stdout] | ^^^^^ method not found in `Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `state` found for enum `Error` in the current scope [INFO] [stdout] --> tests/struct_variants.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ---------- method `state` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 24 | assert_eq!(error1.state(), "Error::Struct1 { msg: Something... }"); [INFO] [stdout] | ^^^^^ method not found in `Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `state` found for enum `Error` in the current scope [INFO] [stdout] --> tests/unit_variants.rs:55:23 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ---------- method `state` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 55 | assert_eq!(error1.state(), "Error::Unit1"); [INFO] [stdout] | ^^^^^ method not found in `Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `error` found for enum `Error` in the current scope [INFO] [stdout] --> tests/tuple_variants.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ---------- method `error` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 25 | assert_eq!(error1.error(), "The error message for Tuple1. The placeholders are: x, y, {0}, msg, and {cause}."); [INFO] [stdout] | ^^^^^ method not found in `Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `error` found for enum `Error` in the current scope [INFO] [stdout] --> tests/struct_variants.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ---------- method `error` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 25 | assert_eq!(error1.error(), "The error message for Struct1. The placeholders are: 0, Something..., {0}, None, and {None}."); [INFO] [stdout] | ^^^^^ method not found in `Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `error` found for enum `Error` in the current scope [INFO] [stdout] --> tests/unit_variants.rs:56:23 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ---------- method `error` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 56 | assert_eq!(error1.error(), "The error message for Unit1. This is a test."); [INFO] [stdout] | ^^^^^ method not found in `Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `debug` found for enum `Error` in the current scope [INFO] [stdout] --> tests/struct_variants.rs:26:23 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ---------- method `debug` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 26 | assert_eq!(error1.debug(), "The debug message for Struct1. The placeholders are: 007, 420, 000, and false."); [INFO] [stdout] | ^^^^^ method not found in `Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `debug` found for enum `Error` in the current scope [INFO] [stdout] --> tests/tuple_variants.rs:26:23 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ---------- method `debug` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 26 | assert_eq!(error1.debug(), "The debug message for Tuple1. The placeholders are: 007, 420, 000, and false."); [INFO] [stdout] | ^^^^^ method not found in `Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `debug` found for enum `Error` in the current scope [INFO] [stdout] --> tests/unit_variants.rs:57:23 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ---------- method `debug` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 57 | assert_eq!(error1.debug(), ""); [INFO] [stdout] | ^^^^^ method not found in `Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/struct_variants.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ---------- method `to_string` not found for this enum because it doesn't satisfy `Error: ToString` or `Error: std::fmt::Display` [INFO] [stdout] ... [INFO] [stdout] 30 | error1.to_string(), [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `Error` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Error: std::fmt::Display` [INFO] [stdout] which is required by `Error: ToString` [INFO] [stdout] note: the trait `std::fmt::Display` must be implemented [INFO] [stdout] --> /rustc/bbe853615821442ef11d6cd42a30a73432b38d89/library/core/src/fmt/mod.rs:1187:0 [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[E0599]: `Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/tuple_variants.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ---------- method `to_string` not found for this enum because it doesn't satisfy `Error: ToString` or `Error: std::fmt::Display` [INFO] [stdout] ... [INFO] [stdout] 30 | error1.to_string(), [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `Error` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Error: std::fmt::Display` [INFO] [stdout] which is required by `Error: ToString` [INFO] [stdout] note: the trait `std::fmt::Display` must be implemented [INFO] [stdout] --> /rustc/bbe853615821442ef11d6cd42a30a73432b38d89/library/core/src/fmt/mod.rs:1187:0 [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[E0599]: `Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/unit_variants.rs:60:23 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ---------- method `to_string` not found for this enum because it doesn't satisfy `Error: ToString` or `Error: std::fmt::Display` [INFO] [stdout] ... [INFO] [stdout] 60 | assert_eq!(error1.to_string(), "\n[error] The error message for Unit1. This is a test."); [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `Error` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Error: std::fmt::Display` [INFO] [stdout] which is required by `Error: ToString` [INFO] [stdout] note: the trait `std::fmt::Display` must be implemented [INFO] [stdout] --> /rustc/bbe853615821442ef11d6cd42a30a73432b38d89/library/core/src/fmt/mod.rs:1187:0 [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[E0277]: `Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/unit_variants.rs:65:20 [INFO] [stdout] | [INFO] [stdout] 65 | println!("{}", error1); [INFO] [stdout] | -- ^^^^^^ `Error` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `Error` [INFO] [stdout] --> tests/unit_variants.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/tuple_variants.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 40 | println!("{}", error1); [INFO] [stdout] | -- ^^^^^^ `Error` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `Error` [INFO] [stdout] --> tests/tuple_variants.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/struct_variants.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 40 | println!("{}", error1); [INFO] [stdout] | -- ^^^^^^ `Error` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `Error` [INFO] [stdout] --> tests/struct_variants.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `state` found for enum `Error` in the current scope [INFO] [stdout] --> tests/struct_variants.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ---------- method `state` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 43 | assert_eq!(error2.state(), "Error::Struct2 { speed: 100 }"); [INFO] [stdout] | ^^^^^ method not found in `Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `state` found for enum `Error` in the current scope [INFO] [stdout] --> tests/tuple_variants.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ---------- method `state` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 43 | assert_eq!(error2.state(), "Error::Tuple2(-53)"); [INFO] [stdout] | ^^^^^ method not found in `Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `state` found for enum `Error` in the current scope [INFO] [stdout] --> tests/unit_variants.rs:68:23 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ---------- method `state` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 68 | assert_eq!(error2.state(), "Error::Unit2"); [INFO] [stdout] | ^^^^^ method not found in `Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `error` found for enum `Error` in the current scope [INFO] [stdout] --> tests/struct_variants.rs:44:23 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ---------- method `error` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 44 | assert_eq!(error2.error(), "The error message for Struct2. The placeholders are: , {}, {msg}, 100, and height."); [INFO] [stdout] | ^^^^^ method not found in `Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `error` found for enum `Error` in the current scope [INFO] [stdout] --> tests/tuple_variants.rs:44:23 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ---------- method `error` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 44 | assert_eq!(error2.error(), "The error message for Tuple2. The placeholders are: , {}, {-53}, 1.5, and -53."); [INFO] [stdout] | ^^^^^ method not found in `Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `error` found for enum `Error` in the current scope [INFO] [stdout] --> tests/unit_variants.rs:69:23 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ---------- method `error` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 69 | assert_eq!(error2.error(), "The error message for Unit2. This is a {test}."); [INFO] [stdout] | ^^^^^ method not found in `Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `debug` found for enum `Error` in the current scope [INFO] [stdout] --> tests/struct_variants.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ---------- method `debug` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 45 | assert_eq!(error2.debug(), "The debug message for Struct2. The placeholders are: comment, -0, 0, and 0."); [INFO] [stdout] | ^^^^^ method not found in `Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `debug` found for enum `Error` in the current scope [INFO] [stdout] --> tests/tuple_variants.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ---------- method `debug` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 45 | assert_eq!(error2.debug(), "The debug message for Tuple2. The placeholders are: -53, -0, -53, and 0."); [INFO] [stdout] | ^^^^^ method not found in `Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `debug` found for enum `Error` in the current scope [INFO] [stdout] --> tests/unit_variants.rs:70:23 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ---------- method `debug` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 70 | assert_eq!(error2.debug(), "The debug message for Unit2. This is a {test}."); [INFO] [stdout] | ^^^^^ method not found in `Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/struct_variants.rs:49:16 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ---------- method `to_string` not found for this enum because it doesn't satisfy `Error: ToString` or `Error: std::fmt::Display` [INFO] [stdout] ... [INFO] [stdout] 49 | error2.to_string(), [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `Error` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Error: std::fmt::Display` [INFO] [stdout] which is required by `Error: ToString` [INFO] [stdout] note: the trait `std::fmt::Display` must be implemented [INFO] [stdout] --> /rustc/bbe853615821442ef11d6cd42a30a73432b38d89/library/core/src/fmt/mod.rs:1187:0 [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[E0599]: `Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/tuple_variants.rs:49:16 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ---------- method `to_string` not found for this enum because it doesn't satisfy `Error: ToString` or `Error: std::fmt::Display` [INFO] [stdout] ... [INFO] [stdout] 49 | error2.to_string(), [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `Error` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Error: std::fmt::Display` [INFO] [stdout] which is required by `Error: ToString` [INFO] [stdout] note: the trait `std::fmt::Display` must be implemented [INFO] [stdout] --> /rustc/bbe853615821442ef11d6cd42a30a73432b38d89/library/core/src/fmt/mod.rs:1187:0 [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[E0277]: `Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/struct_variants.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 59 | println!("{}", error2); [INFO] [stdout] | -- ^^^^^^ `Error` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `Error` [INFO] [stdout] --> tests/struct_variants.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/tuple_variants.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 59 | println!("{}", error2); [INFO] [stdout] | -- ^^^^^^ `Error` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `Error` [INFO] [stdout] --> tests/tuple_variants.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/unit_variants.rs:74:16 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ---------- method `to_string` not found for this enum because it doesn't satisfy `Error: ToString` or `Error: std::fmt::Display` [INFO] [stdout] ... [INFO] [stdout] 74 | error2.to_string(), [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `Error` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Error: std::fmt::Display` [INFO] [stdout] which is required by `Error: ToString` [INFO] [stdout] note: the trait `std::fmt::Display` must be implemented [INFO] [stdout] --> /rustc/bbe853615821442ef11d6cd42a30a73432b38d89/library/core/src/fmt/mod.rs:1187:0 [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[E0277]: `Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/unit_variants.rs:84:20 [INFO] [stdout] | [INFO] [stdout] 84 | println!("{}", error2); [INFO] [stdout] | -- ^^^^^^ `Error` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `Error` [INFO] [stdout] --> tests/unit_variants.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `state` found for enum `Error` in the current scope [INFO] [stdout] --> tests/tuple_variants.rs:62:23 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ---------- method `state` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 62 | assert_eq!(error3.state(), "Error::Tuple3(msg, 100487, 3.1415)"); [INFO] [stdout] | ^^^^^ method not found in `Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `state` found for enum `Error` in the current scope [INFO] [stdout] --> tests/struct_variants.rs:62:23 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ---------- method `state` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 62 | assert_eq!(error3.state(), "Error::Struct3 { comment: msg, height: 100487, ratio: 3.1415 }"); [INFO] [stdout] | ^^^^^ method not found in `Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `state` found for enum `Error` in the current scope [INFO] [stdout] --> tests/unit_variants.rs:87:23 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ---------- method `state` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 87 | assert_eq!(error3.state(), "Error::Unit3"); [INFO] [stdout] | ^^^^^ method not found in `Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `error` found for enum `Error` in the current scope [INFO] [stdout] --> tests/tuple_variants.rs:63:23 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ---------- method `error` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 63 | assert_eq!(error3.error(), "The error message for Tuple3. The placeholders are: {0}, 3.1415, 100487, 3.1415, and {--1}."); [INFO] [stdout] | ^^^^^ method not found in `Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `error` found for enum `Error` in the current scope [INFO] [stdout] --> tests/struct_variants.rs:63:23 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ---------- method `error` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 63 | assert_eq!(error3.error(), "The error message for Struct3. The placeholders are: {0}, 3.1415, 100487, 2, and {--1}."); [INFO] [stdout] | ^^^^^ method not found in `Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `error` found for enum `Error` in the current scope [INFO] [stdout] --> tests/unit_variants.rs:88:23 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ---------- method `error` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 88 | assert_eq!(error3.error(), "The error message for Unit3. This is a test}."); [INFO] [stdout] | ^^^^^ method not found in `Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `debug` found for enum `Error` in the current scope [INFO] [stdout] --> tests/tuple_variants.rs:64:23 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ---------- method `debug` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 64 | assert_eq!(error3.debug(), "The debug message for Tuple3. The placeholders are: 100487, {msg}, 3.1415, and {1}."); [INFO] [stdout] | ^^^^^ method not found in `Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `debug` found for enum `Error` in the current scope [INFO] [stdout] --> tests/struct_variants.rs:64:23 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ---------- method `debug` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 64 | assert_eq!(error3.debug(), "The debug message for Struct3. The placeholders are: msg, {0}, 3.1415, and {ratio}."); [INFO] [stdout] | ^^^^^ method not found in `Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/tuple_variants.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ---------- method `to_string` not found for this enum because it doesn't satisfy `Error: ToString` or `Error: std::fmt::Display` [INFO] [stdout] ... [INFO] [stdout] 68 | error3.to_string(), [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `Error` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Error: std::fmt::Display` [INFO] [stdout] which is required by `Error: ToString` [INFO] [stdout] note: the trait `std::fmt::Display` must be implemented [INFO] [stdout] --> /rustc/bbe853615821442ef11d6cd42a30a73432b38d89/library/core/src/fmt/mod.rs:1187:0 [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[E0599]: no method named `debug` found for enum `Error` in the current scope [INFO] [stdout] --> tests/unit_variants.rs:89:23 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ---------- method `debug` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 89 | assert_eq!(error3.debug(), "The debug message for Unit3. This is a {test."); [INFO] [stdout] | ^^^^^ method not found in `Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/tuple_variants.rs:78:20 [INFO] [stdout] | [INFO] [stdout] 78 | println!("{}", error3); [INFO] [stdout] | -- ^^^^^^ `Error` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `Error` [INFO] [stdout] --> tests/tuple_variants.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/struct_variants.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ---------- method `to_string` not found for this enum because it doesn't satisfy `Error: ToString` or `Error: std::fmt::Display` [INFO] [stdout] ... [INFO] [stdout] 68 | error3.to_string(), [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `Error` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Error: std::fmt::Display` [INFO] [stdout] which is required by `Error: ToString` [INFO] [stdout] note: the trait `std::fmt::Display` must be implemented [INFO] [stdout] --> /rustc/bbe853615821442ef11d6cd42a30a73432b38d89/library/core/src/fmt/mod.rs:1187:0 [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[E0277]: `Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/struct_variants.rs:78:20 [INFO] [stdout] | [INFO] [stdout] 78 | println!("{}", error3); [INFO] [stdout] | -- ^^^^^^ `Error` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `Error` [INFO] [stdout] --> tests/struct_variants.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/unit_variants.rs:93:16 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ---------- method `to_string` not found for this enum because it doesn't satisfy `Error: ToString` or `Error: std::fmt::Display` [INFO] [stdout] ... [INFO] [stdout] 93 | error3.to_string(), [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `Error` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Error: std::fmt::Display` [INFO] [stdout] which is required by `Error: ToString` [INFO] [stdout] note: the trait `std::fmt::Display` must be implemented [INFO] [stdout] --> /rustc/bbe853615821442ef11d6cd42a30a73432b38d89/library/core/src/fmt/mod.rs:1187:0 [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[E0277]: `Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/unit_variants.rs:103:20 [INFO] [stdout] | [INFO] [stdout] 103 | println!("{}", error3); [INFO] [stdout] | -- ^^^^^^ `Error` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `Error` [INFO] [stdout] --> tests/unit_variants.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `state` found for enum `Error` in the current scope [INFO] [stdout] --> tests/unit_variants.rs:106:23 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ---------- method `state` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 106 | assert_eq!(error4.state(), "Error::Unit4"); [INFO] [stdout] | ^^^^^ method not found in `Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `error` found for enum `Error` in the current scope [INFO] [stdout] --> tests/unit_variants.rs:107:23 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ---------- method `error` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 107 | assert_eq!(error4.error(), "The error message for Unit4. This is a {test."); [INFO] [stdout] | ^^^^^ method not found in `Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mabe` (test "tuple_variants") due to 16 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `mabe` (test "struct_variants") due to 16 previous errors [INFO] [stdout] error[E0599]: no method named `debug` found for enum `Error` in the current scope [INFO] [stdout] --> tests/unit_variants.rs:108:23 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ---------- method `debug` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 108 | assert_eq!(error4.debug(), "The debug message for Unit4. This is a test}."); [INFO] [stdout] | ^^^^^ method not found in `Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/unit_variants.rs:112:16 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ---------- method `to_string` not found for this enum because it doesn't satisfy `Error: ToString` or `Error: std::fmt::Display` [INFO] [stdout] ... [INFO] [stdout] 112 | error4.to_string(), [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `Error` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Error: std::fmt::Display` [INFO] [stdout] which is required by `Error: ToString` [INFO] [stdout] note: the trait `std::fmt::Display` must be implemented [INFO] [stdout] --> /rustc/bbe853615821442ef11d6cd42a30a73432b38d89/library/core/src/fmt/mod.rs:1187:0 [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[E0277]: `Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/unit_variants.rs:122:20 [INFO] [stdout] | [INFO] [stdout] 122 | println!("{}", error4); [INFO] [stdout] | -- ^^^^^^ `Error` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `Error` [INFO] [stdout] --> tests/unit_variants.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `state` found for enum `Error` in the current scope [INFO] [stdout] --> tests/unit_variants.rs:125:23 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ---------- method `state` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 125 | assert_eq!(error5.state(), "Error::Unit5"); [INFO] [stdout] | ^^^^^ method not found in `Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `error` found for enum `Error` in the current scope [INFO] [stdout] --> tests/unit_variants.rs:126:23 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ---------- method `error` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 126 | assert_eq!(error5.error(), "The error message for Unit5. This is a test}}."); [INFO] [stdout] | ^^^^^ method not found in `Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `debug` found for enum `Error` in the current scope [INFO] [stdout] --> tests/unit_variants.rs:127:23 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ---------- method `debug` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 127 | assert_eq!(error5.debug(), "The debug message for Unit5. This is a {{test."); [INFO] [stdout] | ^^^^^ method not found in `Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/unit_variants.rs:131:16 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ---------- method `to_string` not found for this enum because it doesn't satisfy `Error: ToString` or `Error: std::fmt::Display` [INFO] [stdout] ... [INFO] [stdout] 131 | error5.to_string(), [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `Error` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Error: std::fmt::Display` [INFO] [stdout] which is required by `Error: ToString` [INFO] [stdout] note: the trait `std::fmt::Display` must be implemented [INFO] [stdout] --> /rustc/bbe853615821442ef11d6cd42a30a73432b38d89/library/core/src/fmt/mod.rs:1187:0 [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[E0277]: `Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/unit_variants.rs:141:20 [INFO] [stdout] | [INFO] [stdout] 141 | println!("{}", error5); [INFO] [stdout] | -- ^^^^^^ `Error` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `Error` [INFO] [stdout] --> tests/unit_variants.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `state` found for enum `Error` in the current scope [INFO] [stdout] --> tests/unit_variants.rs:144:23 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ---------- method `state` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 144 | assert_eq!(error6.state(), "Error::Unit6"); [INFO] [stdout] | ^^^^^ method not found in `Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `error` found for enum `Error` in the current scope [INFO] [stdout] --> tests/unit_variants.rs:145:23 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ---------- method `error` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 145 | assert_eq!(error6.error(), "The error message for Unit6. This is a {test}."); [INFO] [stdout] | ^^^^^ method not found in `Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `debug` found for enum `Error` in the current scope [INFO] [stdout] --> tests/unit_variants.rs:146:23 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ---------- method `debug` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 146 | assert_eq!(error6.debug(), "The debug message for Unit6. This is a test}} and a {{{test."); [INFO] [stdout] | ^^^^^ method not found in `Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/unit_variants.rs:150:16 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ---------- method `to_string` not found for this enum because it doesn't satisfy `Error: ToString` or `Error: std::fmt::Display` [INFO] [stdout] ... [INFO] [stdout] 150 | error6.to_string(), [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `Error` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Error: std::fmt::Display` [INFO] [stdout] which is required by `Error: ToString` [INFO] [stdout] note: the trait `std::fmt::Display` must be implemented [INFO] [stdout] --> /rustc/bbe853615821442ef11d6cd42a30a73432b38d89/library/core/src/fmt/mod.rs:1187:0 [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[E0277]: `Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/unit_variants.rs:160:20 [INFO] [stdout] | [INFO] [stdout] 160 | println!("{}", error6); [INFO] [stdout] | -- ^^^^^^ `Error` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `Error` [INFO] [stdout] --> tests/unit_variants.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `state` found for enum `Error` in the current scope [INFO] [stdout] --> tests/unit_variants.rs:163:23 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ---------- method `state` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 163 | assert_eq!(error7.state(), "Error::Unit7"); [INFO] [stdout] | ^^^^^ method not found in `Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `error` found for enum `Error` in the current scope [INFO] [stdout] --> tests/unit_variants.rs:164:23 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ---------- method `error` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 164 | assert_eq!(error7.error(), "The error message for Unit7. This is a {test}} and a {{test}."); [INFO] [stdout] | ^^^^^ method not found in `Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `debug` found for enum `Error` in the current scope [INFO] [stdout] --> tests/unit_variants.rs:165:23 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ---------- method `debug` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 165 | assert_eq!(error7.debug(), "The debug message for Unit7. This is a test}."); [INFO] [stdout] | ^^^^^ method not found in `Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/unit_variants.rs:169:16 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ---------- method `to_string` not found for this enum because it doesn't satisfy `Error: ToString` or `Error: std::fmt::Display` [INFO] [stdout] ... [INFO] [stdout] 169 | error7.to_string(), [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `Error` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Error: std::fmt::Display` [INFO] [stdout] which is required by `Error: ToString` [INFO] [stdout] note: the trait `std::fmt::Display` must be implemented [INFO] [stdout] --> /rustc/bbe853615821442ef11d6cd42a30a73432b38d89/library/core/src/fmt/mod.rs:1187:0 [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[E0277]: `Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/unit_variants.rs:179:20 [INFO] [stdout] | [INFO] [stdout] 179 | println!("{}", error7); [INFO] [stdout] | -- ^^^^^^ `Error` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `Error` [INFO] [stdout] --> tests/unit_variants.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `state` found for enum `Error` in the current scope [INFO] [stdout] --> tests/unit_variants.rs:182:23 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ---------- method `state` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 182 | assert_eq!(error8.state(), "Error::Unit8"); [INFO] [stdout] | ^^^^^ method not found in `Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `error` found for enum `Error` in the current scope [INFO] [stdout] --> tests/unit_variants.rs:183:23 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ---------- method `error` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 183 | assert_eq!(error8.error(), "The error message for Unit8. This is a { test }."); [INFO] [stdout] | ^^^^^ method not found in `Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `debug` found for enum `Error` in the current scope [INFO] [stdout] --> tests/unit_variants.rs:184:23 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ---------- method `debug` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 184 | assert_eq!(error8.debug(), "The debug message for Unit8. This is a test and a { test }."); [INFO] [stdout] | ^^^^^ method not found in `Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/unit_variants.rs:188:16 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ---------- method `to_string` not found for this enum because it doesn't satisfy `Error: ToString` or `Error: std::fmt::Display` [INFO] [stdout] ... [INFO] [stdout] 188 | error8.to_string(), [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `Error` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Error: std::fmt::Display` [INFO] [stdout] which is required by `Error: ToString` [INFO] [stdout] note: the trait `std::fmt::Display` must be implemented [INFO] [stdout] --> /rustc/bbe853615821442ef11d6cd42a30a73432b38d89/library/core/src/fmt/mod.rs:1187:0 [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[E0277]: `Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/unit_variants.rs:198:20 [INFO] [stdout] | [INFO] [stdout] 198 | println!("{}", error8); [INFO] [stdout] | -- ^^^^^^ `Error` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `Error` [INFO] [stdout] --> tests/unit_variants.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `state` found for enum `Error` in the current scope [INFO] [stdout] --> tests/unit_variants.rs:201:23 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ---------- method `state` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 201 | assert_eq!(error9.state(), "Error::Unit9"); [INFO] [stdout] | ^^^^^ method not found in `Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `error` found for enum `Error` in the current scope [INFO] [stdout] --> tests/unit_variants.rs:202:23 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ---------- method `error` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 202 | assert_eq!(error9.error(), "The error message for Unit9. This is a test{ }."); [INFO] [stdout] | ^^^^^ method not found in `Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `debug` found for enum `Error` in the current scope [INFO] [stdout] --> tests/unit_variants.rs:203:23 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ---------- method `debug` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 203 | assert_eq!(error9.debug(), "The debug message for Unit9. This is a {test } and a { test }."); [INFO] [stdout] | ^^^^^ method not found in `Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/unit_variants.rs:207:16 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ---------- method `to_string` not found for this enum because it doesn't satisfy `Error: ToString` or `Error: std::fmt::Display` [INFO] [stdout] ... [INFO] [stdout] 207 | error9.to_string(), [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `Error` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Error: std::fmt::Display` [INFO] [stdout] which is required by `Error: ToString` [INFO] [stdout] note: the trait `std::fmt::Display` must be implemented [INFO] [stdout] --> /rustc/bbe853615821442ef11d6cd42a30a73432b38d89/library/core/src/fmt/mod.rs:1187:0 [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[E0277]: `Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/unit_variants.rs:217:20 [INFO] [stdout] | [INFO] [stdout] 217 | println!("{}", error9); [INFO] [stdout] | -- ^^^^^^ `Error` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `Error` [INFO] [stdout] --> tests/unit_variants.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `state` found for enum `Error` in the current scope [INFO] [stdout] --> tests/unit_variants.rs:220:24 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ---------- method `state` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 220 | assert_eq!(error10.state(), "Error::Unit10"); [INFO] [stdout] | ^^^^^ method not found in `Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `error` found for enum `Error` in the current scope [INFO] [stdout] --> tests/unit_variants.rs:221:24 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ---------- method `error` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 221 | assert_eq!(error10.error(), "The error message for Unit10. This is a {test{}} and a {test}."); [INFO] [stdout] | ^^^^^ method not found in `Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `debug` found for enum `Error` in the current scope [INFO] [stdout] --> tests/unit_variants.rs:222:24 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ---------- method `debug` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 222 | assert_eq!(error10.debug(), "The debug message for Unit10. This is a {test{}."); [INFO] [stdout] | ^^^^^ method not found in `Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/unit_variants.rs:226:17 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ---------- method `to_string` not found for this enum because it doesn't satisfy `Error: ToString` or `Error: std::fmt::Display` [INFO] [stdout] ... [INFO] [stdout] 226 | error10.to_string(), [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `Error` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Error: std::fmt::Display` [INFO] [stdout] which is required by `Error: ToString` [INFO] [stdout] note: the trait `std::fmt::Display` must be implemented [INFO] [stdout] --> /rustc/bbe853615821442ef11d6cd42a30a73432b38d89/library/core/src/fmt/mod.rs:1187:0 [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[E0277]: `Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/unit_variants.rs:236:20 [INFO] [stdout] | [INFO] [stdout] 236 | println!("{}", error10); [INFO] [stdout] | -- ^^^^^^^ `Error` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `Error` [INFO] [stdout] --> tests/unit_variants.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `state` found for enum `Error` in the current scope [INFO] [stdout] --> tests/unit_variants.rs:239:24 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ---------- method `state` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 239 | assert_eq!(error11.state(), "Error::Unit11"); [INFO] [stdout] | ^^^^^ method not found in `Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `error` found for enum `Error` in the current scope [INFO] [stdout] --> tests/unit_variants.rs:240:24 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ---------- method `error` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 240 | assert_eq!(error11.error(), "The error message for Unit11. This is a {{}test{}."); [INFO] [stdout] | ^^^^^ method not found in `Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `debug` found for enum `Error` in the current scope [INFO] [stdout] --> tests/unit_variants.rs:241:24 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ---------- method `debug` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 241 | assert_eq!(error11.debug(), "The debug message for Unit11. This is a {test and a test{{}}."); [INFO] [stdout] | ^^^^^ method not found in `Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/unit_variants.rs:245:17 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ---------- method `to_string` not found for this enum because it doesn't satisfy `Error: ToString` or `Error: std::fmt::Display` [INFO] [stdout] ... [INFO] [stdout] 245 | error11.to_string(), [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `Error` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Error: std::fmt::Display` [INFO] [stdout] which is required by `Error: ToString` [INFO] [stdout] note: the trait `std::fmt::Display` must be implemented [INFO] [stdout] --> /rustc/bbe853615821442ef11d6cd42a30a73432b38d89/library/core/src/fmt/mod.rs:1187:0 [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[E0277]: `Error` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/unit_variants.rs:255:20 [INFO] [stdout] | [INFO] [stdout] 255 | println!("{}", error11); [INFO] [stdout] | -- ^^^^^^^ `Error` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `Error` [INFO] [stdout] --> tests/unit_variants.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mabe` (test "unit_variants") due to 56 previous errors [INFO] running `Command { std: "docker" "inspect" "29d07be4858fc19f071162b490276cdbe6192e035b11368a94317a2814393594", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29d07be4858fc19f071162b490276cdbe6192e035b11368a94317a2814393594", kill_on_drop: false }` [INFO] [stdout] 29d07be4858fc19f071162b490276cdbe6192e035b11368a94317a2814393594