[INFO] fetching crate lucet-module 0.6.1... [INFO] testing lucet-module-0.6.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate lucet-module 0.6.1 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate lucet-module 0.6.1 [INFO] finished tweaking crates.io crate lucet-module 0.6.1 [INFO] tweaked toml for crates.io crate lucet-module 0.6.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate lucet-module 0.6.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 71 packages to latest compatible versions [INFO] [stderr] Adding bincode v1.3.3 (available: v2.0.1) [INFO] [stderr] Adding cranelift-entity v0.51.0 (available: v0.123.2) [INFO] [stderr] Adding derivative v1.0.4 (available: v2.2.0) [INFO] [stderr] Adding memoffset v0.5.6 (available: v0.9.1) [INFO] [stderr] Adding minisign v0.5.23 (available: v0.7.9) [INFO] [stderr] Adding num-derive v0.3.3 (available: v0.4.2) [INFO] [stderr] Adding object v0.14.1 (available: v0.37.3) [INFO] [stderr] Adding serde-big-array v0.2.0 (available: v0.5.1) [INFO] [stderr] Adding subtle v2.4.1 (available: v2.6.1) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0ddf89a413abd3029d04810da5707061a1066eae43b5680fb8948c0b81057298 [INFO] running `Command { std: "docker" "start" "-a" "0ddf89a413abd3029d04810da5707061a1066eae43b5680fb8948c0b81057298", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ddf89a413abd3029d04810da5707061a1066eae43b5680fb8948c0b81057298", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ddf89a413abd3029d04810da5707061a1066eae43b5680fb8948c0b81057298", kill_on_drop: false }` [INFO] [stdout] 0ddf89a413abd3029d04810da5707061a1066eae43b5680fb8948c0b81057298 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c50519a281fd0caf9d66841e283b92026bef404ee0cb854f043255b9454bb81d [INFO] running `Command { std: "docker" "start" "-a" "c50519a281fd0caf9d66841e283b92026bef404ee0cb854f043255b9454bb81d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling plain v0.2.3 [INFO] [stderr] Compiling serde-big-array v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling rpassword v5.0.1 [INFO] [stderr] Compiling parity-wasm v0.40.3 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling cranelift-entity v0.51.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling scroll v0.9.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling pbkdf2 v0.6.0 [INFO] [stderr] Compiling salsa20 v0.7.2 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling scrypt v0.5.0 [INFO] [stderr] Compiling minisign v0.5.23 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling scroll_derive v0.9.5 [INFO] [stderr] Compiling derivative v1.0.4 [INFO] [stderr] Compiling goblin v0.0.24 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling target-lexicon v0.8.1 [INFO] [stderr] Compiling object v0.14.1 [INFO] [stderr] Compiling lucet-module v0.6.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `macros_literal` [INFO] [stdout] --> src/module_data.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / big_array! { [INFO] [stdout] 18 | | BigArray; [INFO] [stdout] 19 | | SignatureBones::BYTES, [INFO] [stdout] 20 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `big_array` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `big_array` may come from an old version of the `serde_big_array` crate, try updating your dependency with `cargo update -p serde_big_array` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `big_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `macros_literal` [INFO] [stdout] --> src/module_data.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / big_array! { [INFO] [stdout] 18 | | BigArray; [INFO] [stdout] 19 | | SignatureBones::BYTES, [INFO] [stdout] 20 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `big_array` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `big_array` may come from an old version of the `serde_big_array` crate, try updating your dependency with `cargo update -p serde_big_array` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `big_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/traps.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Copy, Clone, Debug, FromPrimitive, PartialEq)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_TrapCode` [INFO] [stdout] 8 | pub enum TrapCode { [INFO] [stdout] | -------- `TrapCode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/traps.rs:50:55 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn new(traps: &'a [TrapSite]) -> TrapManifest<'_> { [INFO] [stdout] | -- the lifetime is named here ^^ the same 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 50 - pub fn new(traps: &'a [TrapSite]) -> TrapManifest<'_> { [INFO] [stdout] 50 + pub fn new(traps: &'a [TrapSite]) -> TrapManifest<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.28s [INFO] running `Command { std: "docker" "inspect" "c50519a281fd0caf9d66841e283b92026bef404ee0cb854f043255b9454bb81d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c50519a281fd0caf9d66841e283b92026bef404ee0cb854f043255b9454bb81d", kill_on_drop: false }` [INFO] [stdout] c50519a281fd0caf9d66841e283b92026bef404ee0cb854f043255b9454bb81d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b610f8b95f321221f1fe1a705c9e2f02a0b9669bbc11a275dcfbc401486bc065 [INFO] running `Command { std: "docker" "start" "-a" "b610f8b95f321221f1fe1a705c9e2f02a0b9669bbc11a275dcfbc401486bc065", kill_on_drop: false }` [INFO] [stdout] warning: unexpected `cfg` condition name: `macros_literal` [INFO] [stdout] --> src/module_data.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / big_array! { [INFO] [stdout] 18 | | BigArray; [INFO] [stdout] 19 | | SignatureBones::BYTES, [INFO] [stdout] 20 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `big_array` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `big_array` may come from an old version of the `serde_big_array` crate, try updating your dependency with `cargo update -p serde_big_array` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `big_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `macros_literal` [INFO] [stdout] --> src/module_data.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / big_array! { [INFO] [stdout] 18 | | BigArray; [INFO] [stdout] 19 | | SignatureBones::BYTES, [INFO] [stdout] 20 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `big_array` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `big_array` may come from an old version of the `serde_big_array` crate, try updating your dependency with `cargo update -p serde_big_array` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `big_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/traps.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Copy, Clone, Debug, FromPrimitive, PartialEq)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_TrapCode` [INFO] [stdout] 8 | pub enum TrapCode { [INFO] [stdout] | -------- `TrapCode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/traps.rs:50:55 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn new(traps: &'a [TrapSite]) -> TrapManifest<'_> { [INFO] [stdout] | -- the lifetime is named here ^^ the same 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 50 - pub fn new(traps: &'a [TrapSite]) -> TrapManifest<'_> { [INFO] [stdout] 50 + pub fn new(traps: &'a [TrapSite]) -> TrapManifest<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling lucet-module v0.6.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `macros_literal` [INFO] [stdout] --> src/module_data.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / big_array! { [INFO] [stdout] 18 | | BigArray; [INFO] [stdout] 19 | | SignatureBones::BYTES, [INFO] [stdout] 20 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `big_array` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `big_array` may come from an old version of the `serde_big_array` crate, try updating your dependency with `cargo update -p serde_big_array` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `big_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `macros_literal` [INFO] [stdout] --> src/module_data.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / big_array! { [INFO] [stdout] 18 | | BigArray; [INFO] [stdout] 19 | | SignatureBones::BYTES, [INFO] [stdout] 20 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `big_array` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `big_array` may come from an old version of the `serde_big_array` crate, try updating your dependency with `cargo update -p serde_big_array` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `big_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/traps.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Copy, Clone, Debug, FromPrimitive, PartialEq)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_TrapCode` [INFO] [stdout] 8 | pub enum TrapCode { [INFO] [stdout] | -------- `TrapCode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/traps.rs:50:55 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn new(traps: &'a [TrapSite]) -> TrapManifest<'_> { [INFO] [stdout] | -- the lifetime is named here ^^ the same 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 50 - pub fn new(traps: &'a [TrapSite]) -> TrapManifest<'_> { [INFO] [stdout] 50 + pub fn new(traps: &'a [TrapSite]) -> TrapManifest<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.94s [INFO] running `Command { std: "docker" "inspect" "b610f8b95f321221f1fe1a705c9e2f02a0b9669bbc11a275dcfbc401486bc065", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b610f8b95f321221f1fe1a705c9e2f02a0b9669bbc11a275dcfbc401486bc065", kill_on_drop: false }` [INFO] [stdout] b610f8b95f321221f1fe1a705c9e2f02a0b9669bbc11a275dcfbc401486bc065 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f8b55b178bd49a2cfc3fb6d14637558ed66fb990e1276cdf8a7f1956167a077c [INFO] running `Command { std: "docker" "start" "-a" "f8b55b178bd49a2cfc3fb6d14637558ed66fb990e1276cdf8a7f1956167a077c", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `macros_literal` [INFO] [stderr] --> src/module_data.rs:17:1 [INFO] [stderr] | [INFO] [stderr] 17 | / big_array! { [INFO] [stderr] 18 | | BigArray; [INFO] [stderr] 19 | | SignatureBones::BYTES, [INFO] [stderr] 20 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `big_array` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the macro `big_array` may come from an old version of the `serde_big_array` crate, try updating your dependency with `cargo update -p serde_big_array` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the macro `big_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `macros_literal` [INFO] [stderr] --> src/module_data.rs:17:1 [INFO] [stderr] | [INFO] [stderr] 17 | / big_array! { [INFO] [stderr] 18 | | BigArray; [INFO] [stderr] 19 | | SignatureBones::BYTES, [INFO] [stderr] 20 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `big_array` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the macro `big_array` may come from an old version of the `serde_big_array` crate, try updating your dependency with `cargo update -p serde_big_array` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `big_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/traps.rs:7:30 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Copy, Clone, Debug, FromPrimitive, PartialEq)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_TrapCode` [INFO] [stderr] 8 | pub enum TrapCode { [INFO] [stderr] | -------- `TrapCode` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/traps.rs:50:55 [INFO] [stderr] | [INFO] [stderr] 50 | pub fn new(traps: &'a [TrapSite]) -> TrapManifest<'_> { [INFO] [stderr] | -- the lifetime is named here ^^ the same lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 50 - pub fn new(traps: &'a [TrapSite]) -> TrapManifest<'_> { [INFO] [stderr] 50 + pub fn new(traps: &'a [TrapSite]) -> TrapManifest<'a> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `lucet-module` (lib) generated 4 warnings (run `cargo fix --lib -p lucet-module` to apply 1 suggestion) [INFO] [stderr] warning: `lucet-module` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/lucet_module-6e5fc187d5089847) [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] Running tests/bindings.rs (/opt/rustwide/target/debug/deps/bindings-54bec9f8e8959df1) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test explicit ... ok [INFO] [stdout] test explicit_from_file ... ok [INFO] [stdout] test explicit_from_garbage_file ... ok [INFO] [stdout] test explicit_from_nonexistent_file ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/version.rs (/opt/rustwide/target/debug/deps/version-c08c919ab62435cd) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test version_equality ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests lucet_module [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] running `Command { std: "docker" "inspect" "f8b55b178bd49a2cfc3fb6d14637558ed66fb990e1276cdf8a7f1956167a077c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8b55b178bd49a2cfc3fb6d14637558ed66fb990e1276cdf8a7f1956167a077c", kill_on_drop: false }` [INFO] [stdout] f8b55b178bd49a2cfc3fb6d14637558ed66fb990e1276cdf8a7f1956167a077c