[INFO] fetching crate lazypoline-rs 0.2.0...
[INFO] testing lazypoline-rs-0.2.0 against master#2fd6efc32704647e64d3d646d21c4c68eae100e4 for pr-149852-1
[INFO] extracting crate lazypoline-rs 0.2.0 into /workspace/builds/worker-4-tc1/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-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate lazypoline-rs 0.2.0 on toolchain 2fd6efc32704647e64d3d646d21c4c68eae100e4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "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" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tempfile v3.19.0
[INFO] [stderr]   Downloaded lazypoline-macros v0.2.0
[INFO] [stderr]   Downloaded once_cell v1.21.1
[INFO] [stderr]   Downloaded cc v1.2.16
[INFO] [stderr]   Downloaded nix v0.29.0
[INFO] [stderr]   Downloaded linux-raw-sys v0.9.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d8f1e3c4bbca8ec6281d2c3546725c676a4a0d3f0d7f0729d5fef757b04b1f89
[INFO] running `Command { std: "docker" "start" "-a" "d8f1e3c4bbca8ec6281d2c3546725c676a4a0d3f0d7f0729d5fef757b04b1f89", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d8f1e3c4bbca8ec6281d2c3546725c676a4a0d3f0d7f0729d5fef757b04b1f89", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d8f1e3c4bbca8ec6281d2c3546725c676a4a0d3f0d7f0729d5fef757b04b1f89", kill_on_drop: false }`
[INFO] [stdout] d8f1e3c4bbca8ec6281d2c3546725c676a4a0d3f0d7f0729d5fef757b04b1f89
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9d5441d57622cee4f0ab7417b17e55100a9da1d8424237ac88287d69d6273a03
[INFO] running `Command { std: "docker" "start" "-a" "9d5441d57622cee4f0ab7417b17e55100a9da1d8424237ac88287d69d6273a03", 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 libc v0.2.171
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling regex-syntax v0.6.29
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling cc v1.2.16
[INFO] [stderr]    Compiling nix v0.29.0
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling overload v0.1.1
[INFO] [stderr]    Compiling log v0.4.26
[INFO] [stderr]    Compiling nu-ansi-term v0.46.0
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling thread_local v1.1.8
[INFO] [stderr]    Compiling smallvec v1.14.0
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling bitflags v2.9.0
[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 32.97s
[INFO] running `Command { std: "docker" "inspect" "9d5441d57622cee4f0ab7417b17e55100a9da1d8424237ac88287d69d6273a03", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9d5441d57622cee4f0ab7417b17e55100a9da1d8424237ac88287d69d6273a03", kill_on_drop: false }`
[INFO] [stdout] 9d5441d57622cee4f0ab7417b17e55100a9da1d8424237ac88287d69d6273a03
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ef6f18da4af7d504bcb574b8b67a5cd2b3e5dda1097bd2f8d95170ab7ea036f7
[INFO] running `Command { std: "docker" "start" "-a" "ef6f18da4af7d504bcb574b8b67a5cd2b3e5dda1097bd2f8d95170ab7ea036f7", kill_on_drop: false }`
[INFO] [stderr]    Compiling bitflags v2.9.0
[INFO] [stderr]    Compiling rustix v1.0.2
[INFO] [stderr]    Compiling getrandom v0.3.1
[INFO] [stderr]    Compiling linux-raw-sys v0.9.3
[INFO] [stderr]    Compiling anyhow v1.0.97
[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 7.61s
[INFO] running `Command { std: "docker" "inspect" "ef6f18da4af7d504bcb574b8b67a5cd2b3e5dda1097bd2f8d95170ab7ea036f7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ef6f18da4af7d504bcb574b8b67a5cd2b3e5dda1097bd2f8d95170ab7ea036f7", kill_on_drop: false }`
[INFO] [stdout] ef6f18da4af7d504bcb574b8b67a5cd2b3e5dda1097bd2f8d95170ab7ea036f7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 9b9785ef8eefaebeeb9f75dbc0073046677d4514f1b93da39206c39b67786d4e
[INFO] running `Command { std: "docker" "start" "-a" "9b9785ef8eefaebeeb9f75dbc0073046677d4514f1b93da39206c39b67786d4e", 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.13s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/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.18s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.43s; merged doctests compilation took 0.25s
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "9b9785ef8eefaebeeb9f75dbc0073046677d4514f1b93da39206c39b67786d4e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9b9785ef8eefaebeeb9f75dbc0073046677d4514f1b93da39206c39b67786d4e", kill_on_drop: false }`
[INFO] [stdout] 9b9785ef8eefaebeeb9f75dbc0073046677d4514f1b93da39206c39b67786d4e
