[INFO] cloning repository https://github.com/skanehira/containerd-shim-chibiwasm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/skanehira/containerd-shim-chibiwasm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fskanehira%2Fcontainerd-shim-chibiwasm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fskanehira%2Fcontainerd-shim-chibiwasm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fbbbf27f140c8e3588ad75ed572bfa3084f52242 [INFO] testing skanehira/containerd-shim-chibiwasm against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fskanehira%2Fcontainerd-shim-chibiwasm" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/skanehira/containerd-shim-chibiwasm [INFO] finished tweaking git repo https://github.com/skanehira/containerd-shim-chibiwasm [INFO] tweaked toml for git repo https://github.com/skanehira/containerd-shim-chibiwasm written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/skanehira/containerd-shim-chibiwasm on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/skanehira/containerd-shim-chibiwasm 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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8d6e82b953668cb09f94a69d5abda0423e29fab69831b17b5390887d0240fb28 [INFO] running `Command { std: "docker" "start" "-a" "8d6e82b953668cb09f94a69d5abda0423e29fab69831b17b5390887d0240fb28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d6e82b953668cb09f94a69d5abda0423e29fab69831b17b5390887d0240fb28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d6e82b953668cb09f94a69d5abda0423e29fab69831b17b5390887d0240fb28", kill_on_drop: false }` [INFO] [stdout] 8d6e82b953668cb09f94a69d5abda0423e29fab69831b17b5390887d0240fb28 [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab096a2ea44a8533cf85d6013a2da9fe6a1e408fda3943d12cfdcbf712baa3a9 [INFO] running `Command { std: "docker" "start" "-a" "ab096a2ea44a8533cf85d6013a2da9fe6a1e408fda3943d12cfdcbf712baa3a9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling memchr v2.6.3 [INFO] [stderr] Compiling thiserror v1.0.48 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling rustix v0.38.13 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.7 [INFO] [stderr] Compiling home v0.5.5 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling fastrand v2.0.0 [INFO] [stderr] Compiling protobuf v3.2.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Compiling aho-corasick v1.0.5 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling syn v2.0.36 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.8 [INFO] [stderr] Compiling libdbus-sys v0.2.5 [INFO] [stderr] Compiling iana-time-zone v0.1.57 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling rustix v0.36.16 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling nix v0.27.1 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling anstyle-parse v0.2.1 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling anstyle v1.0.3 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling libseccomp-sys v0.2.1 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling linux-raw-sys v0.1.4 [INFO] [stderr] Compiling procfs v0.15.1 [INFO] [stderr] Compiling crossbeam v0.8.2 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling tempfile v3.8.0 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling flate2 v1.0.27 [INFO] [stderr] Compiling anstream v0.5.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling nix v0.22.3 [INFO] [stderr] Compiling regex-automata v0.3.8 [INFO] [stderr] Compiling uapi v0.2.10 [INFO] [stderr] Compiling prctl v1.0.0 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling libseccomp v0.3.0 [INFO] [stderr] Compiling prost-build v0.8.0 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling time-core v0.1.1 [INFO] [stderr] Compiling clap_lex v0.5.1 [INFO] [stderr] Compiling dbus v0.9.7 [INFO] [stderr] Compiling clap_builder v4.4.2 [INFO] [stderr] Compiling page_size v0.5.0 [INFO] [stderr] Compiling go-flag v0.1.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling containerd-shim-wasm v0.2.1 [INFO] [stderr] Compiling safe-path v0.1.0 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling prost-derive v0.8.0 [INFO] [stderr] Compiling derive-new v0.5.9 [INFO] [stderr] Compiling getset v0.1.2 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling regex v1.9.5 [INFO] [stderr] Compiling protobuf-codegen v2.28.0 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Compiling cgroups-rs v0.2.11 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling clap_derive v4.4.2 [INFO] [stderr] Compiling pretty_env_logger v0.4.0 [INFO] [stderr] Compiling prost v0.8.0 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Compiling uapi-proc v0.0.5 [INFO] [stderr] Compiling prost-types v0.8.0 [INFO] [stderr] Compiling derive_builder v0.12.0 [INFO] [stderr] Compiling protobuf-support v3.2.0 [INFO] [stderr] Compiling command-fds v0.2.2 [INFO] [stderr] Compiling partition-identity v0.3.0 [INFO] [stderr] Compiling caps v0.5.5 [INFO] [stderr] Compiling proc-mounts v0.3.0 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling clone3 v0.2.3 [INFO] [stderr] Compiling ttrpc-compiler v0.6.2 [INFO] [stderr] Compiling clap v4.4.3 [INFO] [stderr] Compiling chibiwasm v0.1.0 (https://github.com/skanehira/chibiwasm#c5145d16) [INFO] [stderr] Compiling futures-executor v0.3.28 [INFO] [stderr] Compiling futures v0.3.28 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling deranged v0.3.8 [INFO] [stderr] Compiling protobuf-parse v3.2.0 [INFO] [stderr] Compiling time v0.3.28 [INFO] [stderr] Compiling oci-spec v0.6.2 [INFO] [stderr] Compiling protobuf-codegen v3.2.0 [INFO] [stderr] Compiling ttrpc-codegen v0.4.2 [INFO] [stderr] Compiling ttrpc v0.8.1 [INFO] [stderr] Compiling rust-criu v0.4.0 [INFO] [stderr] Compiling containerd-shim-protos v0.4.0 [INFO] [stderr] Compiling libcgroups v0.1.0 [INFO] [stderr] Compiling libcontainer v0.1.0 [INFO] [stderr] Compiling containerd-shim v0.4.0 [INFO] [stderr] Compiling containerd-shim-chibiwasm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | if STDIN_FD.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | if STDOUT_FD.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | if STDERR_FD.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 19s [INFO] running `Command { std: "docker" "inspect" "ab096a2ea44a8533cf85d6013a2da9fe6a1e408fda3943d12cfdcbf712baa3a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab096a2ea44a8533cf85d6013a2da9fe6a1e408fda3943d12cfdcbf712baa3a9", kill_on_drop: false }` [INFO] [stdout] ab096a2ea44a8533cf85d6013a2da9fe6a1e408fda3943d12cfdcbf712baa3a9 [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f7e92672d5528033a5a61aca4d446bbf511b23754839623cdf3f00ec7389d1d [INFO] running `Command { std: "docker" "start" "-a" "0f7e92672d5528033a5a61aca4d446bbf511b23754839623cdf3f00ec7389d1d", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.7 [INFO] [stderr] Compiling rustix v0.38.13 [INFO] [stderr] Compiling nix v0.27.1 [INFO] [stderr] Compiling prctl v1.0.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling tempfile v3.8.0 [INFO] [stderr] Compiling protobuf-parse v3.2.0 [INFO] [stderr] Compiling prost-build v0.8.0 [INFO] [stderr] Compiling ttrpc-compiler v0.6.2 [INFO] [stderr] Compiling protobuf-codegen v3.2.0 [INFO] [stderr] Compiling ttrpc-codegen v0.4.2 [INFO] [stderr] Compiling ttrpc v0.8.1 [INFO] [stderr] Compiling rust-criu v0.4.0 [INFO] [stderr] Compiling containerd-shim-protos v0.4.0 [INFO] [stderr] Compiling libcontainer v0.1.0 [INFO] [stderr] Compiling containerd-shim v0.4.0 [INFO] [stderr] Compiling containerd-shim-wasm v0.2.1 [INFO] [stderr] Compiling containerd-shim-chibiwasm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | if STDIN_FD.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | if STDOUT_FD.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | if STDERR_FD.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | if STDIN_FD.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | if STDOUT_FD.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | if STDERR_FD.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 24.53s [INFO] running `Command { std: "docker" "inspect" "0f7e92672d5528033a5a61aca4d446bbf511b23754839623cdf3f00ec7389d1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f7e92672d5528033a5a61aca4d446bbf511b23754839623cdf3f00ec7389d1d", kill_on_drop: false }` [INFO] [stdout] 0f7e92672d5528033a5a61aca4d446bbf511b23754839623cdf3f00ec7389d1d [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 14887115bd87337a45edfc443bfd0eb6cc3652ca15168e647bf27c3e3cd35a95 [INFO] running `Command { std: "docker" "start" "-a" "14887115bd87337a45edfc443bfd0eb6cc3652ca15168e647bf27c3e3cd35a95", kill_on_drop: false }` [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/lib.rs:40:12 [INFO] [stderr] | [INFO] [stderr] 40 | if STDIN_FD.is_some() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/lib.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | if STDOUT_FD.is_some() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/lib.rs:46:12 [INFO] [stderr] | [INFO] [stderr] 46 | if STDERR_FD.is_some() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: `containerd-shim-chibiwasm` (lib) generated 3 warnings [INFO] [stderr] warning: `containerd-shim-chibiwasm` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.34s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/containerd_shim_chibiwasm-975f3fe9e72f490b) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test::test_wasi ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test::test_wasi stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'test::test_wasi' (24) panicked at src/lib.rs:230:14: [INFO] [stdout] could not build container: OtherIO(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x625fd79193e2 - std[3f03f8b59f91bef1]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x625fd79193e2 - std[3f03f8b59f91bef1]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x625fd79193e2 - std[3f03f8b59f91bef1]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x625fd79193e2 - <::print::DisplayBacktrace as core[585f66e14d78f9ba]::fmt::Display>::fmt [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x625fd79320ba - ::fmt [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x625fd79320ba - core[585f66e14d78f9ba]::fmt::write [INFO] [stdout] 6: 0x625fd791ef46 - std[3f03f8b59f91bef1]::io::default_write_fmt::> [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x625fd791ef46 - as std[3f03f8b59f91bef1]::io::Write>::write_fmt [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/io/mod.rs:1994:13 [INFO] [stdout] 8: 0x625fd78f41df - ::print [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x625fd78f41df - std[3f03f8b59f91bef1]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x625fd790f819 - std[3f03f8b59f91bef1]::panicking::default_hook [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x625fd7263c8e - core[585f66e14d78f9ba]::ops::function::Fn<(&'a std[3f03f8b59f91bef1]::panic::PanicHookInfo<'b>,), Output = ()> + core[585f66e14d78f9ba]::marker::Sync + core[585f66e14d78f9ba]::marker::Send> as core[585f66e14d78f9ba]::ops::function::Fn<(&std[3f03f8b59f91bef1]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/alloc/src/boxed.rs:2220:9 [INFO] [stdout] 12: 0x625fd7263c8e - test[30224e0cb089acd2]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x625fd790f9d2 - core[585f66e14d78f9ba]::ops::function::Fn<(&'a std[3f03f8b59f91bef1]::panic::PanicHookInfo<'b>,), Output = ()> + core[585f66e14d78f9ba]::marker::Sync + core[585f66e14d78f9ba]::marker::Send> as core[585f66e14d78f9ba]::ops::function::Fn<(&std[3f03f8b59f91bef1]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/alloc/src/boxed.rs:2220:9 [INFO] [stdout] 14: 0x625fd790f9d2 - std[3f03f8b59f91bef1]::panicking::panic_with_hook [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x625fd78f4298 - std[3f03f8b59f91bef1]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x625fd78e8979 - std[3f03f8b59f91bef1]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x625fd78f545d - __rustc[caa99d26c7bae192]::rust_begin_unwind [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x625fd79328ac - core[585f66e14d78f9ba]::panicking::panic_fmt [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x625fd79325f2 - core[585f66e14d78f9ba]::result::unwrap_failed [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/result.rs:1867:5 [INFO] [stdout] 20: 0x625fd723a3c9 - >::expect [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/result.rs:1185:23 [INFO] [stdout] 21: 0x625fd725648a - ::build_container [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:230:14 [INFO] [stdout] 22: 0x625fd725763a - ::start [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:125:34 [INFO] [stdout] 23: 0x625fd722e288 - containerd_shim_chibiwasm[32adf5899098b33a]::test::test_wasi [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:256:14 [INFO] [stdout] 24: 0x625fd722bc0d - containerd_shim_chibiwasm[32adf5899098b33a]::test::test_wasi::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:250:23 [INFO] [stdout] 25: 0x625fd7245cb6 - >::call_once [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x625fd725803b - core[585f66e14d78f9ba]::result::Result<(), alloc[15e7b27aba85d2e2]::string::String> as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x625fd725803b - test[30224e0cb089acd2]::__rust_begin_short_backtrace::, fn() -> core[585f66e14d78f9ba]::result::Result<(), alloc[15e7b27aba85d2e2]::string::String>> [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x625fd726489a - test[30224e0cb089acd2]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x625fd726489a - as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x625fd726489a - std[3f03f8b59f91bef1]::panicking::catch_unwind::do_call::, core[585f66e14d78f9ba]::result::Result<(), alloc[15e7b27aba85d2e2]::string::String>> [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:581:40 [INFO] [stdout] 31: 0x625fd726489a - std[3f03f8b59f91bef1]::panicking::catch_unwind::, core[585f66e14d78f9ba]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:544:19 [INFO] [stdout] 32: 0x625fd726489a - std[3f03f8b59f91bef1]::panic::catch_unwind::, core[585f66e14d78f9ba]::result::Result<(), alloc[15e7b27aba85d2e2]::string::String>> [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x625fd726489a - test[30224e0cb089acd2]::run_test_in_process [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x625fd726489a - test[30224e0cb089acd2]::run_test::{closure#0} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x625fd725ed64 - test[30224e0cb089acd2]::run_test::{closure#1} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x625fd725ed64 - std[3f03f8b59f91bef1]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 37: 0x625fd7267392 - std[3f03f8b59f91bef1]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 38: 0x625fd7267392 - ::{closure#1}::{closure#0}> as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x625fd7267392 - std[3f03f8b59f91bef1]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:581:40 [INFO] [stdout] 40: 0x625fd7267392 - std[3f03f8b59f91bef1]::panicking::catch_unwind::<(), core[585f66e14d78f9ba]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:544:19 [INFO] [stdout] 41: 0x625fd7267392 - std[3f03f8b59f91bef1]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x625fd7267392 - std[3f03f8b59f91bef1]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 43: 0x625fd7267392 - ::{closure#1} as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x625fd791846f - + core[585f66e14d78f9ba]::marker::Send> as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/alloc/src/boxed.rs:2206:9 [INFO] [stdout] 45: 0x625fd791846f - ::new::thread_start [INFO] [stdout] at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/thread/unix.rs:119:17 [INFO] [stdout] 46: 0x7fd271a7caa4 - [INFO] [stdout] 47: 0x7fd271b09a64 - clone [INFO] [stdout] 48: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test::test_wasi [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.15s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "14887115bd87337a45edfc443bfd0eb6cc3652ca15168e647bf27c3e3cd35a95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14887115bd87337a45edfc443bfd0eb6cc3652ca15168e647bf27c3e3cd35a95", kill_on_drop: false }` [INFO] [stdout] 14887115bd87337a45edfc443bfd0eb6cc3652ca15168e647bf27c3e3cd35a95