[INFO] cloning repository https://github.com/JarlEvanson/x86 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JarlEvanson/x86" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJarlEvanson%2Fx86", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJarlEvanson%2Fx86'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] adf8aa9a797dd3dbbbff99246f50a279964767b0 [INFO] testing JarlEvanson/x86/adf8aa9a797dd3dbbbff99246f50a279964767b0 against 1.82.0 for beta-1.83-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJarlEvanson%2Fx86" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JarlEvanson/x86 on toolchain 1.82.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.82.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JarlEvanson/x86 [INFO] finished tweaking git repo https://github.com/JarlEvanson/x86 [INFO] tweaked toml for git repo https://github.com/JarlEvanson/x86 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/JarlEvanson/x86 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" "+1.82.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+1.82.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 02aea88d82075e4cb8a88b1424434b1514354d6489d9620ac5d1ce36ca546dd2 [INFO] running `Command { std: "docker" "start" "-a" "02aea88d82075e4cb8a88b1424434b1514354d6489d9620ac5d1ce36ca546dd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "02aea88d82075e4cb8a88b1424434b1514354d6489d9620ac5d1ce36ca546dd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02aea88d82075e4cb8a88b1424434b1514354d6489d9620ac5d1ce36ca546dd2", kill_on_drop: false }` [INFO] [stdout] 02aea88d82075e4cb8a88b1424434b1514354d6489d9620ac5d1ce36ca546dd2 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+1.82.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b368c579ea08b66b07c79c0febded65f784c8d37f2595a18695ed1dcd6f91576 [INFO] running `Command { std: "docker" "start" "-a" "b368c579ea08b66b07c79c0febded65f784c8d37f2595a18695ed1dcd6f91576", kill_on_drop: false }` [INFO] [stderr] Compiling x86 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `X86_64` and `X86` [INFO] [stdout] --> src/registers/flags.rs:5:43 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{Architecture, PrivilegeLevel, X86, X86_64}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `impl_arch_flags` [INFO] [stdout] --> src/registers/flags.rs:350:14 [INFO] [stdout] | [INFO] [stdout] 350 | macro_rules! impl_arch_flags { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Current` [INFO] [stdout] --> src/structures/idt.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | Current, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: mutable references are not allowed in constant functions [INFO] [stdout] --> src/structures/paging/bits64.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | &mut self, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57349 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: mutable references are not allowed in constant functions [INFO] [stdout] --> src/structures/task_state.rs:116:27 [INFO] [stdout] | [INFO] [stdout] 116 | pub const fn set_rsp0(&mut self, val: u64) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57349 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: mutable references are not allowed in constant functions [INFO] [stdout] --> src/structures/task_state.rs:127:27 [INFO] [stdout] | [INFO] [stdout] 127 | pub const fn set_rsp1(&mut self, val: u64) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57349 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: mutable references are not allowed in constant functions [INFO] [stdout] --> src/structures/task_state.rs:138:27 [INFO] [stdout] | [INFO] [stdout] 138 | pub const fn set_rsp2(&mut self, val: u64) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57349 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: mutable references are not allowed in constant functions [INFO] [stdout] --> src/structures/task_state.rs:151:27 [INFO] [stdout] | [INFO] [stdout] 151 | pub const fn set_ist1(&mut self, val: u64) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57349 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: mutable references are not allowed in constant functions [INFO] [stdout] --> src/structures/task_state.rs:164:27 [INFO] [stdout] | [INFO] [stdout] 164 | pub const fn set_ist2(&mut self, val: u64) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57349 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: mutable references are not allowed in constant functions [INFO] [stdout] --> src/structures/task_state.rs:177:27 [INFO] [stdout] | [INFO] [stdout] 177 | pub const fn set_ist3(&mut self, val: u64) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57349 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: mutable references are not allowed in constant functions [INFO] [stdout] --> src/structures/task_state.rs:190:27 [INFO] [stdout] | [INFO] [stdout] 190 | pub const fn set_ist4(&mut self, val: u64) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57349 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: mutable references are not allowed in constant functions [INFO] [stdout] --> src/structures/task_state.rs:203:27 [INFO] [stdout] | [INFO] [stdout] 203 | pub const fn set_ist5(&mut self, val: u64) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57349 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: mutable references are not allowed in constant functions [INFO] [stdout] --> src/structures/task_state.rs:216:27 [INFO] [stdout] | [INFO] [stdout] 216 | pub const fn set_ist6(&mut self, val: u64) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57349 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: mutable references are not allowed in constant functions [INFO] [stdout] --> src/structures/task_state.rs:229:27 [INFO] [stdout] | [INFO] [stdout] 229 | pub const fn set_ist7(&mut self, val: u64) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57349 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: mutable references are not allowed in constant functions [INFO] [stdout] --> src/structures/task_state.rs:242:34 [INFO] [stdout] | [INFO] [stdout] 242 | pub const fn set_io_map_base(&mut self, val: u16) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57349 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0658`. [INFO] [stdout] [INFO] [stderr] error: could not compile `x86` (lib) due to 13 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b368c579ea08b66b07c79c0febded65f784c8d37f2595a18695ed1dcd6f91576", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b368c579ea08b66b07c79c0febded65f784c8d37f2595a18695ed1dcd6f91576", kill_on_drop: false }` [INFO] [stdout] b368c579ea08b66b07c79c0febded65f784c8d37f2595a18695ed1dcd6f91576