[INFO] fetching crate x64 0.0.3... [INFO] testing x64-0.0.3 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate x64 0.0.3 into /workspace/builds/worker-2-tc2/source [INFO] removed /workspace/builds/worker-2-tc2/source/.cargo/config.toml [INFO] started tweaking crates.io crate x64 0.0.3 [INFO] finished tweaking crates.io crate x64 0.0.3 [INFO] tweaked toml for crates.io crate x64 0.0.3 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate x64 0.0.3 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 8 packages to latest compatible versions [INFO] [stderr] Adding c2rust-bitfields v0.3.0 (available: v0.20.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5d82b29fd66c8443516b2b5db1417503c2576c5c82a517c717417f882f31c32f [INFO] running `Command { std: "docker" "start" "-a" "5d82b29fd66c8443516b2b5db1417503c2576c5c82a517c717417f882f31c32f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5d82b29fd66c8443516b2b5db1417503c2576c5c82a517c717417f882f31c32f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d82b29fd66c8443516b2b5db1417503c2576c5c82a517c717417f882f31c32f", kill_on_drop: false }` [INFO] [stdout] 5d82b29fd66c8443516b2b5db1417503c2576c5c82a517c717417f882f31c32f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 022d6aefef5c3fa9e1bbbb972a9fc4a3c9069b2aa560f7eff4121b663ffe04fd [INFO] running `Command { std: "docker" "start" "-a" "022d6aefef5c3fa9e1bbbb972a9fc4a3c9069b2aa560f7eff4121b663ffe04fd", kill_on_drop: false }` [INFO] [stderr] Compiling readme-rustdocifier v0.1.1 [INFO] [stderr] Compiling c2rust-bitfields-derive v0.2.1 [INFO] [stderr] Compiling c2rust-bitfields v0.3.0 [INFO] [stderr] Compiling x64 v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `error_in_core` has been stable since 1.81.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(error_in_core)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/idt.rs:725:42 [INFO] [stdout] | [INFO] [stdout] 725 | let s = Self { innards: unsafe { core::mem::transmute::(0b1110_0000_0000) } }; [INFO] [stdout] | ------------------------------------^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/idt.rs:741:30 [INFO] [stdout] | [INFO] [stdout] 741 | unsafe { core::mem::transmute::<[u8; 2], u16>(self.innards) }, [INFO] [stdout] | ------------------------------------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/idt.rs:742:30 [INFO] [stdout] | [INFO] [stdout] 742 | unsafe { core::mem::transmute::<[u8; 2], u16>(self.innards) } [INFO] [stdout] | ------------------------------------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: avoid using labels containing only the digits `0` and `1` in inline assembly [INFO] [stdout] --> src/registers.rs:40:22 [INFO] [stdout] | [INFO] [stdout] 40 | "1:", [INFO] [stdout] | ^ use a different label that doesn't start with `0` or `1` [INFO] [stdout] ... [INFO] [stdout] 61 | register_fns!(SegmentSelector, CS, u16, "cs"); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: start numbering with `2` instead [INFO] [stdout] = note: an LLVM bug makes these labels ambiguous with a binary literal number on x86 [INFO] [stdout] = note: see for more information [INFO] [stdout] = note: `#[deny(binary_asm_labels)]` on by default [INFO] [stdout] = note: this error originates in the macro `register_fns` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: avoid using labels containing only the digits `0` and `1` in inline assembly [INFO] [stdout] --> src/registers.rs:40:22 [INFO] [stdout] | [INFO] [stdout] 40 | "1:", [INFO] [stdout] | ^ use a different label that doesn't start with `0` or `1` [INFO] [stdout] ... [INFO] [stdout] 66 | register_fns!(SegmentSelector, DS, u16, "ds"); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: start numbering with `2` instead [INFO] [stdout] = note: an LLVM bug makes these labels ambiguous with a binary literal number on x86 [INFO] [stdout] = note: see for more information [INFO] [stdout] = note: this error originates in the macro `register_fns` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: avoid using labels containing only the digits `0` and `1` in inline assembly [INFO] [stdout] --> src/registers.rs:40:22 [INFO] [stdout] | [INFO] [stdout] 40 | "1:", [INFO] [stdout] | ^ use a different label that doesn't start with `0` or `1` [INFO] [stdout] ... [INFO] [stdout] 71 | register_fns!(SegmentSelector, SS, u16, "ss"); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: start numbering with `2` instead [INFO] [stdout] = note: an LLVM bug makes these labels ambiguous with a binary literal number on x86 [INFO] [stdout] = note: see for more information [INFO] [stdout] = note: this error originates in the macro `register_fns` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: avoid using labels containing only the digits `0` and `1` in inline assembly [INFO] [stdout] --> src/registers.rs:40:22 [INFO] [stdout] | [INFO] [stdout] 40 | "1:", [INFO] [stdout] | ^ use a different label that doesn't start with `0` or `1` [INFO] [stdout] ... [INFO] [stdout] 76 | register_fns!(SegmentSelector, ES, u16, "es"); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: start numbering with `2` instead [INFO] [stdout] = note: an LLVM bug makes these labels ambiguous with a binary literal number on x86 [INFO] [stdout] = note: see for more information [INFO] [stdout] = note: this error originates in the macro `register_fns` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: avoid using labels containing only the digits `0` and `1` in inline assembly [INFO] [stdout] --> src/registers.rs:40:22 [INFO] [stdout] | [INFO] [stdout] 40 | "1:", [INFO] [stdout] | ^ use a different label that doesn't start with `0` or `1` [INFO] [stdout] ... [INFO] [stdout] 81 | register_fns!(SegmentSelector, FS, u16, "fs"); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: start numbering with `2` instead [INFO] [stdout] = note: an LLVM bug makes these labels ambiguous with a binary literal number on x86 [INFO] [stdout] = note: see for more information [INFO] [stdout] = note: this error originates in the macro `register_fns` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: avoid using labels containing only the digits `0` and `1` in inline assembly [INFO] [stdout] --> src/registers.rs:40:22 [INFO] [stdout] | [INFO] [stdout] 40 | "1:", [INFO] [stdout] | ^ use a different label that doesn't start with `0` or `1` [INFO] [stdout] ... [INFO] [stdout] 86 | register_fns!(SegmentSelector, GS, u16, "gs"); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: start numbering with `2` instead [INFO] [stdout] = note: an LLVM bug makes these labels ambiguous with a binary literal number on x86 [INFO] [stdout] = note: see for more information [INFO] [stdout] = note: this error originates in the macro `register_fns` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/segmentation.rs:73:30 [INFO] [stdout] | [INFO] [stdout] 73 | unsafe { core::mem::transmute::<[u8; 2], u16>(self.innards) }, [INFO] [stdout] | ------------------------------------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/segmentation.rs:74:30 [INFO] [stdout] | [INFO] [stdout] 74 | unsafe { core::mem::transmute::<[u8; 2], u16>(self.innards) } [INFO] [stdout] | ------------------------------------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `x64` (lib) due to 6 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "022d6aefef5c3fa9e1bbbb972a9fc4a3c9069b2aa560f7eff4121b663ffe04fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "022d6aefef5c3fa9e1bbbb972a9fc4a3c9069b2aa560f7eff4121b663ffe04fd", kill_on_drop: false }` [INFO] [stdout] 022d6aefef5c3fa9e1bbbb972a9fc4a3c9069b2aa560f7eff4121b663ffe04fd