[INFO] fetching crate lazypoline-rs 0.2.0...
[INFO] testing lazypoline-rs-0.2.0 against master#0d162b25edd5bf0dba9a22e83b614f1113e90474 for pr-150681
[INFO] extracting crate lazypoline-rs 0.2.0 into /workspace/builds/worker-7-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-7-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate lazypoline-rs 0.2.0 on toolchain 0d162b25edd5bf0dba9a22e83b614f1113e90474
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "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" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded lazypoline-macros v0.2.0
[INFO] [stderr]   Downloaded anyhow v1.0.97
[INFO] [stderr]   Downloaded tempfile v3.19.0
[INFO] [stderr]   Downloaded cc v1.2.16
[INFO] [stderr]   Downloaded rustix v1.0.2
[INFO] [stderr]   Downloaded linux-raw-sys v0.9.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5cf83ac78c9114a3e95a86bc7ee68f2014f6795d8f9e45763c8be77f2d42c858
[INFO] running `Command { std: "docker" "start" "-a" "5cf83ac78c9114a3e95a86bc7ee68f2014f6795d8f9e45763c8be77f2d42c858", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5cf83ac78c9114a3e95a86bc7ee68f2014f6795d8f9e45763c8be77f2d42c858", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5cf83ac78c9114a3e95a86bc7ee68f2014f6795d8f9e45763c8be77f2d42c858", kill_on_drop: false }`
[INFO] [stdout] 5cf83ac78c9114a3e95a86bc7ee68f2014f6795d8f9e45763c8be77f2d42c858
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bc5fc210d114e4fde9268c07352b833017535ecafde4ce00ce6cef47efddcc67
[INFO] running `Command { std: "docker" "start" "-a" "bc5fc210d114e4fde9268c07352b833017535ecafde4ce00ce6cef47efddcc67", kill_on_drop: false }`
[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 tracing-core v0.1.33
[INFO] [stderr]    Compiling nix v0.29.0
[INFO] [stderr]    Compiling overload v0.1.1
[INFO] [stderr]    Compiling cc v1.2.16
[INFO] [stderr]    Compiling log v0.4.26
[INFO] [stderr]    Compiling nu-ansi-term v0.46.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling thread_local v1.1.8
[INFO] [stderr]    Compiling smallvec v1.14.0
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling lazypoline-macros v0.2.0
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling lazypoline-rs v0.2.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling regex-automata v0.1.10
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling matchers v0.1.0
[INFO] [stderr]    Compiling regex v1.11.1
[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 24.63s
[INFO] running `Command { std: "docker" "inspect" "bc5fc210d114e4fde9268c07352b833017535ecafde4ce00ce6cef47efddcc67", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bc5fc210d114e4fde9268c07352b833017535ecafde4ce00ce6cef47efddcc67", kill_on_drop: false }`
[INFO] [stdout] bc5fc210d114e4fde9268c07352b833017535ecafde4ce00ce6cef47efddcc67
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 34c4bcc1f029f6db30a3537d88bd0e64190c70b18a1959ac8ac95c45d5de05ca
[INFO] running `Command { std: "docker" "start" "-a" "34c4bcc1f029f6db30a3537d88bd0e64190c70b18a1959ac8ac95c45d5de05ca", kill_on_drop: false }`
[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 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.19s
[INFO] running `Command { std: "docker" "inspect" "34c4bcc1f029f6db30a3537d88bd0e64190c70b18a1959ac8ac95c45d5de05ca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "34c4bcc1f029f6db30a3537d88bd0e64190c70b18a1959ac8ac95c45d5de05ca", kill_on_drop: false }`
[INFO] [stdout] 34c4bcc1f029f6db30a3537d88bd0e64190c70b18a1959ac8ac95c45d5de05ca
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 81699b2698f27b11327d43409855fc360167bda57502a9dba8f9a948abc23b3b
[INFO] running `Command { std: "docker" "start" "-a" "81699b2698f27b11327d43409855fc360167bda57502a9dba8f9a948abc23b3b", 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.07s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.18s; merged doctests compilation took 0.10s
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "81699b2698f27b11327d43409855fc360167bda57502a9dba8f9a948abc23b3b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "81699b2698f27b11327d43409855fc360167bda57502a9dba8f9a948abc23b3b", kill_on_drop: false }`
[INFO] [stdout] 81699b2698f27b11327d43409855fc360167bda57502a9dba8f9a948abc23b3b
