[INFO] cloning repository https://github.com/Easonzero/DSTmods [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Easonzero/DSTmods" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEasonzero%2FDSTmods", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEasonzero%2FDSTmods'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c627ecff1bbff0a9ea07a653c734ec84ba48bd53 [INFO] testing Easonzero/DSTmods against 1.99.0-beta.8 for beta-1.100-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEasonzero%2FDSTmods" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Easonzero/DSTmods [INFO] finished tweaking git repo https://github.com/Easonzero/DSTmods [INFO] tweaked toml for git repo https://github.com/Easonzero/DSTmods written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Easonzero/DSTmods on toolchain 1.99.0-beta.8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Easonzero/DSTmods 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" "+1.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded home v0.5.4 [INFO] [stderr] Downloaded serde v1.0.148 [INFO] [stderr] Downloaded clap_lex v0.3.0 [INFO] [stderr] Downloaded is-terminal v0.4.1 [INFO] [stderr] Downloaded os_str_bytes v6.4.1 [INFO] [stderr] Downloaded clap_derive v4.0.21 [INFO] [stderr] Downloaded anyhow v1.0.66 [INFO] [stderr] Downloaded io-lifetimes v1.0.3 [INFO] [stderr] Downloaded serde_derive v1.0.148 [INFO] [stderr] Downloaded rlua v0.19.4 [INFO] [stderr] Downloaded clap v4.0.29 [INFO] [stderr] Downloaded rustix v0.36.4 [INFO] [stderr] Downloaded rlua-lua54-sys v0.1.3 [INFO] [stderr] Downloaded linux-raw-sys v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] e5723a1d461eab8c9bbfe1500f34a6caaa433db9742068de52c5d3641cc000e9 [INFO] running `Command { std: "docker" "start" "e5723a1d461eab8c9bbfe1500f34a6caaa433db9742068de52c5d3641cc000e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e5723a1d461eab8c9bbfe1500f34a6caaa433db9742068de52c5d3641cc000e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e5723a1d461eab8c9bbfe1500f34a6caaa433db9742068de52c5d3641cc000e9" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e5723a1d461eab8c9bbfe1500f34a6caaa433db9742068de52c5d3641cc000e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e5723a1d461eab8c9bbfe1500f34a6caaa433db9742068de52c5d3641cc000e9" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.47 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Compiling syn v1.0.105 [INFO] [stderr] Compiling io-lifetimes v1.0.3 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling cc v1.0.77 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling serde_derive v1.0.148 [INFO] [stderr] Compiling rustix v0.36.4 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling serde v1.0.148 [INFO] [stderr] Compiling linux-raw-sys v0.1.3 [INFO] [stderr] Compiling rlua v0.19.4 [INFO] [stderr] Compiling anyhow v1.0.66 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling os_str_bytes v6.4.1 [INFO] [stderr] Compiling clap_lex v0.3.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling once_cell v1.16.0 [INFO] [stderr] Compiling rlua-lua54-sys v0.1.3 [INFO] [stderr] Compiling home v0.5.4 [INFO] [stderr] Compiling fs_extra v1.2.0 [INFO] [stderr] Compiling is-terminal v0.4.1 [INFO] [stderr] Compiling clap_derive v4.0.21 [INFO] [stderr] Compiling clap v4.0.29 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling dst-mods v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lua_ctx.rs:7:32 [INFO] [stdout] | [INFO] [stdout] 7 | if let Some(lua_mut) = LUA.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [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] = help: use a type that relies on "interior mutability" instead; to read more on this, visit [INFO] [stdout] = note: for more information, see [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 mutable reference to mutable static [INFO] [stdout] --> src/lua_ctx.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | let lua_mut = LUA.as_mut().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [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] = help: use a type that relies on "interior mutability" instead; to read more on this, visit [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.77s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: fs_extra v1.2.0, rlua v0.19.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5` [INFO] running `Command { std: "docker" "inspect" "e5723a1d461eab8c9bbfe1500f34a6caaa433db9742068de52c5d3641cc000e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e5723a1d461eab8c9bbfe1500f34a6caaa433db9742068de52c5d3641cc000e9" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling dst-mods v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lua_ctx.rs:7:32 [INFO] [stdout] | [INFO] [stdout] 7 | if let Some(lua_mut) = LUA.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [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] = help: use a type that relies on "interior mutability" instead; to read more on this, visit [INFO] [stdout] = note: for more information, see [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 mutable reference to mutable static [INFO] [stdout] --> src/lua_ctx.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | let lua_mut = LUA.as_mut().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [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] = help: use a type that relies on "interior mutability" instead; to read more on this, visit [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.73s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: fs_extra v1.2.0, rlua v0.19.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5` [INFO] running `Command { std: "docker" "inspect" "e5723a1d461eab8c9bbfe1500f34a6caaa433db9742068de52c5d3641cc000e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e5723a1d461eab8c9bbfe1500f34a6caaa433db9742068de52c5d3641cc000e9" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/lua_ctx.rs:7:32 [INFO] [stderr] | [INFO] [stderr] 7 | if let Some(lua_mut) = LUA.as_mut() { [INFO] [stderr] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [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] = help: use a type that relies on "interior mutability" instead; to read more on this, visit [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/lua_ctx.rs:11:27 [INFO] [stderr] | [INFO] [stderr] 11 | let lua_mut = LUA.as_mut().unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [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] = help: use a type that relies on "interior mutability" instead; to read more on this, visit [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `dst-mods` (bin "dst-mods" test) generated 2 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: fs_extra v1.2.0, rlua v0.19.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/dst_mods-a600a0ac2a3721fb) [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" "e5723a1d461eab8c9bbfe1500f34a6caaa433db9742068de52c5d3641cc000e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5723a1d461eab8c9bbfe1500f34a6caaa433db9742068de52c5d3641cc000e9", kill_on_drop: false }` [INFO] [stdout] e5723a1d461eab8c9bbfe1500f34a6caaa433db9742068de52c5d3641cc000e9