[INFO] cloning repository https://github.com/cojmeister/c-compiler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cojmeister/c-compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcojmeister%2Fc-compiler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcojmeister%2Fc-compiler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c0ae33069af91c9da4f512888c34c8a10dc2144a [INFO] checking cojmeister/c-compiler against master#64b185eddaa1d7ddf5e0c024be23b9cbba6c1722 for pr-143929 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcojmeister%2Fc-compiler" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/cojmeister/c-compiler [INFO] finished tweaking git repo https://github.com/cojmeister/c-compiler [INFO] tweaked toml for git repo https://github.com/cojmeister/c-compiler written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/cojmeister/c-compiler on toolchain 64b185eddaa1d7ddf5e0c024be23b9cbba6c1722 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/cojmeister/c-compiler 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" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3cb83200eb086fce932c4f1f56a5d54988d0b4d29312259d615874179b91eb32 [INFO] running `Command { std: "docker" "start" "-a" "3cb83200eb086fce932c4f1f56a5d54988d0b4d29312259d615874179b91eb32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3cb83200eb086fce932c4f1f56a5d54988d0b4d29312259d615874179b91eb32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cb83200eb086fce932c4f1f56a5d54988d0b4d29312259d615874179b91eb32", kill_on_drop: false }` [INFO] [stdout] 3cb83200eb086fce932c4f1f56a5d54988d0b4d29312259d615874179b91eb32 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b32665d1fbd61e7b4054dd58d550930cd06fd924c5609dc43eaf20a411346f1c [INFO] running `Command { std: "docker" "start" "-a" "b32665d1fbd61e7b4054dd58d550930cd06fd924c5609dc43eaf20a411346f1c", kill_on_drop: false }` [INFO] [stderr] Checking compiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `architecture` is never read [INFO] [stdout] --> src/assembly.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct AssemblyWriter { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 22 | file: BufWriter, [INFO] [stdout] 23 | architecture: SupportedArchitectures, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `free_all_registers` is never used [INFO] [stdout] --> src/assembly.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 27 | trait WriteAssembly { [INFO] [stdout] | ------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 31 | fn free_all_registers(&mut self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `test_evaluate` is never used [INFO] [stdout] --> src/ast.rs:174:8 [INFO] [stdout] | [INFO] [stdout] 23 | impl ASTNode { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 174 | fn test_evaluate(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `architecture` is never read [INFO] [stdout] --> src/assembly.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct AssemblyWriter { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 22 | file: BufWriter, [INFO] [stdout] 23 | architecture: SupportedArchitectures, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ExpectedInteger` is never constructed [INFO] [stdout] --> src/ast.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum ASTError { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | ExpectedInteger, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ASTError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `test_evaluate` is never used [INFO] [stdout] --> src/ast.rs:174:8 [INFO] [stdout] | [INFO] [stdout] 23 | impl ASTNode { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 174 | fn test_evaluate(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `architecture` is never read [INFO] [stdout] --> src/assembly.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct AssemblyWriter { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 22 | file: BufWriter, [INFO] [stdout] 23 | architecture: SupportedArchitectures, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `free_all_registers` is never used [INFO] [stdout] --> src/assembly.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 27 | trait WriteAssembly { [INFO] [stdout] | ------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 31 | fn free_all_registers(&mut self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.47s [INFO] [stdout] warning: field `architecture` is never read [INFO] [stdout] --> src/assembly.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct AssemblyWriter { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 22 | file: BufWriter, [INFO] [stdout] 23 | architecture: SupportedArchitectures, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b32665d1fbd61e7b4054dd58d550930cd06fd924c5609dc43eaf20a411346f1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b32665d1fbd61e7b4054dd58d550930cd06fd924c5609dc43eaf20a411346f1c", kill_on_drop: false }` [INFO] [stdout] b32665d1fbd61e7b4054dd58d550930cd06fd924c5609dc43eaf20a411346f1c