[INFO] fetching crate lazypoline-rs 0.2.0...
[INFO] testing lazypoline-rs-0.2.0 against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] extracting crate lazypoline-rs 0.2.0 into /workspace/builds/worker-4-tc2/source
[INFO] started tweaking crates.io crate lazypoline-rs 0.2.0
[INFO] finished tweaking crates.io crate lazypoline-rs 0.2.0
[INFO] tweaked toml for crates.io crate lazypoline-rs 0.2.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate lazypoline-rs 0.2.0 on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate lazypoline-rs 0.2.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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ad04cf90a9234e172b3486fb753105058d11146a4fa2bfa2826b91bb0ef60a9a
[INFO] running `Command { std: "docker" "start" "-a" "ad04cf90a9234e172b3486fb753105058d11146a4fa2bfa2826b91bb0ef60a9a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ad04cf90a9234e172b3486fb753105058d11146a4fa2bfa2826b91bb0ef60a9a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ad04cf90a9234e172b3486fb753105058d11146a4fa2bfa2826b91bb0ef60a9a", kill_on_drop: false }`
[INFO] [stdout] ad04cf90a9234e172b3486fb753105058d11146a4fa2bfa2826b91bb0ef60a9a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 7c3b0aa28af55fb16248be9f1750aad88dcd3afefb2b78ecca2eaf78786536e6
[INFO] running `Command { std: "docker" "start" "-a" "7c3b0aa28af55fb16248be9f1750aad88dcd3afefb2b78ecca2eaf78786536e6", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.94
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]    Compiling once_cell v1.21.1
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling regex-syntax v0.6.29
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling libc v0.2.171
[INFO] [stderr]    Compiling nix v0.29.0
[INFO] [stderr]    Compiling cc v1.2.16
[INFO] [stderr]    Compiling log v0.4.26
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling overload v0.1.1
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling nu-ansi-term v0.46.0
[INFO] [stderr]    Compiling thread_local v1.1.8
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling smallvec v1.14.0
[INFO] [stderr]    Compiling bitflags v2.9.0
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling lazypoline-rs v0.2.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling regex-automata v0.1.10
[INFO] [stderr]    Compiling matchers v0.1.0
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling lazypoline-macros v0.2.0
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling tracing-subscriber v0.3.19
[INFO] [stdout] warning: variable `ctx` is assigned to, but never used
[INFO] [stdout]    --> src/core/zpoline.rs:201:6
[INFO] [stdout]     |
[INFO] [stdout] 201 |     let mut ctx = crate::syscall::SyscallContext {
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_ctx` instead
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `ctx` is never read
[INFO] [stdout]    --> src/core/zpoline.rs:224:3
[INFO] [stdout]     |
[INFO] [stdout] 224 |         ctx.should_emulate = unsafe { *should_emulate } != 0;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `ctx` is never read
[INFO] [stdout]    --> src/core/zpoline.rs:222:3
[INFO] [stdout]     |
[INFO] [stdout] 222 |         ctx.should_emulate = false;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/core/signal.rs:118:76
[INFO] [stdout]     |
[INFO] [stdout] 118 |     unsafe { *gregs.add(libc::REG_RIP as usize) = restore_selector_trampoline as i64 };
[INFO] [stdout]     |                                                                               ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(function_casts_as_integer)]` on by default
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 118 |     unsafe { *gregs.add(libc::REG_RIP as usize) = restore_selector_trampoline as *const () as i64 };
[INFO] [stdout]     |                                                                               ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/core/signal.rs:373:49
[INFO] [stdout]     |
[INFO] [stdout] 373 |         newact_cpy.sa_sigaction = wrap_signal_handler as usize;
[INFO] [stdout]     |                                                       ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 373 |         newact_cpy.sa_sigaction = wrap_signal_handler as *const () as usize;
[INFO] [stdout]     |                                                       ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/core/sud.rs:160:65
[INFO] [stdout]     |
[INFO] [stdout] 160 |     unsafe { *gregs.add(libc::REG_RIP as usize) = asm_syscall_hook as i64 };
[INFO] [stdout]     |                                                                    ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 160 |     unsafe { *gregs.add(libc::REG_RIP as usize) = asm_syscall_hook as *const () as i64 };
[INFO] [stdout]     |                                                                    ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/core/sud.rs:209:35
[INFO] [stdout]     |
[INFO] [stdout] 209 |     act.sa_sigaction = handle_sigsys as usize;
[INFO] [stdout]     |                                      ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 209 |     act.sa_sigaction = handle_sigsys as *const () as usize;
[INFO] [stdout]     |                                      ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/core/sud.rs:232:42
[INFO] [stdout]     |
[INFO] [stdout] 232 |     if oldact.sa_sigaction != handle_sigsys as usize {
[INFO] [stdout]     |                                             ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 232 |     if oldact.sa_sigaction != handle_sigsys as *const () as usize {
[INFO] [stdout]     |                                             ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/core/zpoline.rs:124:35
[INFO] [stdout]     |
[INFO] [stdout] 124 |     let hook_addr = asm_syscall_hook as usize;
[INFO] [stdout]     |                                      ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 124 |     let hook_addr = asm_syscall_hook as *const () as usize;
[INFO] [stdout]     |                                      ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.29s
[INFO] running `Command { std: "docker" "inspect" "7c3b0aa28af55fb16248be9f1750aad88dcd3afefb2b78ecca2eaf78786536e6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7c3b0aa28af55fb16248be9f1750aad88dcd3afefb2b78ecca2eaf78786536e6", kill_on_drop: false }`
[INFO] [stdout] 7c3b0aa28af55fb16248be9f1750aad88dcd3afefb2b78ecca2eaf78786536e6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 728b9d0a6fde9abd4a9e985112b2c7eb7c40f35a3f317d97490ced691543169d
[INFO] running `Command { std: "docker" "start" "-a" "728b9d0a6fde9abd4a9e985112b2c7eb7c40f35a3f317d97490ced691543169d", kill_on_drop: false }`
[INFO] [stderr]    Compiling bitflags v2.9.0
[INFO] [stderr]    Compiling getrandom v0.3.1
[INFO] [stderr]    Compiling rustix v1.0.2
[INFO] [stderr]    Compiling anyhow v1.0.97
[INFO] [stderr]    Compiling linux-raw-sys v0.9.3
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling nix v0.29.0
[INFO] [stderr]    Compiling lazypoline-rs v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable `ctx` is assigned to, but never used
[INFO] [stdout]    --> src/core/zpoline.rs:201:6
[INFO] [stdout]     |
[INFO] [stdout] 201 |     let mut ctx = crate::syscall::SyscallContext {
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_ctx` instead
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `ctx` is never read
[INFO] [stdout]    --> src/core/zpoline.rs:224:3
[INFO] [stdout]     |
[INFO] [stdout] 224 |         ctx.should_emulate = unsafe { *should_emulate } != 0;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `ctx` is never read
[INFO] [stdout]    --> src/core/zpoline.rs:222:3
[INFO] [stdout]     |
[INFO] [stdout] 222 |         ctx.should_emulate = false;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/core/signal.rs:118:76
[INFO] [stdout]     |
[INFO] [stdout] 118 |     unsafe { *gregs.add(libc::REG_RIP as usize) = restore_selector_trampoline as i64 };
[INFO] [stdout]     |                                                                               ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(function_casts_as_integer)]` on by default
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 118 |     unsafe { *gregs.add(libc::REG_RIP as usize) = restore_selector_trampoline as *const () as i64 };
[INFO] [stdout]     |                                                                               ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/core/signal.rs:373:49
[INFO] [stdout]     |
[INFO] [stdout] 373 |         newact_cpy.sa_sigaction = wrap_signal_handler as usize;
[INFO] [stdout]     |                                                       ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 373 |         newact_cpy.sa_sigaction = wrap_signal_handler as *const () as usize;
[INFO] [stdout]     |                                                       ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/core/sud.rs:160:65
[INFO] [stdout]     |
[INFO] [stdout] 160 |     unsafe { *gregs.add(libc::REG_RIP as usize) = asm_syscall_hook as i64 };
[INFO] [stdout]     |                                                                    ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 160 |     unsafe { *gregs.add(libc::REG_RIP as usize) = asm_syscall_hook as *const () as i64 };
[INFO] [stdout]     |                                                                    ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/core/sud.rs:209:35
[INFO] [stdout]     |
[INFO] [stdout] 209 |     act.sa_sigaction = handle_sigsys as usize;
[INFO] [stdout]     |                                      ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 209 |     act.sa_sigaction = handle_sigsys as *const () as usize;
[INFO] [stdout]     |                                      ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/core/sud.rs:232:42
[INFO] [stdout]     |
[INFO] [stdout] 232 |     if oldact.sa_sigaction != handle_sigsys as usize {
[INFO] [stdout]     |                                             ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 232 |     if oldact.sa_sigaction != handle_sigsys as *const () as usize {
[INFO] [stdout]     |                                             ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/core/zpoline.rs:124:35
[INFO] [stdout]     |
[INFO] [stdout] 124 |     let hook_addr = asm_syscall_hook as usize;
[INFO] [stdout]     |                                      ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 124 |     let hook_addr = asm_syscall_hook as *const () as usize;
[INFO] [stdout]     |                                      ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling tempfile v3.19.0
[INFO] [stdout] warning: variable `ctx` is assigned to, but never used
[INFO] [stdout]    --> src/core/zpoline.rs:201:6
[INFO] [stdout]     |
[INFO] [stdout] 201 |     let mut ctx = crate::syscall::SyscallContext {
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_ctx` instead
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `ctx` is never read
[INFO] [stdout]    --> src/core/zpoline.rs:224:3
[INFO] [stdout]     |
[INFO] [stdout] 224 |         ctx.should_emulate = unsafe { *should_emulate } != 0;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `ctx` is never read
[INFO] [stdout]    --> src/core/zpoline.rs:222:3
[INFO] [stdout]     |
[INFO] [stdout] 222 |         ctx.should_emulate = false;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/core/signal.rs:118:76
[INFO] [stdout]     |
[INFO] [stdout] 118 |     unsafe { *gregs.add(libc::REG_RIP as usize) = restore_selector_trampoline as i64 };
[INFO] [stdout]     |                                                                               ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(function_casts_as_integer)]` on by default
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 118 |     unsafe { *gregs.add(libc::REG_RIP as usize) = restore_selector_trampoline as *const () as i64 };
[INFO] [stdout]     |                                                                               ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/core/signal.rs:373:49
[INFO] [stdout]     |
[INFO] [stdout] 373 |         newact_cpy.sa_sigaction = wrap_signal_handler as usize;
[INFO] [stdout]     |                                                       ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 373 |         newact_cpy.sa_sigaction = wrap_signal_handler as *const () as usize;
[INFO] [stdout]     |                                                       ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/core/sud.rs:160:65
[INFO] [stdout]     |
[INFO] [stdout] 160 |     unsafe { *gregs.add(libc::REG_RIP as usize) = asm_syscall_hook as i64 };
[INFO] [stdout]     |                                                                    ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 160 |     unsafe { *gregs.add(libc::REG_RIP as usize) = asm_syscall_hook as *const () as i64 };
[INFO] [stdout]     |                                                                    ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/core/sud.rs:209:35
[INFO] [stdout]     |
[INFO] [stdout] 209 |     act.sa_sigaction = handle_sigsys as usize;
[INFO] [stdout]     |                                      ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 209 |     act.sa_sigaction = handle_sigsys as *const () as usize;
[INFO] [stdout]     |                                      ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/core/sud.rs:232:42
[INFO] [stdout]     |
[INFO] [stdout] 232 |     if oldact.sa_sigaction != handle_sigsys as usize {
[INFO] [stdout]     |                                             ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 232 |     if oldact.sa_sigaction != handle_sigsys as *const () as usize {
[INFO] [stdout]     |                                             ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/core/zpoline.rs:124:35
[INFO] [stdout]     |
[INFO] [stdout] 124 |     let hook_addr = asm_syscall_hook as usize;
[INFO] [stdout]     |                                      ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 124 |     let hook_addr = asm_syscall_hook as *const () as usize;
[INFO] [stdout]     |                                      ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 8.30s
[INFO] running `Command { std: "docker" "inspect" "728b9d0a6fde9abd4a9e985112b2c7eb7c40f35a3f317d97490ced691543169d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "728b9d0a6fde9abd4a9e985112b2c7eb7c40f35a3f317d97490ced691543169d", kill_on_drop: false }`
[INFO] [stdout] 728b9d0a6fde9abd4a9e985112b2c7eb7c40f35a3f317d97490ced691543169d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] b37e3c786a6f725fce0c766c27f1afa31358367d2e65415e16dded90edd2545e
[INFO] running `Command { std: "docker" "start" "-a" "b37e3c786a6f725fce0c766c27f1afa31358367d2e65415e16dded90edd2545e", kill_on_drop: false }`
[INFO] [stderr] warning: variable `ctx` is assigned to, but never used
[INFO] [stderr]    --> src/core/zpoline.rs:201:6
[INFO] [stderr]     |
[INFO] [stderr] 201 |     let mut ctx = crate::syscall::SyscallContext {
[INFO] [stderr]     |         ^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: consider using `_ctx` instead
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `ctx` is never read
[INFO] [stderr]    --> src/core/zpoline.rs:224:3
[INFO] [stderr]     |
[INFO] [stderr] 224 |         ctx.should_emulate = unsafe { *should_emulate } != 0;
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: maybe it is overwritten before being read?
[INFO] [stderr]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `ctx` is never read
[INFO] [stderr]    --> src/core/zpoline.rs:222:3
[INFO] [stderr]     |
[INFO] [stderr] 222 |         ctx.should_emulate = false;
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: maybe it is overwritten before being read?
[INFO] [stderr] 
[INFO] [stderr] warning: direct cast of function item into an integer
[INFO] [stderr]    --> src/core/signal.rs:118:76
[INFO] [stderr]     |
[INFO] [stderr] 118 |     unsafe { *gregs.add(libc::REG_RIP as usize) = restore_selector_trampoline as i64 };
[INFO] [stderr]     |                                                                               ^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(function_casts_as_integer)]` on by default
[INFO] [stderr] help: first cast to a pointer `as *const ()`
[INFO] [stderr]     |
[INFO] [stderr] 118 |     unsafe { *gregs.add(libc::REG_RIP as usize) = restore_selector_trampoline as *const () as i64 };
[INFO] [stderr]     |                                                                               ++++++++++++
[INFO] [stderr] 
[INFO] [stderr] warning: direct cast of function item into an integer
[INFO] [stderr]    --> src/core/signal.rs:373:49
[INFO] [stderr]     |
[INFO] [stderr] 373 |         newact_cpy.sa_sigaction = wrap_signal_handler as usize;
[INFO] [stderr]     |                                                       ^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr] help: first cast to a pointer `as *const ()`
[INFO] [stderr]     |
[INFO] [stderr] 373 |         newact_cpy.sa_sigaction = wrap_signal_handler as *const () as usize;
[INFO] [stderr]     |                                                       ++++++++++++
[INFO] [stderr] 
[INFO] [stderr] warning: direct cast of function item into an integer
[INFO] [stderr]    --> src/core/sud.rs:160:65
[INFO] [stderr]     |
[INFO] [stderr] 160 |     unsafe { *gregs.add(libc::REG_RIP as usize) = asm_syscall_hook as i64 };
[INFO] [stderr]     |                                                                    ^^^^^^
[INFO] [stderr]     |
[INFO] [stderr] help: first cast to a pointer `as *const ()`
[INFO] [stderr]     |
[INFO] [stderr] 160 |     unsafe { *gregs.add(libc::REG_RIP as usize) = asm_syscall_hook as *const () as i64 };
[INFO] [stderr]     |                                                                    ++++++++++++
[INFO] [stderr] 
[INFO] [stderr] warning: direct cast of function item into an integer
[INFO] [stderr]    --> src/core/sud.rs:209:35
[INFO] [stderr]     |
[INFO] [stderr] 209 |     act.sa_sigaction = handle_sigsys as usize;
[INFO] [stderr]     |                                      ^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr] help: first cast to a pointer `as *const ()`
[INFO] [stderr]     |
[INFO] [stderr] 209 |     act.sa_sigaction = handle_sigsys as *const () as usize;
[INFO] [stderr]     |                                      ++++++++++++
[INFO] [stderr] 
[INFO] [stderr] warning: direct cast of function item into an integer
[INFO] [stderr]    --> src/core/sud.rs:232:42
[INFO] [stderr]     |
[INFO] [stderr] 232 |     if oldact.sa_sigaction != handle_sigsys as usize {
[INFO] [stderr]     |                                             ^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr] help: first cast to a pointer `as *const ()`
[INFO] [stderr]     |
[INFO] [stderr] 232 |     if oldact.sa_sigaction != handle_sigsys as *const () as usize {
[INFO] [stderr]     |                                             ++++++++++++
[INFO] [stderr] 
[INFO] [stderr] warning: direct cast of function item into an integer
[INFO] [stderr]    --> src/core/zpoline.rs:124:35
[INFO] [stderr]     |
[INFO] [stderr] 124 |     let hook_addr = asm_syscall_hook as usize;
[INFO] [stderr]     |                                      ^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr] help: first cast to a pointer `as *const ()`
[INFO] [stderr]     |
[INFO] [stderr] 124 |     let hook_addr = asm_syscall_hook as *const () as usize;
[INFO] [stderr]     |                                      ++++++++++++
[INFO] [stderr] 
[INFO] [stderr] warning: `lazypoline-rs` (lib) generated 9 warnings (run `cargo fix --lib -p lazypoline-rs` to apply 6 suggestions)
[INFO] [stderr] warning: `lazypoline-rs` (lib test) generated 9 warnings (9 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/build/lazypoline-rs/0a97b45f0c53f760/deps/lazypoline_rs-0a97b45f0c53f760)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests lazypoline_rs
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test src/lib.rs - (line 9) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 9) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `lazypoline`
[INFO] [stdout]   --> src/lib.rs:10:18
[INFO] [stdout]    |
[INFO] [stdout] 10 | use lazypoline::{self, syscall, SyscallContext, SyscallAction};
[INFO] [stdout]    |                  ^^^^ no external crate `lazypoline`
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stdout]   --> src/lib.rs:21:18
[INFO] [stdout]    |
[INFO] [stdout] 21 |         .handler(handle_open())
[INFO] [stdout]    |                  ^^^^^^^^^^^-- argument #1 is missing
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/lib.rs:13:4
[INFO] [stdout]    |
[INFO] [stdout] 13 | fn handle_open(ctx: &mut SyscallContext) -> SyscallAction {
[INFO] [stdout]    |    ^^^^^^^^^^^ ------------------------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 21 |         .handler(handle_open(/* ctx */))
[INFO] [stdout]    |                              +++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0432.
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 9)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.31s; merged doctests compilation took 0.17s
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "b37e3c786a6f725fce0c766c27f1afa31358367d2e65415e16dded90edd2545e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b37e3c786a6f725fce0c766c27f1afa31358367d2e65415e16dded90edd2545e", kill_on_drop: false }`
[INFO] [stdout] b37e3c786a6f725fce0c766c27f1afa31358367d2e65415e16dded90edd2545e
