[INFO] fetching crate orecc-elf 0.0.2... [INFO] building orecc-elf-0.0.2 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate orecc-elf 0.0.2 into /workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate orecc-elf 0.0.2 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9718ecf576b11a44181f8e313c4408113e8d4a0c4d9512552b97bc02cfefff91 [INFO] running `Command { std: "docker" "start" "-a" "9718ecf576b11a44181f8e313c4408113e8d4a0c4d9512552b97bc02cfefff91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9718ecf576b11a44181f8e313c4408113e8d4a0c4d9512552b97bc02cfefff91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9718ecf576b11a44181f8e313c4408113e8d4a0c4d9512552b97bc02cfefff91", kill_on_drop: false }` [INFO] [stdout] 9718ecf576b11a44181f8e313c4408113e8d4a0c4d9512552b97bc02cfefff91 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b3d39b4dfd845f0d19f1b545aa2ed86145d5897ef475091b8bb8333402413cc [INFO] running `Command { std: "docker" "start" "-a" "0b3d39b4dfd845f0d19f1b545aa2ed86145d5897ef475091b8bb8333402413cc", 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.62s [INFO] running `Command { std: "docker" "inspect" "0b3d39b4dfd845f0d19f1b545aa2ed86145d5897ef475091b8bb8333402413cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b3d39b4dfd845f0d19f1b545aa2ed86145d5897ef475091b8bb8333402413cc", kill_on_drop: false }` [INFO] [stdout] 0b3d39b4dfd845f0d19f1b545aa2ed86145d5897ef475091b8bb8333402413cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c869b357d6d8ecdefb94306a8329cb2eccf2948cef2ae65f1c3d34e52991e62 [INFO] running `Command { std: "docker" "start" "-a" "6c869b357d6d8ecdefb94306a8329cb2eccf2948cef2ae65f1c3d34e52991e62", 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 1.61s [INFO] running `Command { std: "docker" "inspect" "6c869b357d6d8ecdefb94306a8329cb2eccf2948cef2ae65f1c3d34e52991e62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c869b357d6d8ecdefb94306a8329cb2eccf2948cef2ae65f1c3d34e52991e62", kill_on_drop: false }` [INFO] [stdout] 6c869b357d6d8ecdefb94306a8329cb2eccf2948cef2ae65f1c3d34e52991e62