[INFO] fetching crate polyhal 0.4.0... [INFO] building polyhal-0.4.0 against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] extracting crate polyhal 0.4.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate polyhal 0.4.0 [INFO] finished tweaking crates.io crate polyhal 0.4.0 [INFO] tweaked toml for crates.io crate polyhal 0.4.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate polyhal 0.4.0 on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate polyhal 0.4.0 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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1efe7f9b3a23a86bca4dcd265df483493a9d73687b84022231d101cb25606c8f [INFO] running `Command { std: "docker" "start" "-a" "1efe7f9b3a23a86bca4dcd265df483493a9d73687b84022231d101cb25606c8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1efe7f9b3a23a86bca4dcd265df483493a9d73687b84022231d101cb25606c8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1efe7f9b3a23a86bca4dcd265df483493a9d73687b84022231d101cb25606c8f", kill_on_drop: false }` [INFO] [stdout] 1efe7f9b3a23a86bca4dcd265df483493a9d73687b84022231d101cb25606c8f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a7b988269953e9daf9f902806ecf3f6f5a849a63f58aeafc6c917524de989e43 [INFO] running `Command { std: "docker" "start" "-a" "a7b988269953e9daf9f902806ecf3f6f5a849a63f58aeafc6c917524de989e43", kill_on_drop: false }` [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling raw-cpuid v10.7.0 [INFO] [stderr] Compiling winnow v0.7.9 [INFO] [stderr] Compiling x86 v0.52.0 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Compiling volatile v0.4.6 [INFO] [stderr] Compiling polyhal v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling bit v0.1.1 [INFO] [stderr] Compiling x86_64 v0.15.2 [INFO] [stderr] Compiling acpi v5.2.0 [INFO] [stderr] Compiling spin v0.10.0 [INFO] [stderr] Compiling raw-cpuid v11.5.0 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling multiboot v0.8.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling lazyinit v0.2.1 [INFO] [stderr] Compiling fdt-parser v0.4.10 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling x2apic v0.5.0 [INFO] [stderr] Compiling toml_edit v0.22.26 [INFO] [stderr] Compiling uart_16550 v0.3.2 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling polyhal-macro v0.4.0 [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/components/kcontext/x86_64.rs:150:3 [INFO] [stdout] | [INFO] [stdout] 150 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 150 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/components/kcontext/x86_64.rs:188:3 [INFO] [stdout] | [INFO] [stdout] 188 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 188 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::pub_use_arch` [INFO] [stdout] --> src/components/instruction/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::pub_use_arch; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::pub_use_arch` [INFO] [stdout] --> src/components/kcontext/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::pub_use_arch; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::pub_use_arch` [INFO] [stdout] --> src/components/multicore/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::pub_use_arch; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `naked_functions` has been stable since 1.88.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(naked_functions)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `polyhal` (lib) due to 2 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a7b988269953e9daf9f902806ecf3f6f5a849a63f58aeafc6c917524de989e43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7b988269953e9daf9f902806ecf3f6f5a849a63f58aeafc6c917524de989e43", kill_on_drop: false }` [INFO] [stdout] a7b988269953e9daf9f902806ecf3f6f5a849a63f58aeafc6c917524de989e43