[INFO] cloning repository https://github.com/kitech/rspp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kitech/rspp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkitech%2Frspp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkitech%2Frspp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4422179f54b8712cd6dc34d533641739d62bae4c [INFO] testing kitech/rspp/4422179f54b8712cd6dc34d533641739d62bae4c against 1.85.0 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkitech%2Frspp" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kitech/rspp on toolchain 1.85.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kitech/rspp [INFO] finished tweaking git repo https://github.com/kitech/rspp [INFO] tweaked toml for git repo https://github.com/kitech/rspp written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kitech/rspp 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.85.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustc-demangle-capi v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a8587cbac610978b4a67734a3533b84a91df7b83f58d3ed3959a2b8cbcf52b4a [INFO] running `Command { std: "docker" "start" "-a" "a8587cbac610978b4a67734a3533b84a91df7b83f58d3ed3959a2b8cbcf52b4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a8587cbac610978b4a67734a3533b84a91df7b83f58d3ed3959a2b8cbcf52b4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8587cbac610978b4a67734a3533b84a91df7b83f58d3ed3959a2b8cbcf52b4a", kill_on_drop: false }` [INFO] [stdout] a8587cbac610978b4a67734a3533b84a91df7b83f58d3ed3959a2b8cbcf52b4a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be112cf55bf9405810edb0f1d2baafb6cc1922892c397fc7d2ad6af777ffe583 [INFO] running `Command { std: "docker" "start" "-a" "be112cf55bf9405810edb0f1d2baafb6cc1922892c397fc7d2ad6af777ffe583", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling rustc-demangle-capi v0.1.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Compiling rspp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `lenx` [INFO] [stdout] --> src/lib.rs:189:40 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn cstrfrom_u8ptr3(ptr :*const u8, lenx: usize) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lenx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:651:14 [INFO] [stdout] | [INFO] [stdout] 651 | unsafe { globvars.insert(ret, "wtval2".into()); } [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] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:659:14 [INFO] [stdout] | [INFO] [stdout] 659 | unsafe { globvars.insert(ret, "wtval".into()); } [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:678:14 [INFO] [stdout] | [INFO] [stdout] 678 | unsafe { globvars.remove(&ret); } [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:682:14 [INFO] [stdout] | [INFO] [stdout] 682 | unsafe { globvars.remove(&n); } [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:686:14 [INFO] [stdout] | [INFO] [stdout] 686 | unsafe { globvars.len() } [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 15.70s [INFO] running `Command { std: "docker" "inspect" "be112cf55bf9405810edb0f1d2baafb6cc1922892c397fc7d2ad6af777ffe583", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be112cf55bf9405810edb0f1d2baafb6cc1922892c397fc7d2ad6af777ffe583", kill_on_drop: false }` [INFO] [stdout] be112cf55bf9405810edb0f1d2baafb6cc1922892c397fc7d2ad6af777ffe583 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 71a0e932379beccb89a3e3af79c3a8b1f33267818a5d68c92e37a88f37d7ca8c [INFO] running `Command { std: "docker" "start" "-a" "71a0e932379beccb89a3e3af79c3a8b1f33267818a5d68c92e37a88f37d7ca8c", kill_on_drop: false }` [INFO] [stderr] Compiling rspp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `lenx` [INFO] [stdout] --> src/lib.rs:189:40 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn cstrfrom_u8ptr3(ptr :*const u8, lenx: usize) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lenx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:651:14 [INFO] [stdout] | [INFO] [stdout] 651 | unsafe { globvars.insert(ret, "wtval2".into()); } [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] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:659:14 [INFO] [stdout] | [INFO] [stdout] 659 | unsafe { globvars.insert(ret, "wtval".into()); } [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:678:14 [INFO] [stdout] | [INFO] [stdout] 678 | unsafe { globvars.remove(&ret); } [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:682:14 [INFO] [stdout] | [INFO] [stdout] 682 | unsafe { globvars.remove(&n); } [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:686:14 [INFO] [stdout] | [INFO] [stdout] 686 | unsafe { globvars.len() } [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: unused variable: `lenx` [INFO] [stdout] --> src/lib.rs:189:40 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn cstrfrom_u8ptr3(ptr :*const u8, lenx: usize) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lenx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:651:14 [INFO] [stdout] | [INFO] [stdout] 651 | unsafe { globvars.insert(ret, "wtval2".into()); } [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] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:659:14 [INFO] [stdout] | [INFO] [stdout] 659 | unsafe { globvars.insert(ret, "wtval".into()); } [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:678:14 [INFO] [stdout] | [INFO] [stdout] 678 | unsafe { globvars.remove(&ret); } [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:682:14 [INFO] [stdout] | [INFO] [stdout] 682 | unsafe { globvars.remove(&n); } [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:686:14 [INFO] [stdout] | [INFO] [stdout] 686 | unsafe { globvars.len() } [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 0.90s [INFO] running `Command { std: "docker" "inspect" "71a0e932379beccb89a3e3af79c3a8b1f33267818a5d68c92e37a88f37d7ca8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71a0e932379beccb89a3e3af79c3a8b1f33267818a5d68c92e37a88f37d7ca8c", kill_on_drop: false }` [INFO] [stdout] 71a0e932379beccb89a3e3af79c3a8b1f33267818a5d68c92e37a88f37d7ca8c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b90c7b93c4599fdcfd0652b12a6e79b30d5e3b3b36a52537744291b5b196b9ef [INFO] running `Command { std: "docker" "start" "-a" "b90c7b93c4599fdcfd0652b12a6e79b30d5e3b3b36a52537744291b5b196b9ef", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `lenx` [INFO] [stderr] --> src/lib.rs:189:40 [INFO] [stderr] | [INFO] [stderr] 189 | pub fn cstrfrom_u8ptr3(ptr :*const u8, lenx: usize) -> String { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lenx` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/lib.rs:651:14 [INFO] [stderr] | [INFO] [stderr] 651 | unsafe { globvars.insert(ret, "wtval2".into()); } [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: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/lib.rs:659:14 [INFO] [stderr] | [INFO] [stderr] 659 | unsafe { globvars.insert(ret, "wtval".into()); } [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] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/lib.rs:678:14 [INFO] [stderr] | [INFO] [stderr] 678 | unsafe { globvars.remove(&ret); } [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] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/lib.rs:682:14 [INFO] [stderr] | [INFO] [stderr] 682 | unsafe { globvars.remove(&n); } [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] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/lib.rs:686:14 [INFO] [stderr] | [INFO] [stderr] 686 | unsafe { globvars.len() } [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: `rspp` (lib) generated 6 warnings [INFO] [stderr] warning: `rspp` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rspp-57b48098b11bb70d) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test tests::cfree_t ... ok [INFO] [stdout] test tests::ptrtostr_test ... ok [INFO] [stdout] test tests::string2_refstr_t ... ok [INFO] [stdout] test tests::ffiparam_setdata ... ok [INFO] [stdout] test tests::fmti8ptr_test ... ok [INFO] [stdout] test tests::log_line ... ok [INFO] [stdout] test tests::it_works ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::it_works stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'tests::it_works' panicked at src/lib.rs:709:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: 8 [INFO] [stdout] right: 4 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x62d861cab4fa - std::backtrace_rs::backtrace::libunwind::trace::h88deb10bd0145eb8 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stdout] 1: 0x62d861cab4fa - std::backtrace_rs::backtrace::trace_unsynchronized::he1036f5481c14dff [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x62d861cab4fa - std::sys::backtrace::_print_fmt::hecc345b6e70c4b20 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x62d861cab4fa - ::fmt::he089f96442833f67 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x62d861cd1543 - core::fmt::rt::Argument::fmt::h1f77cded99c71a14 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/fmt/rt.rs:177:76 [INFO] [stdout] 5: 0x62d861cd1543 - core::fmt::write::h2f210ed4c94745cb [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/fmt/mod.rs:1440:21 [INFO] [stdout] 6: 0x62d861ca8613 - std::io::Write::write_fmt::he723b56f7e0bd522 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/io/mod.rs:1887:15 [INFO] [stdout] 7: 0x62d861cab342 - std::sys::backtrace::BacktraceLock::print::h810fbd31421329e6 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x62d861caca30 - std::panicking::default_hook::{{closure}}::hbaad47ed9dc6356d [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x62d861cac7cd - std::panicking::default_hook::h24e207139139d40a [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:319:9 [INFO] [stdout] 10: 0x62d861c75a03 - as core::ops::function::Fn>::call::h63353c459bb27956 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/alloc/src/boxed.rs:2007:9 [INFO] [stdout] 11: 0x62d861c75a03 - test::test_main::{{closure}}::hd5af4d6c4e32fe08 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/test/src/lib.rs:134:21 [INFO] [stdout] 12: 0x62d861cad263 - as core::ops::function::Fn>::call::h3af32c23caf5c679 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/alloc/src/boxed.rs:2007:9 [INFO] [stdout] 13: 0x62d861cad263 - std::panicking::rust_panic_with_hook::ha9131beeb2ddc506 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:836:13 [INFO] [stdout] 14: 0x62d861cacf3a - std::panicking::begin_panic_handler::{{closure}}::h1bba0eaeb6da506f [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:701:13 [INFO] [stdout] 15: 0x62d861cab9f9 - std::sys::backtrace::__rust_end_short_backtrace::h1d1ca3eade483f4c [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 16: 0x62d861cacbcd - rust_begin_unwind [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:692:5 [INFO] [stdout] 17: 0x62d861c2bc40 - core::panicking::panic_fmt::h896a0727a1a943f9 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/panicking.rs:75:14 [INFO] [stdout] 18: 0x62d861c2bf92 - core::panicking::assert_failed_inner::ha51bf8fa7906dee4 [INFO] [stdout] 19: 0x62d861c2be19 - core::panicking::assert_failed::h670c9d126fab1881 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/panicking.rs:364:5 [INFO] [stdout] 20: 0x62d861c3a3df - rspp::tests::it_works::hc327e10f63c2b8ea [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:709:9 [INFO] [stdout] 21: 0x62d861c3a357 - rspp::tests::it_works::{{closure}}::h59b65aedfe88ae8b [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:707:18 [INFO] [stdout] 22: 0x62d861c38926 - core::ops::function::FnOnce::call_once::h693e7712f33e9888 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x62d861c7b1ab - core::ops::function::FnOnce::call_once::h8acc80b5a33ff319 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x62d861c7b1ab - test::__rust_begin_short_backtrace::h52b6da716ad42b7d [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/test/src/lib.rs:632:18 [INFO] [stdout] 25: 0x62d861c7a0e3 - test::run_test_in_process::{{closure}}::h2580047890abbefe [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/test/src/lib.rs:655:60 [INFO] [stdout] 26: 0x62d861c7a0e3 - as core::ops::function::FnOnce<()>>::call_once::h936f8c89d0a99c40 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 27: 0x62d861c7a0e3 - std::panicking::try::do_call::h868682cc368697f9 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:584:40 [INFO] [stdout] 28: 0x62d861c7a0e3 - std::panicking::try::h0356ffc38cbb5501 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:547:19 [INFO] [stdout] 29: 0x62d861c7a0e3 - std::panic::catch_unwind::h74edf102a3082536 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panic.rs:358:14 [INFO] [stdout] 30: 0x62d861c7a0e3 - test::run_test_in_process::hc27d69576b7224e4 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/test/src/lib.rs:655:27 [INFO] [stdout] 31: 0x62d861c7a0e3 - test::run_test::{{closure}}::h9f3bfaf910429adb [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/test/src/lib.rs:576:43 [INFO] [stdout] 32: 0x62d861c3de15 - test::run_test::{{closure}}::h3d537cdce8ec5816 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/test/src/lib.rs:606:41 [INFO] [stdout] 33: 0x62d861c3de15 - std::sys::backtrace::__rust_begin_short_backtrace::hb51d9a6c67ec382d [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 34: 0x62d861c41856 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h5738f3abb9603fe6 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/thread/mod.rs:564:17 [INFO] [stdout] 35: 0x62d861c41856 - as core::ops::function::FnOnce<()>>::call_once::h5e9f4b56e45e8108 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 36: 0x62d861c41856 - std::panicking::try::do_call::ha36db853b2f34e23 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:584:40 [INFO] [stdout] 37: 0x62d861c41856 - std::panicking::try::h57e1aa33a0efb1be [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:547:19 [INFO] [stdout] 38: 0x62d861c41856 - std::panic::catch_unwind::hdb71a6103024936e [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panic.rs:358:14 [INFO] [stdout] 39: 0x62d861c41856 - std::thread::Builder::spawn_unchecked_::{{closure}}::h8caa22218f423ab1 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/thread/mod.rs:562:30 [INFO] [stdout] 40: 0x62d861c41856 - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb3b44780e9c053e5 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x62d861cb10cb - as core::ops::function::FnOnce>::call_once::h2649f14f1b1c150d [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/alloc/src/boxed.rs:1993:9 [INFO] [stdout] 42: 0x62d861cb10cb - as core::ops::function::FnOnce>::call_once::hb2ade58cb34e1bc4 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/alloc/src/boxed.rs:1993:9 [INFO] [stdout] 43: 0x62d861cb10cb - std::sys::pal::unix::thread::Thread::new::thread_start::ha07e360225fa3528 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/sys/pal/unix/thread.rs:106:17 [INFO] [stdout] 44: 0x799e17775ac3 - [INFO] [stdout] 45: 0x799e17806a04 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::it_works [INFO] [stdout] [INFO] [stdout] test result: FAILED. 6 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "b90c7b93c4599fdcfd0652b12a6e79b30d5e3b3b36a52537744291b5b196b9ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b90c7b93c4599fdcfd0652b12a6e79b30d5e3b3b36a52537744291b5b196b9ef", kill_on_drop: false }` [INFO] [stdout] b90c7b93c4599fdcfd0652b12a6e79b30d5e3b3b36a52537744291b5b196b9ef