[INFO] fetching crate panda-re 0.49.0...
[INFO] testing panda-re-0.49.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8
[INFO] extracting crate panda-re 0.49.0 into /workspace/builds/worker-5-tc1/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-5-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate panda-re 0.49.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded quote v1.0.10
[INFO] [stderr]   Downloaded strum v0.20.0
[INFO] [stderr]   Downloaded thiserror-impl v1.0.30
[INFO] [stderr]   Downloaded proc-macro2 v1.0.30
[INFO] [stderr]   Downloaded thiserror v1.0.30
[INFO] [stderr]   Downloaded system-deps v1.3.2
[INFO] [stderr]   Downloaded unicode-segmentation v1.8.0
[INFO] [stderr]   Downloaded pkg-config v0.3.20
[INFO] [stderr]   Downloaded strum v0.18.0
[INFO] [stderr]   Downloaded inventory-impl v0.1.10
[INFO] [stderr]   Downloaded async-trait v0.1.51
[INFO] [stderr]   Downloaded ctor v0.1.21
[INFO] [stderr]   Downloaded once_cell v1.8.0
[INFO] [stderr]   Downloaded dirs-sys v0.3.6
[INFO] [stderr]   Downloaded lock_api v0.4.5
[INFO] [stderr]   Downloaded array-init v2.0.0
[INFO] [stderr]   Downloaded ghost v0.1.2
[INFO] [stderr]   Downloaded dirs v3.0.2
[INFO] [stderr]   Downloaded strum_macros v0.18.0
[INFO] [stderr]   Downloaded redox_syscall v0.2.10
[INFO] [stderr]   Downloaded panda-re-macros v0.26.0
[INFO] [stderr]   Downloaded serde v1.0.130
[INFO] [stderr]   Downloaded version-compare v0.0.10
[INFO] [stderr]   Downloaded libc v0.2.103
[INFO] [stderr]   Downloaded parking_lot v0.11.2
[INFO] [stderr]   Downloaded glib-sys v0.10.1
[INFO] [stderr]   Downloaded parking_lot_core v0.8.5
[INFO] [stderr]   Downloaded smallvec v1.7.0
[INFO] [stderr]   Downloaded syn v1.0.80
[INFO] [stderr]   Downloaded inventory v0.1.10
[INFO] [stderr]   Downloaded strum_macros v0.20.1
[INFO] [stderr]   Downloaded paste v1.0.5
[INFO] [stderr]   Downloaded panda-re-sys v0.8.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 088cb5fa65dd94c04482594a791e90dc3dbb1a76d5a3eb12010e1156eac13cd7
[INFO] running `Command { std: "docker" "start" "-a" "088cb5fa65dd94c04482594a791e90dc3dbb1a76d5a3eb12010e1156eac13cd7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "088cb5fa65dd94c04482594a791e90dc3dbb1a76d5a3eb12010e1156eac13cd7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "088cb5fa65dd94c04482594a791e90dc3dbb1a76d5a3eb12010e1156eac13cd7", kill_on_drop: false }`
[INFO] [stdout] 088cb5fa65dd94c04482594a791e90dc3dbb1a76d5a3eb12010e1156eac13cd7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 659cc3df2ee776707e8079a9ff5597d7522c6963cd5c30251bea574ec5c1f5db
[INFO] running `Command { std: "docker" "start" "-a" "659cc3df2ee776707e8079a9ff5597d7522c6963cd5c30251bea574ec5c1f5db", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.30
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.80
[INFO] [stderr]    Compiling libc v0.2.103
[INFO] [stderr]    Compiling unicode-segmentation v1.8.0
[INFO] [stderr]    Compiling serde v1.0.130
[INFO] [stderr]    Compiling strum v0.18.0
[INFO] [stderr]    Compiling pkg-config v0.3.20
[INFO] [stderr]    Compiling version-compare v0.0.10
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]    Compiling doc-comment v0.3.3
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling panda-re-sys v0.8.0
[INFO] [stderr]    Compiling inventory v0.1.10
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]    Compiling async-trait v0.1.51
[INFO] [stderr]    Compiling smallvec v1.7.0
[INFO] [stderr]    Compiling quote v1.0.10
[INFO] [stderr]    Compiling lock_api v0.4.5
[INFO] [stderr]    Compiling libloading v0.6.7
[INFO] [stderr]    Compiling array-init v2.0.0
[INFO] [stderr]    Compiling paste v1.0.5
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling dirs-sys v0.3.6
[INFO] [stderr]    Compiling dashmap v4.0.2
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling dirs v3.0.2
[INFO] [stderr]    Compiling strum v0.20.0
[INFO] [stderr]    Compiling once_cell v1.8.0
[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 ctor v0.1.21
[INFO] [stderr]    Compiling inventory-impl v0.1.10
[INFO] [stderr]    Compiling ghost v0.1.2
[INFO] [stderr]    Compiling strum_macros v0.20.1
[INFO] [stderr]    Compiling thiserror v1.0.30
[INFO] [stderr]    Compiling system-deps v1.3.2
[INFO] [stderr]    Compiling darling_macro v0.10.2
[INFO] [stderr]    Compiling glib-sys v0.10.1
[INFO] [stderr]    Compiling darling v0.10.2
[INFO] [stderr]    Compiling panda-re-macros v0.26.0
[INFO] [stderr]    Compiling 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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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<T>(&self, sym: &str) -> Symbol<T> {
[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<T>(&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<str> {
[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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 59.38s
[INFO] running `Command { std: "docker" "inspect" "659cc3df2ee776707e8079a9ff5597d7522c6963cd5c30251bea574ec5c1f5db", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "659cc3df2ee776707e8079a9ff5597d7522c6963cd5c30251bea574ec5c1f5db", kill_on_drop: false }`
[INFO] [stdout] 659cc3df2ee776707e8079a9ff5597d7522c6963cd5c30251bea574ec5c1f5db
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8c4ac5fc3f69c8f951309d84d5e69941fc85cad39b2185fde7e2ea04605400dc
[INFO] running `Command { std: "docker" "start" "-a" "8c4ac5fc3f69c8f951309d84d5e69941fc85cad39b2185fde7e2ea04605400dc", kill_on_drop: false }`
[INFO] [stderr]    Compiling 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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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<T>(&self, sym: &str) -> Symbol<T> {
[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<T>(&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<str> {
[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] warning: unused variable: `cpu`
[INFO] [stdout]   --> examples/osi.rs:39:18
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn on_proc_start(cpu: &mut CPUState, tb: &mut TranslationBlock, auxv: &AuxvValues) {
[INFO] [stdout]    |                  ^^^ help: if this is intentional, prefix it with an underscore: `_cpu`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tb`
[INFO] [stdout]   --> examples/osi.rs:39:38
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn on_proc_start(cpu: &mut CPUState, tb: &mut TranslationBlock, auxv: &AuxvValues) {
[INFO] [stdout]    |                                      ^^ help: if this is intentional, prefix it with an underscore: `_tb`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note:  "cc" "-m64" "/tmp/rustceYhSP0/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libpanda-f45097d34721de51,libarray_init-dcd58c392e4cce4d,liblog-e324f1d2fae59712,libparking_lot-90299a2cbcf424c0,libparking_lot_core-b8658951b96c4038,libsmallvec-647ec04a1585c7a5,liblock_api-f53ebc2a2625a986,libscopeguard-43643e546252cd47,libinstant-4d6645a170db77ef,libdashmap-1a351a2fa5d8e14a,libnum_cpus-f1f008d6980376cb,libglib_sys-9e7f407d0f57c832,liblibc-0e6bca4430614d96,liblibloading-b9d8331ed624d244,libcfg_if-33ef6c02a07f9fec,libthiserror-4172533e90fb109b,libstrum-94717c53230143fe,libonce_cell-5132bd2988d9c7dd,liblazy_static-2bb390fee0230a38,libinventory-dc003516e79d7c3d,libpanda_sys-f179e73f629c54a5}.rlib" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lglib-2.0" "-ldl" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustceYhSP0/raw-dylibs" "-B<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/ppp_callback_export-712e9929850f131a" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
[INFO] [stdout]   = note: some arguments are omitted. use `--verbose` to show all linker arguments
[INFO] [stdout]   = note: rust-lld: error: undefined symbol: panda_register_callback_with_context
[INFO] [stdout]           >>> referenced by closure.rs:129 (src/callbacks/closure.rs:129)
[INFO] [stdout]           >>>               panda-f45097d34721de51.panda.e05d113ae7986a2-cgu.13.rcgu.o:(panda::callbacks::closure::install_closure_callback::ha430c4df8ee6763c) in archive /opt/rustwide/target/debug/deps/libpanda-f45097d34721de51.rlib
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: panda_disable_callback_with_context
[INFO] [stdout]           >>> referenced by closure.rs:91 (src/callbacks/closure.rs:91)
[INFO] [stdout]           >>>               panda-f45097d34721de51.panda.e05d113ae7986a2-cgu.13.rcgu.o:(panda::callbacks::closure::Callback::disable::hc32bba75d4663727) in archive /opt/rustwide/target/debug/deps/libpanda-f45097d34721de51.rlib
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `panda-re` (example "ppp_callback_export") due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note:  "cc" "-m64" "/tmp/rustc6xJePA/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libpanda-f45097d34721de51,libarray_init-dcd58c392e4cce4d,liblog-e324f1d2fae59712,libparking_lot-90299a2cbcf424c0,libparking_lot_core-b8658951b96c4038,libsmallvec-647ec04a1585c7a5,liblock_api-f53ebc2a2625a986,libscopeguard-43643e546252cd47,libinstant-4d6645a170db77ef,libdashmap-1a351a2fa5d8e14a,libnum_cpus-f1f008d6980376cb,libglib_sys-9e7f407d0f57c832,liblibc-0e6bca4430614d96,liblibloading-b9d8331ed624d244,libcfg_if-33ef6c02a07f9fec,libthiserror-4172533e90fb109b,libstrum-94717c53230143fe,libonce_cell-5132bd2988d9c7dd,liblazy_static-2bb390fee0230a38,libinventory-dc003516e79d7c3d,libpanda_sys-f179e73f629c54a5}.rlib" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lglib-2.0" "-ldl" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustc6xJePA/raw-dylibs" "-B<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/unicorn_taint-cf146595a7dad61c" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
[INFO] [stdout]   = note: some arguments are omitted. use `--verbose` to show all linker arguments
[INFO] [stdout]   = note: rust-lld: error: undefined symbol: panda_require
[INFO] [stdout]           >>> referenced by mod.rs:456 (src/plugins/mod.rs:456)
[INFO] [stdout]           >>>               panda-f45097d34721de51.panda.e05d113ae7986a2-cgu.14.rcgu.o:(panda::plugins::Plugin::new::hd52750301c42df9a) in archive /opt/rustwide/target/debug/deps/libpanda-f45097d34721de51.rlib
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: map_memory
[INFO] [stdout]           >>> referenced by mem.rs:224 (src/api/mem.rs:224)
[INFO] [stdout]           >>>               panda-f45097d34721de51.panda.e05d113ae7986a2-cgu.12.rcgu.o:(panda::api::mem::map_memory::h7f1bb704b9221d84) in archive /opt/rustwide/target/debug/deps/libpanda-f45097d34721de51.rlib
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: panda_physical_memory_write_external
[INFO] [stdout]           >>> referenced by mem.rs:196 (src/api/mem.rs:196)
[INFO] [stdout]           >>>               panda-f45097d34721de51.panda.e05d113ae7986a2-cgu.12.rcgu.o:(panda::api::mem::physical_memory_write::hd5907bd0788a4f7b) in archive /opt/rustwide/target/debug/deps/libpanda-f45097d34721de51.rlib
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note:  "cc" "-m64" "/tmp/rustcBizoLa/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libpanda-f45097d34721de51,libarray_init-dcd58c392e4cce4d,liblog-e324f1d2fae59712,libparking_lot-90299a2cbcf424c0,libparking_lot_core-b8658951b96c4038,libsmallvec-647ec04a1585c7a5,liblock_api-f53ebc2a2625a986,libscopeguard-43643e546252cd47,libinstant-4d6645a170db77ef,libdashmap-1a351a2fa5d8e14a,libnum_cpus-f1f008d6980376cb,libglib_sys-9e7f407d0f57c832,liblibc-0e6bca4430614d96,liblibloading-b9d8331ed624d244,libcfg_if-33ef6c02a07f9fec,libthiserror-4172533e90fb109b,libstrum-94717c53230143fe,libonce_cell-5132bd2988d9c7dd,liblazy_static-2bb390fee0230a38,libinventory-dc003516e79d7c3d,libpanda_sys-f179e73f629c54a5}.rlib" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lglib-2.0" "-ldl" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcBizoLa/raw-dylibs" "-B<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/closures-98a122a1865386e5" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
[INFO] [stdout]   = note: some arguments are omitted. use `--verbose` to show all linker arguments
[INFO] [stdout]   = note: rust-lld: error: undefined symbol: panda_register_callback_with_context
[INFO] [stdout]           >>> referenced by closure.rs:129 (src/callbacks/closure.rs:129)
[INFO] [stdout]           >>>               panda-f45097d34721de51.panda.e05d113ae7986a2-cgu.13.rcgu.o:(panda::callbacks::closure::install_closure_callback::ha430c4df8ee6763c) in archive /opt/rustwide/target/debug/deps/libpanda-f45097d34721de51.rlib
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: panda_disable_callback_with_context
[INFO] [stdout]           >>> referenced by closure.rs:91 (src/callbacks/closure.rs:91)
[INFO] [stdout]           >>>               panda-f45097d34721de51.panda.e05d113ae7986a2-cgu.13.rcgu.o:(panda::callbacks::closure::Callback::disable::hc32bba75d4663727) in archive /opt/rustwide/target/debug/deps/libpanda-f45097d34721de51.rlib
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: panda_require
[INFO] [stdout]           >>> referenced by mod.rs:456 (src/plugins/mod.rs:456)
[INFO] [stdout]           >>>               panda-f45097d34721de51.panda.e05d113ae7986a2-cgu.14.rcgu.o:(panda::plugins::Plugin::new::hd52750301c42df9a) in archive /opt/rustwide/target/debug/deps/libpanda-f45097d34721de51.rlib
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `panda-re` (example "unicorn_taint") due to 1 previous error
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note:  "cc" "-m64" "/tmp/rustcuj3xwb/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libpanda-f45097d34721de51,libarray_init-dcd58c392e4cce4d,liblog-e324f1d2fae59712,libparking_lot-90299a2cbcf424c0,libparking_lot_core-b8658951b96c4038,libsmallvec-647ec04a1585c7a5,liblock_api-f53ebc2a2625a986,libscopeguard-43643e546252cd47,libinstant-4d6645a170db77ef,libdashmap-1a351a2fa5d8e14a,libnum_cpus-f1f008d6980376cb,libglib_sys-9e7f407d0f57c832,liblibc-0e6bca4430614d96,liblibloading-b9d8331ed624d244,libcfg_if-33ef6c02a07f9fec,libthiserror-4172533e90fb109b,libstrum-94717c53230143fe,libonce_cell-5132bd2988d9c7dd,liblazy_static-2bb390fee0230a38,libinventory-dc003516e79d7c3d,libpanda_sys-f179e73f629c54a5}.rlib" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lglib-2.0" "-ldl" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcuj3xwb/raw-dylibs" "-B<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/hooks-c81ba3179718ac0a" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
[INFO] [stdout]   = note: some arguments are omitted. use `--verbose` to show all linker arguments
[INFO] [stdout]   = note: rust-lld: error: undefined symbol: panda_require
[INFO] [stdout]           >>> referenced by mod.rs:456 (src/plugins/mod.rs:456)
[INFO] [stdout]           >>>               panda-f45097d34721de51.panda.e05d113ae7986a2-cgu.14.rcgu.o:(panda::plugins::Plugin::new::hd52750301c42df9a) in archive /opt/rustwide/target/debug/deps/libpanda-f45097d34721de51.rlib
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `panda-re` (example "hooks") due to 1 previous error
[INFO] [stderr] error: could not compile `panda-re` (example "closures") due to 1 previous error
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note:  "cc" "-m64" "/tmp/rustc3pLXwW/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libpanda-f45097d34721de51,libarray_init-dcd58c392e4cce4d,liblog-e324f1d2fae59712,libparking_lot-90299a2cbcf424c0,libparking_lot_core-b8658951b96c4038,libsmallvec-647ec04a1585c7a5,liblock_api-f53ebc2a2625a986,libscopeguard-43643e546252cd47,libinstant-4d6645a170db77ef,libdashmap-1a351a2fa5d8e14a,libnum_cpus-f1f008d6980376cb,libglib_sys-9e7f407d0f57c832,liblibc-0e6bca4430614d96,liblibloading-b9d8331ed624d244,libcfg_if-33ef6c02a07f9fec,libthiserror-4172533e90fb109b,libstrum-94717c53230143fe,libonce_cell-5132bd2988d9c7dd,liblazy_static-2bb390fee0230a38,libinventory-dc003516e79d7c3d,libpanda_sys-f179e73f629c54a5}.rlib" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lglib-2.0" "-ldl" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustc3pLXwW/raw-dylibs" "-B<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/osi-f23ef90067e4b8cc" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
[INFO] [stdout]   = note: some arguments are omitted. use `--verbose` to show all linker arguments
[INFO] [stdout]   = note: rust-lld: error: undefined symbol: panda_in_kernel_mode_external
[INFO] [stdout]           >>> referenced by misc.rs:8 (src/api/misc.rs:8)
[INFO] [stdout]           >>>               panda-f45097d34721de51.panda.e05d113ae7986a2-cgu.08.rcgu.o:(panda::api::misc::in_kernel_mode::h6174c340d1bfe298) in archive /opt/rustwide/target/debug/deps/libpanda-f45097d34721de51.rlib
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: panda_require
[INFO] [stdout]           >>> referenced by mod.rs:456 (src/plugins/mod.rs:456)
[INFO] [stdout]           >>>               panda-f45097d34721de51.panda.e05d113ae7986a2-cgu.14.rcgu.o:(panda::plugins::Plugin::new::hd52750301c42df9a) in archive /opt/rustwide/target/debug/deps/libpanda-f45097d34721de51.rlib
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `panda-re` (example "osi") due to 1 previous error; 2 warnings emitted
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note:  "cc" "-m64" "/tmp/rustcrMWBIO/symbols.o" "<4 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libpanda-f45097d34721de51,libarray_init-dcd58c392e4cce4d,liblog-e324f1d2fae59712,libparking_lot-90299a2cbcf424c0,libparking_lot_core-b8658951b96c4038,libsmallvec-647ec04a1585c7a5,liblock_api-f53ebc2a2625a986,libscopeguard-43643e546252cd47,libinstant-4d6645a170db77ef,libdashmap-1a351a2fa5d8e14a,libnum_cpus-f1f008d6980376cb,libglib_sys-9e7f407d0f57c832,liblibc-0e6bca4430614d96,liblibloading-b9d8331ed624d244,libcfg_if-33ef6c02a07f9fec,libthiserror-4172533e90fb109b,libstrum-94717c53230143fe,libonce_cell-5132bd2988d9c7dd,liblazy_static-2bb390fee0230a38,libinventory-dc003516e79d7c3d,libpanda_sys-f179e73f629c54a5}.rlib" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lglib-2.0" "-ldl" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcrMWBIO/raw-dylibs" "-B<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/syscall_injection-ece03f20bd75a85b" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
[INFO] [stdout]   = note: some arguments are omitted. use `--verbose` to show all linker arguments
[INFO] [stdout]   = note: rust-lld: error: undefined symbol: panda_current_asid
[INFO] [stdout]           >>> referenced by syscall_injection.rs:47 (examples/syscall_injection.rs:47)
[INFO] [stdout]           >>>               /opt/rustwide/target/debug/examples/syscall_injection-ece03f20bd75a85b.syscall_injection.e83ce6442b69a6bd-cgu.1.rcgu.o:(syscall_injection::in_same_asid::h968c673fe89561ac)
[INFO] [stdout]           >>> referenced by syscall_injection.rs:447 (src/syscall_injection.rs:447)
[INFO] [stdout]           >>>               panda-f45097d34721de51.panda.e05d113ae7986a2-cgu.13.rcgu.o:(panda::syscall_injection::current_asid::h65b793b138cd4c8e) in archive /opt/rustwide/target/debug/deps/libpanda-f45097d34721de51.rlib
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: get_cpu
[INFO] [stdout]           >>> referenced by syscall_injection.rs:250 (src/syscall_injection.rs:250)
[INFO] [stdout]           >>>               /opt/rustwide/target/debug/examples/syscall_injection-ece03f20bd75a85b.syscall_injection.e83ce6442b69a6bd-cgu.1.rcgu.o:(panda::syscall_injection::run_injector::h89df3f934e8cce34)
[INFO] [stdout]           >>> referenced by syscall_future.rs:57 (src/syscall_injection/syscall_future.rs:57)
[INFO] [stdout]           >>>               /opt/rustwide/target/debug/examples/syscall_injection-ece03f20bd75a85b.syscall_injection.e83ce6442b69a6bd-cgu.2.rcgu.o:(panda::syscall_injection::syscall_future::syscall::_$u7b$$u7b$closure$u7d$$u7d$::h8741466475d740be)
[INFO] [stdout]           >>> referenced by syscall_regs.rs:15 (src/syscall_injection/syscall_regs.rs:15)
[INFO] [stdout]           >>>               panda-f45097d34721de51.panda.e05d113ae7986a2-cgu.12.rcgu.o:(panda::syscall_injection::syscall_regs::SyscallRegs::backup::h49e40ede5178ab4e) in archive /opt/rustwide/target/debug/deps/libpanda-f45097d34721de51.rlib
[INFO] [stdout]           >>> referenced 3 more times
[INFO] [stdout]           >>> did you mean: getcpu
[INFO] [stdout]           >>> defined in: /lib/x86_64-linux-gnu/libc.so.6
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: panda_virtual_memory_read_external
[INFO] [stdout]           >>> referenced by mem.rs:104 (src/api/mem.rs:104)
[INFO] [stdout]           >>>               panda-f45097d34721de51.panda.e05d113ae7986a2-cgu.12.rcgu.o:(panda::api::mem::virtual_memory_read::hdb5997c0feadef7d) in archive /opt/rustwide/target/debug/deps/libpanda-f45097d34721de51.rlib
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: panda_virtual_memory_write_external
[INFO] [stdout]           >>> referenced by mem.rs:182 (src/api/mem.rs:182)
[INFO] [stdout]           >>>               panda-f45097d34721de51.panda.e05d113ae7986a2-cgu.12.rcgu.o:(panda::api::mem::virtual_memory_write::h6864bc027a7a32ca) in archive /opt/rustwide/target/debug/deps/libpanda-f45097d34721de51.rlib
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: cpu_loop_exit_noexc
[INFO] [stdout]           >>> referenced by syscall_injection.rs:202 (src/syscall_injection.rs:202)
[INFO] [stdout]           >>>               panda-f45097d34721de51.panda.e05d113ae7986a2-cgu.13.rcgu.o:(panda::syscall_injection::restart_syscall::hb32356da4d6a5260) in archive /opt/rustwide/target/debug/deps/libpanda-f45097d34721de51.rlib
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: panda_require
[INFO] [stdout]           >>> referenced by mod.rs:456 (src/plugins/mod.rs:456)
[INFO] [stdout]           >>>               panda-f45097d34721de51.panda.e05d113ae7986a2-cgu.14.rcgu.o:(panda::plugins::Plugin::new::hd52750301c42df9a) in archive /opt/rustwide/target/debug/deps/libpanda-f45097d34721de51.rlib
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `panda-re` (example "syscall_injection") due to 1 previous error
[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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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<T>(&self, sym: &str) -> Symbol<T> {
[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<T>(&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<str> {
[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] running `Command { std: "docker" "inspect" "8c4ac5fc3f69c8f951309d84d5e69941fc85cad39b2185fde7e2ea04605400dc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8c4ac5fc3f69c8f951309d84d5e69941fc85cad39b2185fde7e2ea04605400dc", kill_on_drop: false }`
[INFO] [stdout] 8c4ac5fc3f69c8f951309d84d5e69941fc85cad39b2185fde7e2ea04605400dc
