[INFO] fetching crate makeit 0.1.1... [INFO] testing makeit-0.1.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate makeit 0.1.1 into /workspace/builds/worker-5-tc1/source [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] validating manifest of crates.io crate makeit 0.1.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unicode-xid v0.2.2 [INFO] [stderr] Downloaded makeit-derive v0.1.1 [INFO] [stderr] Downloaded proc-macro2 v1.0.36 [INFO] [stderr] Downloaded quote v1.0.15 [INFO] [stderr] Downloaded syn v1.0.86 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a7ccc96bc2c0cb7f21bc93e96f2ea1acbad5f5781266847f9943dcff3832b66e [INFO] running `Command { std: "docker" "start" "-a" "a7ccc96bc2c0cb7f21bc93e96f2ea1acbad5f5781266847f9943dcff3832b66e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7ccc96bc2c0cb7f21bc93e96f2ea1acbad5f5781266847f9943dcff3832b66e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7ccc96bc2c0cb7f21bc93e96f2ea1acbad5f5781266847f9943dcff3832b66e", kill_on_drop: false }` [INFO] [stdout] a7ccc96bc2c0cb7f21bc93e96f2ea1acbad5f5781266847f9943dcff3832b66e [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f3e96d059df580a133c06e3b1ad200bd7b2c2c1deae4f86b286d7a2a873881a [INFO] running `Command { std: "docker" "start" "-a" "7f3e96d059df580a133c06e3b1ad200bd7b2c2c1deae4f86b286d7a2a873881a", 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] Compiling makeit v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.42s [INFO] running `Command { std: "docker" "inspect" "7f3e96d059df580a133c06e3b1ad200bd7b2c2c1deae4f86b286d7a2a873881a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f3e96d059df580a133c06e3b1ad200bd7b2c2c1deae4f86b286d7a2a873881a", kill_on_drop: false }` [INFO] [stdout] 7f3e96d059df580a133c06e3b1ad200bd7b2c2c1deae4f86b286d7a2a873881a [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7da51580904d76ee279e27815010bfaef42c2b7468bb18680531b0aee5b47261 [INFO] running `Command { std: "docker" "start" "-a" "7da51580904d76ee279e27815010bfaef42c2b7468bb18680531b0aee5b47261", kill_on_drop: false }` [INFO] [stderr] Compiling makeit v0.1.1 (/opt/rustwide/workdir) [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] [stderr] error: could not compile `makeit` (example "invalid2") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] [stderr] error: could not compile `makeit` (example "invalid1") due to 3 previous errors [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] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7da51580904d76ee279e27815010bfaef42c2b7468bb18680531b0aee5b47261", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7da51580904d76ee279e27815010bfaef42c2b7468bb18680531b0aee5b47261", kill_on_drop: false }` [INFO] [stdout] 7da51580904d76ee279e27815010bfaef42c2b7468bb18680531b0aee5b47261