[INFO] fetching crate orecc-elf 0.0.2... [INFO] building orecc-elf-0.0.2 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate orecc-elf 0.0.2 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate orecc-elf 0.0.2 [INFO] finished tweaking crates.io crate orecc-elf 0.0.2 [INFO] tweaked toml for crates.io crate orecc-elf 0.0.2 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate orecc-elf 0.0.2 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded target-lexicon v0.13.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d303f2a2032178136a12298a02c4848e48fd552815654cf7a9caf0a37dd28dfa [INFO] running `Command { std: "docker" "start" "-a" "d303f2a2032178136a12298a02c4848e48fd552815654cf7a9caf0a37dd28dfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d303f2a2032178136a12298a02c4848e48fd552815654cf7a9caf0a37dd28dfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d303f2a2032178136a12298a02c4848e48fd552815654cf7a9caf0a37dd28dfa", kill_on_drop: false }` [INFO] [stdout] d303f2a2032178136a12298a02c4848e48fd552815654cf7a9caf0a37dd28dfa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1196434ccf77283723d477e30d9f285db541c0a9b041d2206005ca1d27ad833b [INFO] running `Command { std: "docker" "start" "-a" "1196434ccf77283723d477e30d9f285db541c0a9b041d2206005ca1d27ad833b", kill_on_drop: false }` [INFO] [stderr] Compiling orecc-elf v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `program_headers_offset` [INFO] [stdout] --> src/lib.rs:427:13 [INFO] [stdout] | [INFO] [stdout] 427 | let program_headers_offset = T::read(file, ident.byte_order, "e_phoff")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program_headers_offset` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `section_headers_offset` [INFO] [stdout] --> src/lib.rs:428:13 [INFO] [stdout] | [INFO] [stdout] 428 | let section_headers_offset = T::read(file, ident.byte_order, "e_shoff")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_section_headers_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_segments` [INFO] [stdout] --> src/lib.rs:446:13 [INFO] [stdout] | [INFO] [stdout] 446 | let num_segments = u16::read(file, ident.byte_order, "e_phnum")?; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_segments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_sections` [INFO] [stdout] --> src/lib.rs:455:13 [INFO] [stdout] | [INFO] [stdout] 455 | let num_sections = u16::read(file, ident.byte_order, "e_shnum")?; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_sections` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_int` is never used [INFO] [stdout] --> src/structs.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 5 | impl $name { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 13 | pub(super) fn from_int(value: $type) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 471 | / int_enum! { [INFO] [stdout] 472 | | SegmentType as u32: [INFO] [stdout] 473 | | None = 0x00, [INFO] [stdout] 474 | | Load = 0x01, [INFO] [stdout] ... | [INFO] [stdout] 480 | | Tls = 0x07, [INFO] [stdout] 481 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `int_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.49s [INFO] running `Command { std: "docker" "inspect" "1196434ccf77283723d477e30d9f285db541c0a9b041d2206005ca1d27ad833b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1196434ccf77283723d477e30d9f285db541c0a9b041d2206005ca1d27ad833b", kill_on_drop: false }` [INFO] [stdout] 1196434ccf77283723d477e30d9f285db541c0a9b041d2206005ca1d27ad833b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d991dda2bdff7cbff448677e828ef6b30c7e9cae9fe851fb30fd7f826c21465 [INFO] running `Command { std: "docker" "start" "-a" "0d991dda2bdff7cbff448677e828ef6b30c7e9cae9fe851fb30fd7f826c21465", kill_on_drop: false }` [INFO] [stdout] warning: unused variable: `program_headers_offset` [INFO] [stdout] --> src/lib.rs:427:13 [INFO] [stdout] | [INFO] [stdout] 427 | let program_headers_offset = T::read(file, ident.byte_order, "e_phoff")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program_headers_offset` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `section_headers_offset` [INFO] [stdout] --> src/lib.rs:428:13 [INFO] [stdout] | [INFO] [stdout] 428 | let section_headers_offset = T::read(file, ident.byte_order, "e_shoff")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_section_headers_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_segments` [INFO] [stdout] --> src/lib.rs:446:13 [INFO] [stdout] | [INFO] [stdout] 446 | let num_segments = u16::read(file, ident.byte_order, "e_phnum")?; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_segments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_sections` [INFO] [stdout] --> src/lib.rs:455:13 [INFO] [stdout] | [INFO] [stdout] 455 | let num_sections = u16::read(file, ident.byte_order, "e_shnum")?; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_sections` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_int` is never used [INFO] [stdout] --> src/structs.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 5 | impl $name { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 13 | pub(super) fn from_int(value: $type) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 471 | / int_enum! { [INFO] [stdout] 472 | | SegmentType as u32: [INFO] [stdout] 473 | | None = 0x00, [INFO] [stdout] 474 | | Load = 0x01, [INFO] [stdout] ... | [INFO] [stdout] 480 | | Tls = 0x07, [INFO] [stdout] 481 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `int_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling orecc-elf v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `program_headers_offset` [INFO] [stdout] --> src/lib.rs:427:13 [INFO] [stdout] | [INFO] [stdout] 427 | let program_headers_offset = T::read(file, ident.byte_order, "e_phoff")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program_headers_offset` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `section_headers_offset` [INFO] [stdout] --> src/lib.rs:428:13 [INFO] [stdout] | [INFO] [stdout] 428 | let section_headers_offset = T::read(file, ident.byte_order, "e_shoff")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_section_headers_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_segments` [INFO] [stdout] --> src/lib.rs:446:13 [INFO] [stdout] | [INFO] [stdout] 446 | let num_segments = u16::read(file, ident.byte_order, "e_phnum")?; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_segments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_sections` [INFO] [stdout] --> src/lib.rs:455:13 [INFO] [stdout] | [INFO] [stdout] 455 | let num_sections = u16::read(file, ident.byte_order, "e_shnum")?; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_sections` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_int` is never used [INFO] [stdout] --> src/structs.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 5 | impl $name { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 13 | pub(super) fn from_int(value: $type) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 471 | / int_enum! { [INFO] [stdout] 472 | | SegmentType as u32: [INFO] [stdout] 473 | | None = 0x00, [INFO] [stdout] 474 | | Load = 0x01, [INFO] [stdout] ... | [INFO] [stdout] 480 | | Tls = 0x07, [INFO] [stdout] 481 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `int_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.67s [INFO] running `Command { std: "docker" "inspect" "0d991dda2bdff7cbff448677e828ef6b30c7e9cae9fe851fb30fd7f826c21465", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d991dda2bdff7cbff448677e828ef6b30c7e9cae9fe851fb30fd7f826c21465", kill_on_drop: false }` [INFO] [stdout] 0d991dda2bdff7cbff448677e828ef6b30c7e9cae9fe851fb30fd7f826c21465