[INFO] fetching crate fast-trap 0.1.0...
[INFO] testing fast-trap-0.1.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7
[INFO] extracting crate fast-trap 0.1.0 into /workspace/builds/worker-7-tc2/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-7-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate fast-trap 0.1.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1725302f7b7d1cf67f4b8efe294fc012095a8f995e81821b6b7320ae2bf4cdb5
[INFO] running `Command { std: "docker" "start" "-a" "1725302f7b7d1cf67f4b8efe294fc012095a8f995e81821b6b7320ae2bf4cdb5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1725302f7b7d1cf67f4b8efe294fc012095a8f995e81821b6b7320ae2bf4cdb5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1725302f7b7d1cf67f4b8efe294fc012095a8f995e81821b6b7320ae2bf4cdb5", kill_on_drop: false }`
[INFO] [stdout] 1725302f7b7d1cf67f4b8efe294fc012095a8f995e81821b6b7320ae2bf4cdb5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d377e164f69979e277ef0dbc3229ad009be2c0badf6cf8e60bc50e461dcce348
[INFO] running `Command { std: "docker" "start" "-a" "d377e164f69979e277ef0dbc3229ad009be2c0badf6cf8e60bc50e461dcce348", kill_on_drop: false }`
[INFO] [stderr]    Compiling 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[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[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: 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: 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] [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] running `Command { std: "docker" "inspect" "d377e164f69979e277ef0dbc3229ad009be2c0badf6cf8e60bc50e461dcce348", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d377e164f69979e277ef0dbc3229ad009be2c0badf6cf8e60bc50e461dcce348", kill_on_drop: false }`
[INFO] [stdout] d377e164f69979e277ef0dbc3229ad009be2c0badf6cf8e60bc50e461dcce348
