[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 master#ecb170afc878648c3ae355dbd596c8e4b6f7ebdc for pr-139022 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcult-of-mari%2Fconstcc" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cult-of-mari/constcc on toolchain ecb170afc878648c3ae355dbd596c8e4b6f7ebdc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ecb170afc878648c3ae355dbd596c8e4b6f7ebdc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-tc1/source/Cargo.toml [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" "+ecb170afc878648c3ae355dbd596c8e4b6f7ebdc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+ecb170afc878648c3ae355dbd596c8e4b6f7ebdc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 764c4375dc28fe3e4478c455d7fc74f4dfc230fc6a0fc2b39bcef8fde9defe7b [INFO] running `Command { std: "docker" "start" "-a" "764c4375dc28fe3e4478c455d7fc74f4dfc230fc6a0fc2b39bcef8fde9defe7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "764c4375dc28fe3e4478c455d7fc74f4dfc230fc6a0fc2b39bcef8fde9defe7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "764c4375dc28fe3e4478c455d7fc74f4dfc230fc6a0fc2b39bcef8fde9defe7b", kill_on_drop: false }` [INFO] [stdout] 764c4375dc28fe3e4478c455d7fc74f4dfc230fc6a0fc2b39bcef8fde9defe7b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+ecb170afc878648c3ae355dbd596c8e4b6f7ebdc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6d048edabe2543941758d8c7249e67b5fed8006f6c973409c032b9d18eed0105 [INFO] running `Command { std: "docker" "start" "-a" "6d048edabe2543941758d8c7249e67b5fed8006f6c973409c032b9d18eed0105", 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)]` on by default [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)]` 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 `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: 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: 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: 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: function `eq` is never used [INFO] [stdout] --> src/instruction.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | const fn eq(left: &[u8], right: &[u8]) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eq` is never used [INFO] [stdout] --> src/instruction.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | const fn eq(left: &[u8], right: &[u8]) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_encoding` is never used [INFO] [stdout] --> src/instruction.rs:106:10 [INFO] [stdout] | [INFO] [stdout] 106 | const fn assert_encoding(instruction: Instruction, expected: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_encoding` is never used [INFO] [stdout] --> src/instruction.rs:106:10 [INFO] [stdout] | [INFO] [stdout] 106 | const fn assert_encoding(instruction: Instruction, expected: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [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: 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: 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: 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.14s [INFO] running `Command { std: "docker" "inspect" "6d048edabe2543941758d8c7249e67b5fed8006f6c973409c032b9d18eed0105", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d048edabe2543941758d8c7249e67b5fed8006f6c973409c032b9d18eed0105", kill_on_drop: false }` [INFO] [stdout] 6d048edabe2543941758d8c7249e67b5fed8006f6c973409c032b9d18eed0105