[INFO] cloning repository https://github.com/Hexadecimaaal/cnfsynth [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Hexadecimaaal/cnfsynth" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHexadecimaaal%2Fcnfsynth", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHexadecimaaal%2Fcnfsynth'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0d85ac47332d7268b644b547b3103ebb22b7d9cc [INFO] checking Hexadecimaaal/cnfsynth against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHexadecimaaal%2Fcnfsynth" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Hexadecimaaal/cnfsynth [INFO] finished tweaking git repo https://github.com/Hexadecimaaal/cnfsynth [INFO] tweaked toml for git repo https://github.com/Hexadecimaaal/cnfsynth written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Hexadecimaaal/cnfsynth on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Hexadecimaaal/cnfsynth 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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] be543858cb27df83c9dea82b0a6f6b9a9376a1baafa011719d46f34109fcf7bf [INFO] running `Command { std: "docker" "start" "-a" "be543858cb27df83c9dea82b0a6f6b9a9376a1baafa011719d46f34109fcf7bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be543858cb27df83c9dea82b0a6f6b9a9376a1baafa011719d46f34109fcf7bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be543858cb27df83c9dea82b0a6f6b9a9376a1baafa011719d46f34109fcf7bf", kill_on_drop: false }` [INFO] [stdout] be543858cb27df83c9dea82b0a6f6b9a9376a1baafa011719d46f34109fcf7bf [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d5caf53b45ae802f801358dd465e8d647cba71358f791c5e28157f600ff141f2 [INFO] running `Command { std: "docker" "start" "-a" "d5caf53b45ae802f801358dd465e8d647cba71358f791c5e28157f600ff141f2", kill_on_drop: false }` [INFO] [stderr] Checking cnfsynth v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `FullAdder` [INFO] [stdout] --> src/main.rs:9:45 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::bit::{Allocate, Allocation, Bit, FullAdder, RippleAdder, RippleAdderInput, Synthesize, View}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cell::OnceCell` and `rc::Rc` [INFO] [stdout] --> src/bit.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{cell::OnceCell, rc::Rc}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FullAdder` [INFO] [stdout] --> src/main.rs:9:45 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::bit::{Allocate, Allocation, Bit, FullAdder, RippleAdder, RippleAdderInput, Synthesize, View}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cell::OnceCell` and `rc::Rc` [INFO] [stdout] --> src/bit.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{cell::OnceCell, rc::Rc}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/cnf.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | for (i, lit) in self.lits.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `vars` is never used [INFO] [stdout] --> src/bit.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait Allocation { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] 9 | type Output; [INFO] [stdout] 10 | fn vars(&self) -> impl IntoIterator; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Assert` is never constructed [INFO] [stdout] --> src/bit.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct Assert; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NotAllocation` is never constructed [INFO] [stdout] --> src/bit.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct NotAllocation(Lit); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Not` is never constructed [INFO] [stdout] --> src/bit.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 104 | pub struct Not; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AllAllocation` is never constructed [INFO] [stdout] --> src/bit.rs:195:12 [INFO] [stdout] | [INFO] [stdout] 195 | pub struct AllAllocation(Lit); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `All` is never constructed [INFO] [stdout] --> src/bit.rs:229:12 [INFO] [stdout] | [INFO] [stdout] 229 | pub struct All; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AnyAllocation` is never constructed [INFO] [stdout] --> src/bit.rs:244:12 [INFO] [stdout] | [INFO] [stdout] 244 | pub struct AnyAllocation(Lit); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Any` is never constructed [INFO] [stdout] --> src/bit.rs:278:12 [INFO] [stdout] | [INFO] [stdout] 278 | pub struct Any; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `s`, `p`, and `g` are never read [INFO] [stdout] --> src/bit.rs:481:9 [INFO] [stdout] | [INFO] [stdout] 480 | pub struct FullAdderOutput { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 481 | pub s: Lit, [INFO] [stdout] | ^ [INFO] [stdout] 482 | pub c_out: Lit, [INFO] [stdout] 483 | pub p: Lit, [INFO] [stdout] | ^ [INFO] [stdout] 484 | pub g: Lit, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `s` and `c_out` are never read [INFO] [stdout] --> src/bit.rs:636:5 [INFO] [stdout] | [INFO] [stdout] 635 | pub struct RippleAdderView { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 636 | s : i64, [INFO] [stdout] | ^ [INFO] [stdout] 637 | c_out : bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RippleAdderView` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/cnf.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | for (i, lit) in self.lits.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `vars` is never used [INFO] [stdout] --> src/bit.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait Allocation { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] 9 | type Output; [INFO] [stdout] 10 | fn vars(&self) -> impl IntoIterator; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Assert` is never constructed [INFO] [stdout] --> src/bit.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct Assert; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NotAllocation` is never constructed [INFO] [stdout] --> src/bit.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct NotAllocation(Lit); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Not` is never constructed [INFO] [stdout] --> src/bit.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 104 | pub struct Not; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AllAllocation` is never constructed [INFO] [stdout] --> src/bit.rs:195:12 [INFO] [stdout] | [INFO] [stdout] 195 | pub struct AllAllocation(Lit); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `All` is never constructed [INFO] [stdout] --> src/bit.rs:229:12 [INFO] [stdout] | [INFO] [stdout] 229 | pub struct All; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AnyAllocation` is never constructed [INFO] [stdout] --> src/bit.rs:244:12 [INFO] [stdout] | [INFO] [stdout] 244 | pub struct AnyAllocation(Lit); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Any` is never constructed [INFO] [stdout] --> src/bit.rs:278:12 [INFO] [stdout] | [INFO] [stdout] 278 | pub struct Any; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `s`, `p`, and `g` are never read [INFO] [stdout] --> src/bit.rs:481:9 [INFO] [stdout] | [INFO] [stdout] 480 | pub struct FullAdderOutput { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 481 | pub s: Lit, [INFO] [stdout] | ^ [INFO] [stdout] 482 | pub c_out: Lit, [INFO] [stdout] 483 | pub p: Lit, [INFO] [stdout] | ^ [INFO] [stdout] 484 | pub g: Lit, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `s` and `c_out` are never read [INFO] [stdout] --> src/bit.rs:636:5 [INFO] [stdout] | [INFO] [stdout] 635 | pub struct RippleAdderView { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 636 | s : i64, [INFO] [stdout] | ^ [INFO] [stdout] 637 | c_out : bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RippleAdderView` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.37s [INFO] running `Command { std: "docker" "inspect" "d5caf53b45ae802f801358dd465e8d647cba71358f791c5e28157f600ff141f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5caf53b45ae802f801358dd465e8d647cba71358f791c5e28157f600ff141f2", kill_on_drop: false }` [INFO] [stdout] d5caf53b45ae802f801358dd465e8d647cba71358f791c5e28157f600ff141f2