[INFO] fetching crate orecc-elf 0.0.2... [INFO] checking orecc-elf-0.0.2 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate orecc-elf 0.0.2 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate orecc-elf 0.0.2 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 518197db574d23f463b5ac66c6d7ccfdc4bc21f3a3df6d50301d0a80d397eb51 [INFO] running `Command { std: "docker" "start" "-a" "518197db574d23f463b5ac66c6d7ccfdc4bc21f3a3df6d50301d0a80d397eb51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "518197db574d23f463b5ac66c6d7ccfdc4bc21f3a3df6d50301d0a80d397eb51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "518197db574d23f463b5ac66c6d7ccfdc4bc21f3a3df6d50301d0a80d397eb51", kill_on_drop: false }` [INFO] [stdout] 518197db574d23f463b5ac66c6d7ccfdc4bc21f3a3df6d50301d0a80d397eb51 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dtail_expr_drop_order" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c43eaec352aeb25cdcdec4e58c79535c04cef944efd17d4eab6b56753f2a9969 [INFO] running `Command { std: "docker" "start" "-a" "c43eaec352aeb25cdcdec4e58c79535c04cef944efd17d4eab6b56753f2a9969", kill_on_drop: false }` [INFO] [stderr] Checking 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)]` 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)]` 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] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [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)]` 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)]` 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] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.62s [INFO] running `Command { std: "docker" "inspect" "c43eaec352aeb25cdcdec4e58c79535c04cef944efd17d4eab6b56753f2a9969", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c43eaec352aeb25cdcdec4e58c79535c04cef944efd17d4eab6b56753f2a9969", kill_on_drop: false }` [INFO] [stdout] c43eaec352aeb25cdcdec4e58c79535c04cef944efd17d4eab6b56753f2a9969