[INFO] fetching crate fast-trap 0.1.0... [INFO] checking fast-trap-0.1.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate fast-trap 0.1.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate fast-trap 0.1.0 [INFO] finished tweaking crates.io crate fast-trap 0.1.0 [INFO] tweaked toml for crates.io crate fast-trap 0.1.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate fast-trap 0.1.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate fast-trap 0.1.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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 482e40175f7c0566124295b4a0ebd21998da60ae05d2d35023acc49cfda68ad5 [INFO] running `Command { std: "docker" "start" "-a" "482e40175f7c0566124295b4a0ebd21998da60ae05d2d35023acc49cfda68ad5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "482e40175f7c0566124295b4a0ebd21998da60ae05d2d35023acc49cfda68ad5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "482e40175f7c0566124295b4a0ebd21998da60ae05d2d35023acc49cfda68ad5", kill_on_drop: false }` [INFO] [stdout] 482e40175f7c0566124295b4a0ebd21998da60ae05d2d35023acc49cfda68ad5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f043c7431266ce21a5d4d29e1710c87e20c86ae0c69ef5bb4f41d4471c717ba [INFO] running `Command { std: "docker" "start" "-a" "0f043c7431266ce21a5d4d29e1710c87e20c86ae0c69ef5bb4f41d4471c717ba", kill_on_drop: false }` [INFO] [stderr] Checking fast-trap v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/hal/riscv/mod.rs:111:3 [INFO] [stdout] | [INFO] [stdout] 111 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 111 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/hal/riscv/mod.rs:129:3 [INFO] [stdout] | [INFO] [stdout] 129 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 129 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/hal/riscv/mod.rs:111:3 [INFO] [stdout] | [INFO] [stdout] 111 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 111 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/hal/riscv/mod.rs:129:3 [INFO] [stdout] | [INFO] [stdout] 129 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 129 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `hal::load_direct_trap_entry`, `hal::soft_trap` [INFO] [stdout] --> src/lib.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | pub use hal::{FlowContext, load_direct_trap_entry, reuse_stack_for_trap, soft_trap, trap_entry}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ no `soft_trap` in `hal` [INFO] [stdout] | | [INFO] [stdout] | no `load_direct_trap_entry` in `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `hal::load_direct_trap_entry`, `hal::soft_trap` [INFO] [stdout] --> src/lib.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | pub use hal::{FlowContext, load_direct_trap_entry, reuse_stack_for_trap, soft_trap, trap_entry}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ no `soft_trap` in `hal` [INFO] [stdout] | | [INFO] [stdout] | no `load_direct_trap_entry` in `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `exchange` in this scope [INFO] [stdout] --> src/hal/riscv/mod.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | exchange!(), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `exchange` in this scope [INFO] [stdout] --> src/hal/riscv/mod.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | exchange!(), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `exchange_scratch` in module `hal` [INFO] [stdout] --> src/lib.rs:61:28 [INFO] [stdout] | [INFO] [stdout] 61 | let scratch = hal::exchange_scratch(self.0.as_ptr() as _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `exchange_scratch` in module `hal` [INFO] [stdout] --> src/lib.rs:99:24 [INFO] [stdout] | [INFO] [stdout] 99 | let ptr = hal::exchange_scratch(self.0) as *mut TrapHandler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `exchange_scratch` in module `hal` [INFO] [stdout] --> src/lib.rs:61:28 [INFO] [stdout] | [INFO] [stdout] 61 | let scratch = hal::exchange_scratch(self.0.as_ptr() as _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `exchange_scratch` in module `hal` [INFO] [stdout] --> src/lib.rs:99:24 [INFO] [stdout] | [INFO] [stdout] 99 | let ptr = hal::exchange_scratch(self.0) as *mut TrapHandler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused macro definition: `save` [INFO] [stdout] --> src/hal/riscv/mod.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | macro_rules! save { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | #![deny(warnings, missing_docs)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_macros)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused macro definition: `load` [INFO] [stdout] --> src/hal/riscv/mod.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 58 | macro_rules! load { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused macro definition: `save` [INFO] [stdout] --> src/hal/riscv/mod.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | macro_rules! save { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | #![deny(warnings, missing_docs)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_macros)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused macro definition: `load` [INFO] [stdout] --> src/hal/riscv/mod.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 58 | macro_rules! load { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the feature `naked_functions` has been stable since 1.88.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(naked_functions)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(stable_features)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the feature `naked_functions` has been stable since 1.88.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(naked_functions)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(stable_features)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `load_others` found for reference `&riscv::FlowContext` in the current scope [INFO] [stdout] --> src/fast.rs:47:42 [INFO] [stdout] | [INFO] [stdout] 47 | unsafe { self.0.context.as_ref().load_others() }; [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&riscv::FlowContext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `load_others` found for reference `&riscv::FlowContext` in the current scope [INFO] [stdout] --> src/fast.rs:66:34 [INFO] [stdout] | [INFO] [stdout] 66 | unsafe { others.as_ref().load_others() }; [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&riscv::FlowContext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `load_others` found for reference `&riscv::FlowContext` in the current scope [INFO] [stdout] --> src/fast.rs:47:42 [INFO] [stdout] | [INFO] [stdout] 47 | unsafe { self.0.context.as_ref().load_others() }; [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&riscv::FlowContext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary `unsafe` block [INFO] [stdout] --> src/hal/riscv/mod.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(unused_unsafe)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `load_others` found for reference `&riscv::FlowContext` in the current scope [INFO] [stdout] --> src/fast.rs:66:34 [INFO] [stdout] | [INFO] [stdout] 66 | unsafe { others.as_ref().load_others() }; [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&riscv::FlowContext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error: unnecessary `unsafe` block [INFO] [stdout] --> src/hal/riscv/mod.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(unused_unsafe)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fast-trap` (lib) due to 12 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fast-trap` (lib test) due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "0f043c7431266ce21a5d4d29e1710c87e20c86ae0c69ef5bb4f41d4471c717ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f043c7431266ce21a5d4d29e1710c87e20c86ae0c69ef5bb4f41d4471c717ba", kill_on_drop: false }` [INFO] [stdout] 0f043c7431266ce21a5d4d29e1710c87e20c86ae0c69ef5bb4f41d4471c717ba