[INFO] fetching crate panda-re 0.49.0... [INFO] checking panda-re-0.49.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate panda-re 0.49.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate panda-re 0.49.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate panda-re 0.49.0 [INFO] tweaked toml for crates.io crate panda-re 0.49.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate panda-re 0.49.0 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate panda-re 0.49.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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5fa1ff8e2c5480bd30f1d28ee01843c38068c5d0e8a61e8173fd00b033866903 [INFO] running `Command { std: "docker" "start" "-a" "5fa1ff8e2c5480bd30f1d28ee01843c38068c5d0e8a61e8173fd00b033866903", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5fa1ff8e2c5480bd30f1d28ee01843c38068c5d0e8a61e8173fd00b033866903", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fa1ff8e2c5480bd30f1d28ee01843c38068c5d0e8a61e8173fd00b033866903", kill_on_drop: false }` [INFO] [stdout] 5fa1ff8e2c5480bd30f1d28ee01843c38068c5d0e8a61e8173fd00b033866903 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dunmustuse_in_always_ok" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3b50765674a62f217e5a01686fb5082b20dc2f3c7939d26dfc5ec5ee04aa1451 [INFO] running `Command { std: "docker" "start" "-a" "3b50765674a62f217e5a01686fb5082b20dc2f3c7939d26dfc5ec5ee04aa1451", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.30 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling strum v0.18.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling pkg-config v0.3.20 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling panda-re-sys v0.8.0 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling inventory v0.1.10 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Checking array-init v2.0.0 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking strum v0.20.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking parking_lot_core v0.8.5 [INFO] [stderr] Checking dirs v3.0.2 [INFO] [stderr] Checking dashmap v4.0.2 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling strum_macros v0.18.0 [INFO] [stderr] Compiling inventory-impl v0.1.10 [INFO] [stderr] Compiling ctor v0.1.21 [INFO] [stderr] Compiling ghost v0.1.2 [INFO] [stderr] Compiling strum_macros v0.20.1 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling panda-re-macros v0.26.0 [INFO] [stderr] Compiling system-deps v1.3.2 [INFO] [stderr] Compiling glib-sys v0.10.1 [INFO] [stderr] Checking panda-re v0.49.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `doc_cfg` [INFO] [stdout] --> src/lib.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | #![cfg_attr(doc_cfg, feature(doc_cfg))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `doc_cfg` [INFO] [stdout] --> src/lib.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | #[cfg_attr(doc_cfg, doc(cfg(feature = "syscall-injection")))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/plugins/mod.rs:334:56 [INFO] [stdout] | [INFO] [stdout] 334 | ... let closure: &mut &mut ( [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 335 | | ... dyn FnMut($($cb_arg_ty),*) $(-> $cb_fn_ret)? [INFO] [stdout] 336 | | ... ) = core::mem::transmute( [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/plugins/hooks2.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | panda_macros::generate_hooks2_callbacks!(); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `plugin_import` which comes from the expansion of the macro `panda_macros::generate_hooks2_callbacks` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/plugins/mod.rs:334:56 [INFO] [stdout] | [INFO] [stdout] 334 | ... let closure: &mut &mut ( [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 335 | | ... dyn FnMut($($cb_arg_ty),*) $(-> $cb_fn_ret)? [INFO] [stdout] 336 | | ... ) = core::mem::transmute( [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/plugins/proc_start_linux.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / plugin_import! { [INFO] [stdout] 12 | | static PROC_START_LINUX: ProcStartLinux = extern "proc_start_linux" { [INFO] [stdout] 13 | | callbacks { [INFO] [stdout] 14 | | fn on_rec_auxv(cpu: &mut CPUState, tb: &mut TranslationBlock, auxv: &AuxvValues); [INFO] [stdout] 15 | | } [INFO] [stdout] 16 | | }; [INFO] [stdout] 17 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `plugin_import` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/plugins/mod.rs:334:56 [INFO] [stdout] | [INFO] [stdout] 334 | ... let closure: &mut &mut ( [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 335 | | ... dyn FnMut($($cb_arg_ty),*) $(-> $cb_fn_ret)? [INFO] [stdout] 336 | | ... ) = core::mem::transmute( [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/plugins/syscalls2.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | generate_syscalls_callbacks!(); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `plugin_import` which comes from the expansion of the macro `generate_syscalls_callbacks` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `enums::arch::*` [INFO] [stdout] --> src/lib.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | pub use enums::arch::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `doc_cfg` [INFO] [stdout] --> src/lib.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | #![cfg_attr(doc_cfg, feature(doc_cfg))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `doc_cfg` [INFO] [stdout] --> src/lib.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | #[cfg_attr(doc_cfg, doc(cfg(feature = "syscall-injection")))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/plugins/mod.rs:334:56 [INFO] [stdout] | [INFO] [stdout] 334 | ... let closure: &mut &mut ( [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 335 | | ... dyn FnMut($($cb_arg_ty),*) $(-> $cb_fn_ret)? [INFO] [stdout] 336 | | ... ) = core::mem::transmute( [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/plugins/hooks2.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | panda_macros::generate_hooks2_callbacks!(); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `plugin_import` which comes from the expansion of the macro `panda_macros::generate_hooks2_callbacks` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/plugins/mod.rs:334:56 [INFO] [stdout] | [INFO] [stdout] 334 | ... let closure: &mut &mut ( [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 335 | | ... dyn FnMut($($cb_arg_ty),*) $(-> $cb_fn_ret)? [INFO] [stdout] 336 | | ... ) = core::mem::transmute( [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/plugins/proc_start_linux.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / plugin_import! { [INFO] [stdout] 12 | | static PROC_START_LINUX: ProcStartLinux = extern "proc_start_linux" { [INFO] [stdout] 13 | | callbacks { [INFO] [stdout] 14 | | fn on_rec_auxv(cpu: &mut CPUState, tb: &mut TranslationBlock, auxv: &AuxvValues); [INFO] [stdout] 15 | | } [INFO] [stdout] 16 | | }; [INFO] [stdout] 17 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `plugin_import` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/plugins/mod.rs:334:56 [INFO] [stdout] | [INFO] [stdout] 334 | ... let closure: &mut &mut ( [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 335 | | ... dyn FnMut($($cb_arg_ty),*) $(-> $cb_fn_ret)? [INFO] [stdout] 336 | | ... ) = core::mem::transmute( [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/plugins/syscalls2.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | generate_syscalls_callbacks!(); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `plugin_import` which comes from the expansion of the macro `generate_syscalls_callbacks` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `enums::arch::*` [INFO] [stdout] --> src/lib.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | pub use enums::arch::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/plugins/cosi/osi_statics.rs:20:33 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct EmptyMethodDelegator(&'static str, bool); [INFO] [stdout] | -------------------- ^^^^^^^^^^^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `last_injected_syscall` is never used [INFO] [stdout] --> src/syscall_injection/syscall_future.rs:35:15 [INFO] [stdout] | [INFO] [stdout] 35 | pub(crate) fn last_injected_syscall() -> target_ulong { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/plugins/mod.rs:472:19 [INFO] [stdout] | [INFO] [stdout] 472 | pub fn get(&self, sym: &str) -> Symbol { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 472 | pub fn get(&self, sym: &str) -> Symbol<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `exitCode` should have a snake case name [INFO] [stdout] --> src/plugins/hooks.rs:65:66 [INFO] [stdout] | [INFO] [stdout] 65 | extern "C" fn(env: &mut CPUState, tb: &mut TranslationBlock, exitCode: u8, hook: &mut Hook); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `exit_code` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/plugins/osi.rs:100:21 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn get_name(&self) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 100 | pub fn get_name(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/syscall_injection/conversion.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | self.try_into().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | impl_for_ints!(u8, u16, u32, u64); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the macro `impl_for_ints` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `panda-re` (lib test) due to 1 previous error; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/plugins/cosi/osi_statics.rs:20:33 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct EmptyMethodDelegator(&'static str, bool); [INFO] [stdout] | -------------------- ^^^^^^^^^^^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `last_injected_syscall` is never used [INFO] [stdout] --> src/syscall_injection/syscall_future.rs:35:15 [INFO] [stdout] | [INFO] [stdout] 35 | pub(crate) fn last_injected_syscall() -> target_ulong { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/plugins/mod.rs:472:19 [INFO] [stdout] | [INFO] [stdout] 472 | pub fn get(&self, sym: &str) -> Symbol { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 472 | pub fn get(&self, sym: &str) -> Symbol<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `exitCode` should have a snake case name [INFO] [stdout] --> src/plugins/hooks.rs:65:66 [INFO] [stdout] | [INFO] [stdout] 65 | extern "C" fn(env: &mut CPUState, tb: &mut TranslationBlock, exitCode: u8, hook: &mut Hook); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `exit_code` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/plugins/osi.rs:100:21 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn get_name(&self) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 100 | pub fn get_name(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/syscall_injection/conversion.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | self.try_into().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | impl_for_ints!(u8, u16, u32, u64); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the macro `impl_for_ints` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `panda-re` (lib) due to 1 previous error; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3b50765674a62f217e5a01686fb5082b20dc2f3c7939d26dfc5ec5ee04aa1451", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b50765674a62f217e5a01686fb5082b20dc2f3c7939d26dfc5ec5ee04aa1451", kill_on_drop: false }` [INFO] [stdout] 3b50765674a62f217e5a01686fb5082b20dc2f3c7939d26dfc5ec5ee04aa1451