[INFO] fetching crate duk 0.3.0... [INFO] testing duk-0.3.0 against nightly-2025-01-18 for randomize-layout-3 [INFO] extracting crate duk 0.3.0 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate duk 0.3.0 on toolchain nightly-2025-01-18 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate duk 0.3.0 [INFO] finished tweaking crates.io crate duk 0.3.0 [INFO] tweaked toml for crates.io crate duk 0.3.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 46 packages to latest compatible versions [INFO] [stderr] Adding env_logger v0.7.1 (available: v0.11.6) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded env_logger v0.7.1 [INFO] [stderr] Downloaded duk-sys v0.3.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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8e8308972327d5a3d28e554591e20d31fdb8faac9833794199739a2cc93b9337 [INFO] running `Command { std: "docker" "start" "-a" "8e8308972327d5a3d28e554591e20d31fdb8faac9833794199739a2cc93b9337", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8e8308972327d5a3d28e554591e20d31fdb8faac9833794199739a2cc93b9337", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e8308972327d5a3d28e554591e20d31fdb8faac9833794199739a2cc93b9337", kill_on_drop: false }` [INFO] [stdout] 8e8308972327d5a3d28e554591e20d31fdb8faac9833794199739a2cc93b9337 [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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d1805df91d286c89d3dc2779e5e296c665cbf1588ffe11844a93a51cab509ba [INFO] running `Command { std: "docker" "start" "-a" "1d1805df91d286c89d3dc2779e5e296c665cbf1588ffe11844a93a51cab509ba", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling cc v1.2.10 [INFO] [stderr] Compiling miniz_oxide v0.8.3 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling duk-sys v0.3.0 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling backtrace v0.3.74 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling duk v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | #[derive(Debug, failure::Fail)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Error` [INFO] [stdout] 89 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `failure::Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `failure::Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `failure::Fail` (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/lib.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | #[derive(Debug, failure::Fail)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_Error` [INFO] [stdout] 89 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `failure::Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `failure::Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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: this warning originates in the derive macro `failure::Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.02s [INFO] running `Command { std: "docker" "inspect" "1d1805df91d286c89d3dc2779e5e296c665cbf1588ffe11844a93a51cab509ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d1805df91d286c89d3dc2779e5e296c665cbf1588ffe11844a93a51cab509ba", kill_on_drop: false }` [INFO] [stdout] 1d1805df91d286c89d3dc2779e5e296c665cbf1588ffe11844a93a51cab509ba [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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f9ecdc6a3d85271f9f15f67d3605c5adb1738398db0476295779921935e8149 [INFO] running `Command { std: "docker" "start" "-a" "1f9ecdc6a3d85271f9f15f67d3605c5adb1738398db0476295779921935e8149", kill_on_drop: false }` [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | #[derive(Debug, failure::Fail)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Error` [INFO] [stdout] 89 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `failure::Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `failure::Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `failure::Fail` (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/lib.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | #[derive(Debug, failure::Fail)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_Error` [INFO] [stdout] 89 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `failure::Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `failure::Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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: this warning originates in the derive macro `failure::Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling duk v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | #[derive(Debug, failure::Fail)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Error` [INFO] [stdout] 89 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `failure::Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `failure::Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `failure::Fail` (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/lib.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | #[derive(Debug, failure::Fail)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_Error` [INFO] [stdout] 89 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `failure::Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `failure::Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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: this warning originates in the derive macro `failure::Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:902:18 [INFO] [stdout] | [INFO] [stdout] 902 | for l in LAST_LOG_LEVELS.iter_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 9.86s [INFO] running `Command { std: "docker" "inspect" "1f9ecdc6a3d85271f9f15f67d3605c5adb1738398db0476295779921935e8149", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f9ecdc6a3d85271f9f15f67d3605c5adb1738398db0476295779921935e8149", kill_on_drop: false }` [INFO] [stdout] 1f9ecdc6a3d85271f9f15f67d3605c5adb1738398db0476295779921935e8149 [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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4bb7aebcc230dd61ffd3e3245adf62574872c1b7b762fc2c6f2a788626039c7b [INFO] running `Command { std: "docker" "start" "-a" "4bb7aebcc230dd61ffd3e3245adf62574872c1b7b762fc2c6f2a788626039c7b", kill_on_drop: false }` [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/lib.rs:88:17 [INFO] [stderr] | [INFO] [stderr] 88 | #[derive(Debug, failure::Fail)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `Fail` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Error` [INFO] [stderr] 89 | pub enum Error { [INFO] [stderr] | ----- `Error` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `failure::Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `failure::Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `failure::Fail` (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/lib.rs:88:17 [INFO] [stderr] | [INFO] [stderr] 88 | #[derive(Debug, failure::Fail)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_Error` [INFO] [stderr] 89 | pub enum Error { [INFO] [stderr] | ----- `Error` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `failure::Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `failure::Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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: this warning originates in the derive macro `failure::Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/lib.rs:902:18 [INFO] [stderr] | [INFO] [stderr] 902 | for l in LAST_LOG_LEVELS.iter_mut() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `duk` (lib) generated 2 warnings [INFO] [stderr] warning: `duk` (lib test) generated 3 warnings (2 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/duk-d79b1241251a2783) [INFO] [stdout] [INFO] [stdout] running 27 tests [INFO] [stderr] [INFO] [stderr] thread 'tests::call_non_existent' panicked at library/core/src/panicking.rs:218:5: [INFO] [stderr] unsafe precondition(s) violated: slice::from_raw_parts requires the pointer to be aligned and non-null, and the total size of the slice not to exceed `isize::MAX` [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x5cc820da3e0a - std::backtrace_rs::backtrace::libunwind::trace::hb059275cfc8d6126 [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stderr] 1: 0x5cc820da3e0a - std::backtrace_rs::backtrace::trace_unsynchronized::h2da071e4327ce3ee [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 2: 0x5cc820da3e0a - std::sys::backtrace::_print_fmt::h842a1474e6f8d23f [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x5cc820da3e0a - ::fmt::h71a62eb3b9696b12 [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x5cc820dcc473 - core::fmt::rt::Argument::fmt::hdb6b616786b41dc1 [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/fmt/rt.rs:177:76 [INFO] [stderr] 5: 0x5cc820dcc473 - core::fmt::write::h2cc1698af7e2d686 [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/fmt/mod.rs:1440:21 [INFO] [stderr] 6: 0x5cc820da0703 - std::io::Write::write_fmt::h00c8700df393f328 [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/io/mod.rs:1887:15 [INFO] [stderr] 7: 0x5cc820da3c52 - std::sys::backtrace::BacktraceLock::print::h147fe35b4ea13b08 [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 8: 0x5cc820da522f - std::panicking::default_hook::{{closure}}::hbd44223dbdc0d208 [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:298:22 [INFO] [stderr] 9: 0x5cc820da509a - std::panicking::default_hook::h20f81eb0576efcec [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:325:9 [INFO] [stderr] 10: 0x5cc820a66843 - as core::ops::function::Fn>::call::hdb53814c496a4d34 [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/alloc/src/boxed.rs:2027:9 [INFO] [stderr] 11: 0x5cc820a66843 - test::test_main::{{closure}}::hc0a4963c59427c24 [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:134:21 [INFO] [stderr] 12: 0x5cc820da5d23 - as core::ops::function::Fn>::call::h591b2225413a77e9 [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/alloc/src/boxed.rs:2027:9 [INFO] [stderr] 13: 0x5cc820da5d23 - std::panicking::rust_panic_with_hook::h625eea43051b2edc [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:839:13 [INFO] [stderr] 14: 0x5cc820da59a6 - std::panicking::begin_panic_handler::{{closure}}::h4f9159cfbc3f6bd3 [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:697:13 [INFO] [stderr] 15: 0x5cc820da4309 - std::sys::backtrace::__rust_end_short_backtrace::h0390abce48353151 [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:168:18 [INFO] [stderr] 16: 0x5cc820da566d - rust_begin_unwind [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:695:5 [INFO] [stderr] 17: 0x5cc820dca78d - core::panicking::panic_nounwind_fmt::runtime::hff07b4bc76d03a4c [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/panicking.rs:117:22 [INFO] [stderr] 18: 0x5cc820dca78d - core::panicking::panic_nounwind_fmt::hbd5e8c40c5ce07f6 [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/intrinsics/mod.rs:3861:9 [INFO] [stderr] 19: 0x5cc820dca822 - core::panicking::panic_nounwind::h87bcbf062a0b0104 [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/panicking.rs:218:5 [INFO] [stderr] 20: 0x5cc820a71083 - core::slice::raw::from_raw_parts::precondition_check::hfdb299904dff3c06 [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/ub_checks.rs:68:21 [INFO] [stderr] 21: 0x5cc820a70e8f - core::slice::raw::from_raw_parts::he730870071166257 [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/ub_checks.rs:75:17 [INFO] [stderr] 22: 0x5cc820a269b9 - duk::get_string::h6df584d3786a1a71 [INFO] [stderr] at /opt/rustwide/workdir/src/lib.rs:713:17 [INFO] [stderr] 23: 0x5cc820a26c18 - duk::get_string_property::hfa593f5bf4251546 [INFO] [stderr] at /opt/rustwide/workdir/src/lib.rs:724:22 [INFO] [stderr] 24: 0x5cc820a26392 - duk::Error::get::h7c117ec6276ae6cc [INFO] [stderr] at /opt/rustwide/workdir/src/lib.rs:658:25 [INFO] [stderr] 25: 0x5cc820a243c3 - duk::Context::pop_error::ha897c7869c8837f3 [INFO] [stderr] at /opt/rustwide/workdir/src/lib.rs:338:17 [INFO] [stderr] 26: 0x5cc820a24435 - duk::Context::pop_reference_or_error::h8fff2a8442f7adb0 [INFO] [stderr] at /opt/rustwide/workdir/src/lib.rs:347:17 [INFO] [stderr] 27: 0x5cc820a24f2c - duk::Reference::call_method::{{closure}}::hda244d83d88e42b9 [INFO] [stderr] at /opt/rustwide/workdir/src/lib.rs:467:13 [INFO] [stderr] 28: 0x5cc820a2544f - duk::Reference::with_value::h7f1a37218f791b69 [INFO] [stderr] at /opt/rustwide/workdir/src/lib.rs:493:26 [INFO] [stderr] 29: 0x5cc820a24e11 - duk::Reference::call_method::h3f539088aa848658 [INFO] [stderr] at /opt/rustwide/workdir/src/lib.rs:456:9 [INFO] [stderr] 30: 0x5cc820a241e1 - duk::Context::call_global::h932064a450c023cf [INFO] [stderr] at /opt/rustwide/workdir/src/lib.rs:306:9 [INFO] [stderr] 31: 0x5cc820a220b5 - duk::tests::call_non_existent::h33fb898fea67c41f [INFO] [stderr] at /opt/rustwide/workdir/src/lib.rs:1296:21 [INFO] [stderr] 32: 0x5cc820a22057 - duk::tests::call_non_existent::{{closure}}::h574c9cec3257c60c [INFO] [stderr] at /opt/rustwide/workdir/src/lib.rs:1293:27 [INFO] [stderr] 33: 0x5cc820a163e6 - core::ops::function::FnOnce::call_once::h4e01f5f27943613c [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/ops/function.rs:250:5 [INFO] [stderr] 34: 0x5cc820a6bf9b - core::ops::function::FnOnce::call_once::he27718dfdd183f43 [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/ops/function.rs:250:5 [INFO] [stderr] 35: 0x5cc820a6bf9b - test::__rust_begin_short_backtrace::h4e84902998457a5d [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:632:18 [INFO] [stderr] 36: 0x5cc820a6aed3 - test::run_test_in_process::{{closure}}::h7176fd18fc1feca0 [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:655:60 [INFO] [stderr] 37: 0x5cc820a6aed3 - as core::ops::function::FnOnce<()>>::call_once::hf79cff2a624d8cf7 [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stderr] 38: 0x5cc820a6aed3 - std::panicking::try::do_call::h3da0561d9ab99c25 [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:587:40 [INFO] [stderr] 39: 0x5cc820a6aed3 - std::panicking::try::h41c9fa508bc61df6 [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:550:19 [INFO] [stderr] 40: 0x5cc820a6aed3 - std::panic::catch_unwind::h6b3ff07bb5afad93 [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panic.rs:358:14 [INFO] [stderr] 41: 0x5cc820a6aed3 - test::run_test_in_process::hc7253dd11b39b9f4 [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:655:27 [INFO] [stderr] 42: 0x5cc820a6aed3 - test::run_test::{{closure}}::hfb2007f8649c30bb [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:576:43 [INFO] [stderr] 43: 0x5cc820a2dfb5 - test::run_test::{{closure}}::h56a17aa7a282a9f4 [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:606:41 [INFO] [stderr] 44: 0x5cc820a2dfb5 - std::sys::backtrace::__rust_begin_short_backtrace::hd2d2d2fb8e8c6aac [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:152:18 [INFO] [stderr] 45: 0x5cc820a3189a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h4faa3f9db6133423 [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/thread/mod.rs:559:17 [INFO] [stderr] 46: 0x5cc820a3189a - as core::ops::function::FnOnce<()>>::call_once::hf2e855a36a4ea846 [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stderr] 47: 0x5cc820a3189a - std::panicking::try::do_call::h2f73af3616c35465 [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:587:40 [INFO] [stderr] 48: 0x5cc820a3189a - std::panicking::try::hd1660ce9efadef5a [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:550:19 [INFO] [stderr] 49: 0x5cc820a3189a - std::panic::catch_unwind::h5ee8d7823b8ca744 [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panic.rs:358:14 [INFO] [stderr] 50: 0x5cc820a3189a - std::thread::Builder::spawn_unchecked_::{{closure}}::h53c3a1894dce8407 [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/thread/mod.rs:557:30 [INFO] [stderr] 51: 0x5cc820a3189a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h048ce291ad4f62bf [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/ops/function.rs:250:5 [INFO] [stderr] 52: 0x5cc820da9c5b - as core::ops::function::FnOnce>::call_once::ha52bedf99a3b4981 [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/alloc/src/boxed.rs:2013:9 [INFO] [stderr] 53: 0x5cc820da9c5b - as core::ops::function::FnOnce>::call_once::h567748934d80ccf8 [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/alloc/src/boxed.rs:2013:9 [INFO] [stderr] 54: 0x5cc820da9c5b - std::sys::pal::unix::thread::Thread::new::thread_start::h2d970728ae887adc [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/pal/unix/thread.rs:106:17 [INFO] [stderr] 55: 0x7687bcaebac3 - [INFO] [stderr] 56: 0x7687bcb7ca04 - clone [INFO] [stderr] 57: 0x0 - [INFO] [stderr] thread caused non-unwinding panic. aborting. [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/deps/duk-d79b1241251a2783` (signal: 6, SIGABRT: process abort signal) [INFO] running `Command { std: "docker" "inspect" "4bb7aebcc230dd61ffd3e3245adf62574872c1b7b762fc2c6f2a788626039c7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bb7aebcc230dd61ffd3e3245adf62574872c1b7b762fc2c6f2a788626039c7b", kill_on_drop: false }` [INFO] [stdout] 4bb7aebcc230dd61ffd3e3245adf62574872c1b7b762fc2c6f2a788626039c7b