[INFO] cloning repository https://github.com/osmarks/osmarkscalculator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/osmarks/osmarkscalculator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fosmarks%2Fosmarkscalculator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fosmarks%2Fosmarkscalculator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6e10a5f84b3f7ca9077c279cab7a2e376033042f [INFO] testing osmarks/osmarkscalculator against 1.77.0 for beta-1.78-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fosmarks%2Fosmarkscalculator" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/osmarks/osmarkscalculator on toolchain 1.77.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.77.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/osmarks/osmarkscalculator [INFO] finished tweaking git repo https://github.com/osmarks/osmarkscalculator [INFO] tweaked toml for git repo https://github.com/osmarks/osmarkscalculator written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/osmarks/osmarkscalculator 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.77.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 55eee361322757e55f561f6176ab3287ea789a94d8e7f45a3dd70eb6e29799b1 [INFO] running `Command { std: "docker" "start" "-a" "55eee361322757e55f561f6176ab3287ea789a94d8e7f45a3dd70eb6e29799b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "55eee361322757e55f561f6176ab3287ea789a94d8e7f45a3dd70eb6e29799b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55eee361322757e55f561f6176ab3287ea789a94d8e7f45a3dd70eb6e29799b1", kill_on_drop: false }` [INFO] [stdout] 55eee361322757e55f561f6176ab3287ea789a94d8e7f45a3dd70eb6e29799b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f02de839d9f11f29b9150b771889326717de23320903653f9a352a9ec9f475d7 [INFO] running `Command { std: "docker" "start" "-a" "f02de839d9f11f29b9150b771889326717de23320903653f9a352a9ec9f475d7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.47 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.83 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling syn v1.0.103 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling once_cell v1.16.0 [INFO] [stderr] Compiling bumpalo v3.11.1 [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Compiling wasm-bindgen v0.2.83 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling memory_units v0.4.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling inlinable_string v0.1.14 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.83 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.83 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.83 [INFO] [stderr] Compiling osmarkscalculator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:569:15 [INFO] [stdout] | [INFO] [stdout] 569 | let ctx = (&mut JS_CONTEXT).as_mut().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 569 | let ctx = addr_of_mut!(JS_CONTEXT).as_mut().unwrap(); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:587:19 [INFO] [stdout] | [INFO] [stdout] 587 | let ctx = (&mut JS_CONTEXT).as_mut().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 587 | let ctx = addr_of_mut!(JS_CONTEXT).as_mut().unwrap(); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:598:24 [INFO] [stdout] | [INFO] [stdout] 598 | std::mem::take(&mut JS_CONTEXT); [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 598 | std::mem::take(addr_of_mut!(JS_CONTEXT)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.98s [INFO] running `Command { std: "docker" "inspect" "f02de839d9f11f29b9150b771889326717de23320903653f9a352a9ec9f475d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f02de839d9f11f29b9150b771889326717de23320903653f9a352a9ec9f475d7", kill_on_drop: false }` [INFO] [stdout] f02de839d9f11f29b9150b771889326717de23320903653f9a352a9ec9f475d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 77fd2cd70f1522853800b10c7197bd8c50b76059446febf5571ede25f8a0a6b4 [INFO] running `Command { std: "docker" "start" "-a" "77fd2cd70f1522853800b10c7197bd8c50b76059446febf5571ede25f8a0a6b4", kill_on_drop: false }` [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:569:15 [INFO] [stdout] | [INFO] [stdout] 569 | let ctx = (&mut JS_CONTEXT).as_mut().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 569 | let ctx = addr_of_mut!(JS_CONTEXT).as_mut().unwrap(); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:587:19 [INFO] [stdout] | [INFO] [stdout] 587 | let ctx = (&mut JS_CONTEXT).as_mut().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 587 | let ctx = addr_of_mut!(JS_CONTEXT).as_mut().unwrap(); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling osmarkscalculator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:598:24 [INFO] [stdout] | [INFO] [stdout] 598 | std::mem::take(&mut JS_CONTEXT); [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 598 | std::mem::take(addr_of_mut!(JS_CONTEXT)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:569:15 [INFO] [stdout] | [INFO] [stdout] 569 | let ctx = (&mut JS_CONTEXT).as_mut().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 569 | let ctx = addr_of_mut!(JS_CONTEXT).as_mut().unwrap(); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:587:19 [INFO] [stdout] | [INFO] [stdout] 587 | let ctx = (&mut JS_CONTEXT).as_mut().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 587 | let ctx = addr_of_mut!(JS_CONTEXT).as_mut().unwrap(); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:598:24 [INFO] [stdout] | [INFO] [stdout] 598 | std::mem::take(&mut JS_CONTEXT); [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 598 | std::mem::take(addr_of_mut!(JS_CONTEXT)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.00s [INFO] running `Command { std: "docker" "inspect" "77fd2cd70f1522853800b10c7197bd8c50b76059446febf5571ede25f8a0a6b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77fd2cd70f1522853800b10c7197bd8c50b76059446febf5571ede25f8a0a6b4", kill_on_drop: false }` [INFO] [stdout] 77fd2cd70f1522853800b10c7197bd8c50b76059446febf5571ede25f8a0a6b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 67f9352bd4895712884db1362ab9f695965588cfafe556a565153dcbcb028b6c [INFO] running `Command { std: "docker" "start" "-a" "67f9352bd4895712884db1362ab9f695965588cfafe556a565153dcbcb028b6c", kill_on_drop: false }` [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/lib.rs:569:15 [INFO] [stderr] | [INFO] [stderr] 569 | let ctx = (&mut JS_CONTEXT).as_mut().unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 569 | let ctx = addr_of_mut!(JS_CONTEXT).as_mut().unwrap(); [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/lib.rs:587:19 [INFO] [stderr] | [INFO] [stderr] 587 | let ctx = (&mut JS_CONTEXT).as_mut().unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 587 | let ctx = addr_of_mut!(JS_CONTEXT).as_mut().unwrap(); [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/lib.rs:598:24 [INFO] [stderr] | [INFO] [stderr] 598 | std::mem::take(&mut JS_CONTEXT); [INFO] [stderr] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 598 | std::mem::take(addr_of_mut!(JS_CONTEXT)); [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: `osmarkscalculator` (lib) generated 3 warnings [INFO] [stderr] warning: `osmarkscalculator` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/osmarkscalculator-5ae8da7bf54b253f) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test::end_to_end_tests ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test::end_to_end_tests stdout ---- [INFO] [stdout] Factor[x, x*3+x^2] evaluated to (3+x)*x; expected (3+x)*x [INFO] [stdout] x^a/x^(a+1) evaluated to x^Negate[1]; expected x^Negate[1] [INFO] [stdout] Negate[a+b] evaluated to Negate[1]*b-a; expected Negate[1]*b-a [INFO] [stdout] Subst[x=4, x+4+4+4+4] evaluated to 20; expected 20 [INFO] [stdout] (a+b)*(c+d)*(e+f) evaluated to a*c*e+a*c*f+a*d*e+a*d*f+b*c*e+b*c*f+b*d*e+b*d*f; expected a*c*e+a*c*f+a*d*e+a*d*f+b*c*e+b*c*f+b*d*e+b*d*f [INFO] [stdout] (12+55)^3-75+16/(2*2)+5+3*4 evaluated to 300709; expected 300709 [INFO] [stdout] D[3*x^3 + 6*x, x] evaluated to 6+9*x^2; expected 6+9*x^2 [INFO] [stdout] Fib[n] = Fib[n-1] + Fib[n-2] [INFO] [stdout] Fib[0] = 0 [INFO] [stdout] Fib[1] = 1 [INFO] [stdout] Fib[6] evaluated to 8; expected 8 [INFO] [stdout] Subst[b=a, b+a] evaluated to 2*a; expected 2*a [INFO] [stdout] a = 7 [INFO] [stdout] b = Negate[4] [INFO] [stdout] a + b evaluated to 3; expected 3 [INFO] [stdout] IsEven[x] = 0 [INFO] [stdout] IsEven[x#Eq[Mod[x, 2], 0]] = 1 [INFO] [stdout] IsEven[3] - IsEven[4] evaluated to Negate[1]; expected Negate[1] [INFO] [stdout] (a+b+c)^2 evaluated to 9+6*c+c^2; expected 2*a*b+2*a*c+2*b*c+a^2+b^2+c^2 [INFO] [stdout] thread 'test::end_to_end_tests' panicked at src/lib.rs:641:13: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "9+6*c+c^2" [INFO] [stdout] right: "2*a*b+2*a*c+2*b*c+a^2+b^2+c^2" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x563b4a1930d6 - std::backtrace_rs::backtrace::libunwind::trace::h92ba5ac126ecc5ad [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 [INFO] [stdout] 1: 0x563b4a1930d6 - std::backtrace_rs::backtrace::trace_unsynchronized::hfaa118b6e3a8f31a [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x563b4a1930d6 - std::sys_common::backtrace::_print_fmt::h2075f185adf13bbd [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/std/src/sys_common/backtrace.rs:68:5 [INFO] [stdout] 3: 0x563b4a1930d6 - ::fmt::h9c4bd387f9f3f544 [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/std/src/sys_common/backtrace.rs:44:22 [INFO] [stdout] 4: 0x563b4a1bc000 - core::fmt::rt::Argument::fmt::h018ecebdf268b5bb [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/core/src/fmt/rt.rs:142:9 [INFO] [stdout] 5: 0x563b4a1bc000 - core::fmt::write::h938c332fdab924eb [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/core/src/fmt/mod.rs:1120:17 [INFO] [stdout] 6: 0x563b4a1909bf - std::io::Write::write_fmt::hf5d6d29a094a9ad9 [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/std/src/io/mod.rs:1846:15 [INFO] [stdout] 7: 0x563b4a192eb4 - std::sys_common::backtrace::_print::h3595c0f4303f3ccd [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/std/src/sys_common/backtrace.rs:47:5 [INFO] [stdout] 8: 0x563b4a192eb4 - std::sys_common::backtrace::print::ha888e6736b0bc71f [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/std/src/sys_common/backtrace.rs:34:9 [INFO] [stdout] 9: 0x563b4a194aa7 - std::panicking::default_hook::{{closure}}::he19a7f79f7beab5e [INFO] [stdout] 10: 0x563b4a19478d - std::panicking::default_hook::h67efe04e9a5d446e [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/std/src/panicking.rs:289:9 [INFO] [stdout] 11: 0x563b4a153957 - as core::ops::function::Fn>::call::ha485cc981b933d53 [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/alloc/src/boxed.rs:2029:9 [INFO] [stdout] 12: 0x563b4a153957 - test::test_main::{{closure}}::h970c4d535211cea5 [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/test/src/lib.rs:138:21 [INFO] [stdout] 13: 0x563b4a1950c6 - as core::ops::function::Fn>::call::h9c9759b104a0af15 [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/alloc/src/boxed.rs:2029:9 [INFO] [stdout] 14: 0x563b4a1950c6 - std::panicking::rust_panic_with_hook::h49021cdbc4b22349 [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/std/src/panicking.rs:785:13 [INFO] [stdout] 15: 0x563b4a194e12 - std::panicking::begin_panic_handler::{{closure}}::hfbf601f3d8c62d13 [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/std/src/panicking.rs:659:13 [INFO] [stdout] 16: 0x563b4a1935d6 - std::sys_common::backtrace::__rust_end_short_backtrace::h98dd020b6e913806 [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/std/src/sys_common/backtrace.rs:171:18 [INFO] [stdout] 17: 0x563b4a194b64 - rust_begin_unwind [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/std/src/panicking.rs:647:5 [INFO] [stdout] 18: 0x563b4a0c47f5 - core::panicking::panic_fmt::h0d3f1893e38be419 [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/core/src/panicking.rs:72:14 [INFO] [stdout] 19: 0x563b4a0c4c2b - core::panicking::assert_failed_inner::he66e930fc360d575 [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/core/src/panicking.rs:342:17 [INFO] [stdout] 20: 0x563b4a0fcda2 - core::panicking::assert_failed::h7e185eb10a0a71d8 [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/core/src/panicking.rs:297:5 [INFO] [stdout] 21: 0x563b4a0f8756 - osmarkscalculator::test::end_to_end_tests::hb391336d26f95064 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:641:13 [INFO] [stdout] 22: 0x563b4a0f7237 - osmarkscalculator::test::end_to_end_tests::{{closure}}::h7c7b5dd347b3ace9 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:607:26 [INFO] [stdout] 23: 0x563b4a10df96 - core::ops::function::FnOnce::call_once::h057c9ca8328a5ad1 [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x563b4a15954f - core::ops::function::FnOnce::call_once::hc4365f2905c13fb3 [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x563b4a15954f - test::__rust_begin_short_backtrace::h23efa09c82420171 [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/test/src/lib.rs:621:18 [INFO] [stdout] 26: 0x563b4a158371 - test::run_test_in_process::{{closure}}::hf1473bb1a6c04edb [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/test/src/lib.rs:644:60 [INFO] [stdout] 27: 0x563b4a158371 - as core::ops::function::FnOnce<()>>::call_once::hff07c3f39ec1a940 [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x563b4a158371 - std::panicking::try::do_call::h344a2a0d830f8cdb [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/std/src/panicking.rs:554:40 [INFO] [stdout] 29: 0x563b4a158371 - std::panicking::try::h307dc78c49c41dfc [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/std/src/panicking.rs:518:19 [INFO] [stdout] 30: 0x563b4a158371 - std::panic::catch_unwind::h09ff4c41f37beb25 [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/std/src/panic.rs:142:14 [INFO] [stdout] 31: 0x563b4a158371 - test::run_test_in_process::h25a8f909b68e3831 [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/test/src/lib.rs:644:27 [INFO] [stdout] 32: 0x563b4a158371 - test::run_test::{{closure}}::h9934b77d061da8ff [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/test/src/lib.rs:567:43 [INFO] [stdout] 33: 0x563b4a11f756 - test::run_test::{{closure}}::hc3fe15393b08198a [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/test/src/lib.rs:595:41 [INFO] [stdout] 34: 0x563b4a11f756 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2751c43450246c92 [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/std/src/sys_common/backtrace.rs:155:18 [INFO] [stdout] 35: 0x563b4a124797 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h1c68a4efdf3a14d2 [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/std/src/thread/mod.rs:529:17 [INFO] [stdout] 36: 0x563b4a124797 - as core::ops::function::FnOnce<()>>::call_once::he4aa23e023cec824 [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x563b4a124797 - std::panicking::try::do_call::hb75ff41794a19e9d [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/std/src/panicking.rs:554:40 [INFO] [stdout] 38: 0x563b4a124797 - std::panicking::try::ha7903bccf307108c [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/std/src/panicking.rs:518:19 [INFO] [stdout] 39: 0x563b4a124797 - std::panic::catch_unwind::h85a1dff12b1bcadc [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/std/src/panic.rs:142:14 [INFO] [stdout] 40: 0x563b4a124797 - std::thread::Builder::spawn_unchecked_::{{closure}}::h2c9f92cbe6cfd7e3 [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/std/src/thread/mod.rs:528:30 [INFO] [stdout] 41: 0x563b4a124797 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h7d4afe73c576828a [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x563b4a199465 - as core::ops::function::FnOnce>::call_once::h4f08d401a486e446 [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/alloc/src/boxed.rs:2015:9 [INFO] [stdout] 43: 0x563b4a199465 - as core::ops::function::FnOnce>::call_once::h3476dfcdba628abc [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/alloc/src/boxed.rs:2015:9 [INFO] [stdout] 44: 0x563b4a199465 - std::sys::pal::unix::thread::Thread::new::thread_start::h2770ac7f8882db09 [INFO] [stdout] at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/std/src/sys/pal/unix/thread.rs:108:17 [INFO] [stdout] 45: 0x7fcbbb51fac3 - [INFO] [stdout] 46: 0x7fcbbb5b0bf4 - __clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test::end_to_end_tests [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "67f9352bd4895712884db1362ab9f695965588cfafe556a565153dcbcb028b6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67f9352bd4895712884db1362ab9f695965588cfafe556a565153dcbcb028b6c", kill_on_drop: false }` [INFO] [stdout] 67f9352bd4895712884db1362ab9f695965588cfafe556a565153dcbcb028b6c