[INFO] fetching crate makeit 0.1.1... [INFO] checking makeit-0.1.1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate makeit 0.1.1 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate makeit 0.1.1 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 makeit 0.1.1 [INFO] finished tweaking crates.io crate makeit 0.1.1 [INFO] tweaked toml for crates.io crate makeit 0.1.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate crates.io crate makeit 0.1.1 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 makeit-derive v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] d4f11bdd8917bf01de173a131921522912140d2af056934744e1a85f7287b163 [INFO] running `Command { std: "docker" "start" "-a" "d4f11bdd8917bf01de173a131921522912140d2af056934744e1a85f7287b163", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4f11bdd8917bf01de173a131921522912140d2af056934744e1a85f7287b163", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4f11bdd8917bf01de173a131921522912140d2af056934744e1a85f7287b163", kill_on_drop: false }` [INFO] [stdout] d4f11bdd8917bf01de173a131921522912140d2af056934744e1a85f7287b163 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 11f5436302a118bdf7a45f3f22f6284db67903b95efdf6feb04670eb8dbfcfd1 [INFO] running `Command { std: "docker" "start" "-a" "11f5436302a118bdf7a45f3f22f6284db67903b95efdf6feb04670eb8dbfcfd1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling makeit-derive v0.1.1 [INFO] [stderr] Checking makeit v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the trait bound `S: Default` is not satisfied [INFO] [stdout] --> examples/invalid1.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | baz: S, [INFO] [stdout] | ^ the trait `Default` is not implemented for `S` [INFO] [stdout] | [INFO] [stdout] = help: see issue #48214 [INFO] [stdout] help: consider annotating `S` with `#[derive(Default)]` [INFO] [stdout] | [INFO] [stdout] 5 + #[derive(Default)] [INFO] [stdout] 6 | struct S; [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(trivial_bounds)]` to the crate attributes to enable [INFO] [stdout] | [INFO] [stdout] 2 + #![feature(trivial_bounds)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `builder` exists for struct `Foo<'_, _>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/invalid1.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 5 | struct S; [INFO] [stdout] | -------- doesn't satisfy `S: Default` [INFO] [stdout] ... [INFO] [stdout] 8 | struct Foo<'a, T: std::fmt::Debug> { [INFO] [stdout] | ---------------------------------- function or associated item `builder` not found for this struct because it doesn't satisfy `Foo<'_, _>: Buildable` [INFO] [stdout] ... [INFO] [stdout] 15 | let x: Foo<_> = Foo::builder().set_bar(&()).set_baz(S).build(); [INFO] [stdout] | ^^^^^^^ function or associated item cannot be called on `Foo<'_, _>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `S: Default` was not satisfied [INFO] [stdout] --> examples/invalid1.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Builder)] [INFO] [stdout] | ^^^^^^^ unsatisfied trait bound introduced in this `derive` macro [INFO] [stdout] help: consider annotating `S` with `#[derive(Default)]` [INFO] [stdout] | [INFO] [stdout] 5 + #[derive(Default)] [INFO] [stdout] 6 | struct S; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `builder` exists for struct `Foo<'_, _>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/invalid1.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 5 | struct S; [INFO] [stdout] | -------- doesn't satisfy `S: Default` [INFO] [stdout] ... [INFO] [stdout] 8 | struct Foo<'a, T: std::fmt::Debug> { [INFO] [stdout] | ---------------------------------- function or associated item `builder` not found for this struct because it doesn't satisfy `Foo<'_, _>: Buildable` [INFO] [stdout] ... [INFO] [stdout] 17 | let x: Foo<_> = Foo::builder().set_bar(&()).build(); [INFO] [stdout] | ^^^^^^^ function or associated item cannot be called on `Foo<'_, _>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `S: Default` was not satisfied [INFO] [stdout] --> examples/invalid1.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Builder)] [INFO] [stdout] | ^^^^^^^ unsatisfied trait bound introduced in this `derive` macro [INFO] [stdout] help: consider annotating `S` with `#[derive(Default)]` [INFO] [stdout] | [INFO] [stdout] 5 + #[derive(Default)] [INFO] [stdout] 6 | struct S; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Buildable` [INFO] [stdout] --> examples/invalid1.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use makeit::{Buildable, Builder}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [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 `makeit` (example "invalid1") due to 4 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/invalid2.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | #[default(32)] [INFO] [stdout] | ^^^^ expected `Option`, found integer [INFO] [stdout] 8 | baz: Option, [INFO] [stdout] | --- arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found type `{integer}` [INFO] [stdout] note: method defined here [INFO] [stdout] --> examples/invalid2.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Builder)] [INFO] [stdout] | ------- [INFO] [stdout] ... [INFO] [stdout] 8 | baz: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 7 | #[defaultSome((32))] [INFO] [stdout] | +++++ + [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 E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `makeit` (example "invalid2") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "11f5436302a118bdf7a45f3f22f6284db67903b95efdf6feb04670eb8dbfcfd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11f5436302a118bdf7a45f3f22f6284db67903b95efdf6feb04670eb8dbfcfd1", kill_on_drop: false }` [INFO] [stdout] 11f5436302a118bdf7a45f3f22f6284db67903b95efdf6feb04670eb8dbfcfd1