[INFO] fetching crate displaydoc-watt 0.1.0... [INFO] checking displaydoc-watt-0.1.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate displaydoc-watt 0.1.0 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate displaydoc-watt 0.1.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate displaydoc-watt 0.1.0 [INFO] finished tweaking crates.io crate displaydoc-watt 0.1.0 [INFO] tweaked toml for crates.io crate displaydoc-watt 0.1.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate crates.io crate displaydoc-watt 0.1.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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ryu v1.0.2 [INFO] [stderr] Downloaded ctor v0.1.12 [INFO] [stderr] Downloaded rustversion v1.0.0 [INFO] [stderr] Downloaded termcolor v1.0.5 [INFO] [stderr] Downloaded output_vt100 v0.1.2 [INFO] [stderr] Downloaded trybuild v1.0.17 [INFO] [stderr] Downloaded watt v0.3.0 [INFO] [stderr] Downloaded serde_json v1.0.41 [INFO] [stderr] Downloaded wincolor v1.0.2 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 66cd4830ef563b39a810dd896334a45eba7826d14c9e86167f239f639b9a904d [INFO] running `Command { std: "docker" "start" "-a" "66cd4830ef563b39a810dd896334a45eba7826d14c9e86167f239f639b9a904d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "66cd4830ef563b39a810dd896334a45eba7826d14c9e86167f239f639b9a904d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66cd4830ef563b39a810dd896334a45eba7826d14c9e86167f239f639b9a904d", kill_on_drop: false }` [INFO] [stdout] 66cd4830ef563b39a810dd896334a45eba7826d14c9e86167f239f639b9a904d [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad009f8e597296d80893868741d9aa9781d99268b080518d3a7a0d5e763234be [INFO] running `Command { std: "docker" "start" "-a" "ad009f8e597296d80893868741d9aa9781d99268b080518d3a7a0d5e763234be", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking watt v0.3.0 [INFO] [stderr] Checking termcolor v1.0.5 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking pretty_assertions v0.6.1 [INFO] [stderr] Checking static_assertions v0.3.4 [INFO] [stderr] Checking displaydoc-watt v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling serde_derive v1.0.102 [INFO] [stderr] Compiling rustversion v1.0.0 [INFO] [stderr] Checking serde_json v1.0.41 [INFO] [stderr] Checking toml v0.5.5 [INFO] [stderr] Checking trybuild v1.0.17 [INFO] [stdout] error: expected one of: `for`, parentheses, `fn`, `unsafe`, `extern`, identifier, `::`, `<`, square brackets, `*`, `&`, `!`, `impl`, `_`, lifetime [INFO] [stdout] --> tests/happy.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | thing: &'static str, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `>`, a const expression, lifetime, or type, found `'` [INFO] [stdout] --> examples/simple.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Display)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected one of `>`, a const expression, lifetime, or type [INFO] [stdout] | while parsing this item list starting here [INFO] [stdout] | the item list ends here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `displaydoc-watt` (example "simple") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: expected one of: `for`, parentheses, `fn`, `unsafe`, `extern`, identifier, `::`, `<`, square brackets, `*`, `&`, `!`, `impl`, `_`, lifetime [INFO] [stdout] --> tests/happy.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | Variant3 { sometimes: &'static str }, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Happy` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/happy.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | assert_display(Happy::Variant1, "I really like Variant1"); [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^ `Happy` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `Happy` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] note: required by a bound in `assert_display` [INFO] [stdout] --> tests/happy.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | fn assert_display(input: T, expected: &'static str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `assert_display` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Happy` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/happy.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | assert_display(Happy::Variant2, "Variant2 is pretty swell 2"); [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^ `Happy` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `Happy` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] note: required by a bound in `assert_display` [INFO] [stdout] --> tests/happy.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | fn assert_display(input: T, expected: &'static str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `assert_display` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Happy` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/happy.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | assert_display(Happy::Variant3 { sometimes: "hi" }, "Variant3 is okay hi"); [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Happy` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `Happy` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] note: required by a bound in `assert_display` [INFO] [stdout] --> tests/happy.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | fn assert_display(input: T, expected: &'static str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `assert_display` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Happy` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/happy.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 45 | assert_display( [INFO] [stdout] | -------------- required by a bound introduced by this call [INFO] [stdout] 46 | Happy::Variant4, [INFO] [stdout] | ^^^^^^^^^^^^^^^ `Happy` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `Happy` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] note: required by a bound in `assert_display` [INFO] [stdout] --> tests/happy.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | fn assert_display(input: T, expected: &'static str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `assert_display` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Happy` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/happy.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | assert_display(Happy::Variant5(2), "Variant5 just has 2 many problems"); [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^ `Happy` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `Happy` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] note: required by a bound in `assert_display` [INFO] [stdout] --> tests/happy.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | fn assert_display(input: T, expected: &'static str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `assert_display` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `HappyStruct` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/happy.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 51 | assert_display(HappyStruct { thing: "hi" }, "Just a basic struct hi"); [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ `HappyStruct` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `HappyStruct` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] note: required by a bound in `assert_display` [INFO] [stdout] --> tests/happy.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | fn assert_display(input: T, expected: &'static str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `assert_display` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Happy` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/happy.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 57 | assert_display( [INFO] [stdout] | -------------- required by a bound introduced by this call [INFO] [stdout] 58 | Happy::Variant6(PathBuf::from("/var/log/happy")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Happy` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `Happy` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] note: required by a bound in `assert_display` [INFO] [stdout] --> tests/happy.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | fn assert_display(input: T, expected: &'static str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `assert_display` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `displaydoc-watt` (test "happy") due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "ad009f8e597296d80893868741d9aa9781d99268b080518d3a7a0d5e763234be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad009f8e597296d80893868741d9aa9781d99268b080518d3a7a0d5e763234be", kill_on_drop: false }` [INFO] [stdout] ad009f8e597296d80893868741d9aa9781d99268b080518d3a7a0d5e763234be