[INFO] cloning repository https://github.com/cult-of-mari/constcc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cult-of-mari/constcc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcult-of-mari%2Fconstcc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcult-of-mari%2Fconstcc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 63aa35945867bc254bf96e64f0eb3cf1bed6b091 [INFO] checking cult-of-mari/constcc against try#e983148bd5f0f0db270bfb72149f5e892e68b67f for pr-150322 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcult-of-mari%2Fconstcc" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/cult-of-mari/constcc [INFO] finished tweaking git repo https://github.com/cult-of-mari/constcc [INFO] tweaked toml for git repo https://github.com/cult-of-mari/constcc written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/cult-of-mari/constcc on toolchain e983148bd5f0f0db270bfb72149f5e892e68b67f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e983148bd5f0f0db270bfb72149f5e892e68b67f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/cult-of-mari/constcc 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" "+e983148bd5f0f0db270bfb72149f5e892e68b67f" "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-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+e983148bd5f0f0db270bfb72149f5e892e68b67f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c6efe2bbaa9448826fce65dd1e85eca086370ef64b4065aeda346caa7647ef73 [INFO] running `Command { std: "docker" "start" "-a" "c6efe2bbaa9448826fce65dd1e85eca086370ef64b4065aeda346caa7647ef73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c6efe2bbaa9448826fce65dd1e85eca086370ef64b4065aeda346caa7647ef73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6efe2bbaa9448826fce65dd1e85eca086370ef64b4065aeda346caa7647ef73", kill_on_drop: false }` [INFO] [stdout] c6efe2bbaa9448826fce65dd1e85eca086370ef64b4065aeda346caa7647ef73 [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+e983148bd5f0f0db270bfb72149f5e892e68b67f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2b0e9ab7ff1b617692ca5c48f313287b4fb30b49dacf3635a410e2c771797792 [INFO] running `Command { std: "docker" "start" "-a" "2b0e9ab7ff1b617692ca5c48f313287b4fb30b49dacf3635a410e2c771797792", kill_on_drop: false }` [INFO] [stderr] Checking constcc v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `WRITE` is never used [INFO] [stdout] --> src/elf.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const WRITE: u32 = 2; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ThirtyTwo` is never constructed [INFO] [stdout] --> src/elf_header.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum BitWidth { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 21 | ThirtyTwo = 1, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BitWidth` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Big` is never constructed [INFO] [stdout] --> src/elf_header.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub enum Endian { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] 28 | Little = 1, [INFO] [stdout] 29 | Big = 2, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Endian` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_bytes` is never used [INFO] [stdout] --> src/elf_header.rs:123:18 [INFO] [stdout] | [INFO] [stdout] 94 | impl ElfHeader { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 123 | pub const fn as_bytes(&self) -> &[u8; Self::SIZE] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Rcx`, `Rbx`, `Rsp`, and `Rbp` are never constructed [INFO] [stdout] --> src/instruction.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Register { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 7 | Rax = 0, // Register code 0 [INFO] [stdout] 8 | Rcx = 1, // Register code 1 [INFO] [stdout] | ^^^ [INFO] [stdout] 9 | Rdx = 2, // Register code 2 [INFO] [stdout] 10 | Rbx = 3, // Register code 3 [INFO] [stdout] | ^^^ [INFO] [stdout] 11 | Rsp = 4, // Register code 4 [INFO] [stdout] | ^^^ [INFO] [stdout] 12 | Rbp = 5, // Register code 5 [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Register` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_bytes` is never used [INFO] [stdout] --> src/program_header.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 17 | impl ProgramHeader { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub const fn as_bytes(&self) -> &[u8; Self::SIZE] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SymbolTable` is never constructed [INFO] [stdout] --> src/section_header.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Kind { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 8 | SymbolTable = 2, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Kind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_bytes` is never used [INFO] [stdout] --> src/section_header.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 27 | impl SectionHeader { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub const fn as_bytes(&self) -> &[u8; Self::SIZE] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WRITE` is never used [INFO] [stdout] --> src/elf.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const WRITE: u32 = 2; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ThirtyTwo` is never constructed [INFO] [stdout] --> src/elf_header.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum BitWidth { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 21 | ThirtyTwo = 1, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BitWidth` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Big` is never constructed [INFO] [stdout] --> src/elf_header.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub enum Endian { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] 28 | Little = 1, [INFO] [stdout] 29 | Big = 2, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Endian` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_bytes` is never used [INFO] [stdout] --> src/elf_header.rs:123:18 [INFO] [stdout] | [INFO] [stdout] 94 | impl ElfHeader { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 123 | pub const fn as_bytes(&self) -> &[u8; Self::SIZE] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Rcx`, `Rbx`, `Rsp`, and `Rbp` are never constructed [INFO] [stdout] --> src/instruction.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Register { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 7 | Rax = 0, // Register code 0 [INFO] [stdout] 8 | Rcx = 1, // Register code 1 [INFO] [stdout] | ^^^ [INFO] [stdout] 9 | Rdx = 2, // Register code 2 [INFO] [stdout] 10 | Rbx = 3, // Register code 3 [INFO] [stdout] | ^^^ [INFO] [stdout] 11 | Rsp = 4, // Register code 4 [INFO] [stdout] | ^^^ [INFO] [stdout] 12 | Rbp = 5, // Register code 5 [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Register` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_bytes` is never used [INFO] [stdout] --> src/program_header.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 17 | impl ProgramHeader { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub const fn as_bytes(&self) -> &[u8; Self::SIZE] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SymbolTable` is never constructed [INFO] [stdout] --> src/section_header.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Kind { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 8 | SymbolTable = 2, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Kind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_bytes` is never used [INFO] [stdout] --> src/section_header.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 27 | impl SectionHeader { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub const fn as_bytes(&self) -> &[u8; Self::SIZE] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] running `Command { std: "docker" "inspect" "2b0e9ab7ff1b617692ca5c48f313287b4fb30b49dacf3635a410e2c771797792", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b0e9ab7ff1b617692ca5c48f313287b4fb30b49dacf3635a410e2c771797792", kill_on_drop: false }` [INFO] [stdout] 2b0e9ab7ff1b617692ca5c48f313287b4fb30b49dacf3635a410e2c771797792