[INFO] fetching crate builder-pattern 0.4.2... [INFO] checking builder-pattern-0.4.2 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate builder-pattern 0.4.2 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate builder-pattern 0.4.2 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 builder-pattern 0.4.2 [INFO] finished tweaking crates.io crate builder-pattern 0.4.2 [INFO] tweaked toml for crates.io crate builder-pattern 0.4.2 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate crates.io crate builder-pattern 0.4.2 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 tokio-test v0.4.2 [INFO] [stderr] Downloaded builder-pattern-macro v0.4.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 19193f8609d4ceb500f700dd37ecc6119ce90801a8b7872da28142a64e80d3cb [INFO] running `Command { std: "docker" "start" "-a" "19193f8609d4ceb500f700dd37ecc6119ce90801a8b7872da28142a64e80d3cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "19193f8609d4ceb500f700dd37ecc6119ce90801a8b7872da28142a64e80d3cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19193f8609d4ceb500f700dd37ecc6119ce90801a8b7872da28142a64e80d3cb", kill_on_drop: false }` [INFO] [stdout] 19193f8609d4ceb500f700dd37ecc6119ce90801a8b7872da28142a64e80d3cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] b2bdf1d8e56c836e99193c5dc0b98f60acf5856421d664a3a9b126100a1e98da [INFO] running `Command { std: "docker" "start" "-a" "b2bdf1d8e56c836e99193c5dc0b98f60acf5856421d664a3a9b126100a1e98da", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling syn v1.0.78 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking futures-sink v0.3.17 [INFO] [stderr] Checking futures-io v0.3.17 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling tokio v1.12.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Compiling tokio-macros v1.4.1 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Compiling builder-pattern-macro v0.4.2 [INFO] [stderr] Checking async-stream v0.3.2 [INFO] [stderr] Checking tokio-stream v0.1.7 [INFO] [stderr] Checking tokio-test v0.4.2 [INFO] [stderr] Checking futures-executor v0.3.17 [INFO] [stderr] Checking futures v0.3.17 [INFO] [stderr] Checking builder-pattern v0.4.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PrivateTest` [INFO] [stdout] --> examples/fail-visibility1.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | let t1 = PrivateTest::new().a(333).c(1.234).b("hello").build(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PrivateTest` [INFO] [stdout] | [INFO] [stdout] note: struct `crate::test::PrivateTest` exists but is inaccessible [INFO] [stdout] --> examples/fail-visibility1.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | struct PrivateTest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `a`, `b`, and `c` are never read [INFO] [stdout] --> examples/visibility1.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct PublicTest { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 7 | pub a: i32, [INFO] [stdout] | ^ [INFO] [stdout] 8 | pub b: Option, [INFO] [stdout] | ^ [INFO] [stdout] 9 | #[default(1.234)] [INFO] [stdout] 10 | c: f64, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `PublicTest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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 E0433`. [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `builder-pattern` (example "fail-visibility1") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> examples/default.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 5 | struct Test { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | id: Uuid, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Test` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: method `c` is private [INFO] [stdout] --> examples/fail-visibility2.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Builder, Debug)] [INFO] [stdout] | ------- private method defined here [INFO] [stdout] ... [INFO] [stdout] 19 | .c(1.234) // Cannot access `c` because it is private. [INFO] [stdout] | ^ private method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [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 E0624`. [INFO] [stdout] [INFO] [stderr] error: could not compile `builder-pattern` (example "fail-visibility2") due to 2 previous errors [INFO] [stdout] warning: fields `a`, `b`, and `c` are never read [INFO] [stdout] --> examples/visibility2.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct PublicTest { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 7 | pub a: i32, [INFO] [stdout] | ^ [INFO] [stdout] 8 | pub b: Option, [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 11 | c: f64, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `PublicTest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `age`, and `city` are never read [INFO] [stdout] --> examples/documentation.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 21 | struct Person { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub age: u8, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub city: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Person` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b2bdf1d8e56c836e99193c5dc0b98f60acf5856421d664a3a9b126100a1e98da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2bdf1d8e56c836e99193c5dc0b98f60acf5856421d664a3a9b126100a1e98da", kill_on_drop: false }` [INFO] [stdout] b2bdf1d8e56c836e99193c5dc0b98f60acf5856421d664a3a9b126100a1e98da