[INFO] fetching crate builder-pattern 0.4.2... [INFO] checking builder-pattern-0.4.2 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate builder-pattern 0.4.2 into /workspace/builds/worker-0-tc2/source [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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate builder-pattern 0.4.2 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0f2a7944e7d85e9b194623eafaebc65512ba697634437ae30d8613b4950c9f28 [INFO] running `Command { std: "docker" "start" "-a" "0f2a7944e7d85e9b194623eafaebc65512ba697634437ae30d8613b4950c9f28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f2a7944e7d85e9b194623eafaebc65512ba697634437ae30d8613b4950c9f28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f2a7944e7d85e9b194623eafaebc65512ba697634437ae30d8613b4950c9f28", kill_on_drop: false }` [INFO] [stdout] 0f2a7944e7d85e9b194623eafaebc65512ba697634437ae30d8613b4950c9f28 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d7b16f9a092ef17b8dd1862222251c4fb31c797b62d9b796e04d7dd2375fe16e [INFO] running `Command { std: "docker" "start" "-a" "d7b16f9a092ef17b8dd1862222251c4fb31c797b62d9b796e04d7dd2375fe16e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling syn v1.0.78 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling futures-task v0.3.17 [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] 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] 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[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] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [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] [stderr] error: could not compile `builder-pattern` (example "fail-visibility1") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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: 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] 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 1 previous error [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] running `Command { std: "docker" "inspect" "d7b16f9a092ef17b8dd1862222251c4fb31c797b62d9b796e04d7dd2375fe16e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7b16f9a092ef17b8dd1862222251c4fb31c797b62d9b796e04d7dd2375fe16e", kill_on_drop: false }` [INFO] [stdout] d7b16f9a092ef17b8dd1862222251c4fb31c797b62d9b796e04d7dd2375fe16e