[INFO] cloning repository https://github.com/soumen-pradhan/rlox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/soumen-pradhan/rlox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoumen-pradhan%2Frlox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoumen-pradhan%2Frlox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cd823a1beaadace544b0186eb738487526507ec3 [INFO] testing soumen-pradhan/rlox against nightly-2025-01-18 for randomize-layout-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoumen-pradhan%2Frlox" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/soumen-pradhan/rlox on toolchain nightly-2025-01-18 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/soumen-pradhan/rlox [INFO] finished tweaking git repo https://github.com/soumen-pradhan/rlox [INFO] tweaked toml for git repo https://github.com/soumen-pradhan/rlox written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/soumen-pradhan/rlox 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" "+nightly-2025-01-18" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded owo-colors v3.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df8815a95612b25ffa1cc39d0de94511ab6383acbc70ea6e992ca4c0b00a54d6 [INFO] running `Command { std: "docker" "start" "-a" "df8815a95612b25ffa1cc39d0de94511ab6383acbc70ea6e992ca4c0b00a54d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df8815a95612b25ffa1cc39d0de94511ab6383acbc70ea6e992ca4c0b00a54d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df8815a95612b25ffa1cc39d0de94511ab6383acbc70ea6e992ca4c0b00a54d6", kill_on_drop: false }` [INFO] [stdout] df8815a95612b25ffa1cc39d0de94511ab6383acbc70ea6e992ca4c0b00a54d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e0d5efc42959afbb2b52e910c7d69f3a7231ff075e2919286ed231b84f3869ab [INFO] running `Command { std: "docker" "start" "-a" "e0d5efc42959afbb2b52e910c7d69f3a7231ff075e2919286ed231b84f3869ab", kill_on_drop: false }` [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Compiling rlox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ErrorLogger` [INFO] [stdout] --> src/error.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | pub use super::{ErrorLogger, Logger, LOGGER}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log_context` [INFO] [stdout] --> src/error.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | pub use crate::{log, log_context}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/error.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | LOGGER.err_loc($loc, $msg); [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/compiler.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | log!(t_err.loc, "unknown token found"); [INFO] [stdout] | -------------------------------------- in this macro invocation [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)]` on by default [INFO] [stdout] = note: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/error.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | LOGGER.err_loc($loc, $msg); [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/compiler.rs:175:17 [INFO] [stdout] | [INFO] [stdout] 175 | log!(tok_err.loc, err_msg); [INFO] [stdout] | -------------------------- in this macro invocation [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: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/error.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | LOGGER.err_loc($loc, $msg); [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/compiler.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | log!(tok.loc, "expected a variable name"); [INFO] [stdout] | ----------------------------------------- in this macro invocation [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: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/error.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | LOGGER.err_loc($loc, $msg); [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/compiler.rs:311:13 [INFO] [stdout] | [INFO] [stdout] 311 | log!(self.prev.loc, "expected an expression (prefix)"); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [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: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/error.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | LOGGER.err_loc($loc, $msg); [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/compiler.rs:323:17 [INFO] [stdout] | [INFO] [stdout] 323 | log!(self.prev.loc, "expected an expression (infix)"); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [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: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/error.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | LOGGER.err_loc($loc, $msg); [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/compiler.rs:330:13 [INFO] [stdout] | [INFO] [stdout] 330 | log!(self.prev.loc, "invalid assignment target"); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [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: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/error.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | LOGGER.err_loc($loc, $msg); [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/compiler.rs:418:17 [INFO] [stdout] | [INFO] [stdout] 418 | log!(self.prev.loc, "expected a number"); [INFO] [stdout] | ---------------------------------------- in this macro invocation [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: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/error.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | LOGGER.err_loc($loc, $msg); [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/compiler.rs:449:17 [INFO] [stdout] | [INFO] [stdout] 449 | log!(operator.loc, "expected an unary operator"); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [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: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/error.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | LOGGER.err_loc($loc, $msg); [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/compiler.rs:495:17 [INFO] [stdout] | [INFO] [stdout] 495 | log!(operator.loc, "expected a binary operator"); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [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: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/error.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | LOGGER.err_loc($loc, $msg); [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/compiler.rs:514:17 [INFO] [stdout] | [INFO] [stdout] 514 | log!(self.prev.loc, "expected a valid literal"); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [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: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/error.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | LOGGER.err_loc($loc, $msg); [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/compiler.rs:534:13 [INFO] [stdout] | [INFO] [stdout] 534 | log!(self.prev.loc, "expected a string literal"); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [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: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/error.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | LOGGER.err_loc($loc, $msg); [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/compiler.rs:595:9 [INFO] [stdout] | [INFO] [stdout] 595 | / log!( [INFO] [stdout] 596 | | parser.prev.loc, [INFO] [stdout] 597 | | format!("fn {name}, prev: {:?}", parser.prev.ty).as_str() [INFO] [stdout] 598 | | ); [INFO] [stdout] | |_________- in this macro invocation [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: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/error.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | LOGGER.err_loc($loc, $msg); [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/lexer.rs:211:25 [INFO] [stdout] | [INFO] [stdout] 211 | log!(self.loc, num_err.show()); [INFO] [stdout] | ------------------------------ in this macro invocation [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: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/error.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | LOGGER.err_loc($loc, $msg); [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/lexer.rs:218:25 [INFO] [stdout] | [INFO] [stdout] 218 | log!(self.loc, str_err.show()); [INFO] [stdout] | ------------------------------ in this macro invocation [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: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/error.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | LOGGER.err_line($loc, $msg); [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/vm.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | log!(line self.line(), "VM: invalid variable name"); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [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: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/error.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | LOGGER.err_line($loc, $msg); [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/vm.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | log!(line self.line(), msg.as_str()); [INFO] [stdout] | ------------------------------------ in this macro invocation [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: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/error.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | LOGGER.err_line($loc, $msg); [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/vm.rs:166:33 [INFO] [stdout] | [INFO] [stdout] 166 | ... log!(line self.line(), "VM: not a number"); [INFO] [stdout] | ------------------------------------------ in this macro invocation [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: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/error.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | LOGGER.err_line($loc, $msg); [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/vm.rs:191:37 [INFO] [stdout] | [INFO] [stdout] 191 | ... log!(line self.line(), "VM: unknown operation on strings"); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/error.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | LOGGER.err_line($loc, $msg); [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/vm.rs:196:33 [INFO] [stdout] | [INFO] [stdout] 196 | ... log!(line self.line(), "VM: require 2 numbers or 2 strings"); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [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: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/error.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | LOGGER.err_line($loc, $msg); [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/vm.rs:267:33 [INFO] [stdout] | [INFO] [stdout] 267 | ... log!(line self.line(), msg.as_str()); [INFO] [stdout] | ------------------------------------ in this macro invocation [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: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.91s [INFO] running `Command { std: "docker" "inspect" "e0d5efc42959afbb2b52e910c7d69f3a7231ff075e2919286ed231b84f3869ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0d5efc42959afbb2b52e910c7d69f3a7231ff075e2919286ed231b84f3869ab", kill_on_drop: false }` [INFO] [stdout] e0d5efc42959afbb2b52e910c7d69f3a7231ff075e2919286ed231b84f3869ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 814650c062f342c633136b0fe1e35016337d199674801f06f58071d82a5e47a1 [INFO] running `Command { std: "docker" "start" "-a" "814650c062f342c633136b0fe1e35016337d199674801f06f58071d82a5e47a1", kill_on_drop: false }` [INFO] [stderr] Compiling rlox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ErrorLogger` [INFO] [stdout] --> src/error.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | pub use super::{ErrorLogger, Logger, LOGGER}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/error.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | LOGGER.err_loc($loc, $msg); [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/compiler.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | log!(t_err.loc, "unknown token found"); [INFO] [stdout] | -------------------------------------- in this macro invocation [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)]` on by default [INFO] [stdout] = note: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/error.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | LOGGER.err_loc($loc, $msg); [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/compiler.rs:175:17 [INFO] [stdout] | [INFO] [stdout] 175 | log!(tok_err.loc, err_msg); [INFO] [stdout] | -------------------------- in this macro invocation [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: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/error.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | LOGGER.err_loc($loc, $msg); [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/compiler.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | log!(tok.loc, "expected a variable name"); [INFO] [stdout] | ----------------------------------------- in this macro invocation [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: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/error.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | LOGGER.err_loc($loc, $msg); [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/compiler.rs:311:13 [INFO] [stdout] | [INFO] [stdout] 311 | log!(self.prev.loc, "expected an expression (prefix)"); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [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: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/error.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | LOGGER.err_loc($loc, $msg); [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/compiler.rs:323:17 [INFO] [stdout] | [INFO] [stdout] 323 | log!(self.prev.loc, "expected an expression (infix)"); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [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: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/error.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | LOGGER.err_loc($loc, $msg); [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/compiler.rs:330:13 [INFO] [stdout] | [INFO] [stdout] 330 | log!(self.prev.loc, "invalid assignment target"); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [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: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/error.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | LOGGER.err_loc($loc, $msg); [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/compiler.rs:418:17 [INFO] [stdout] | [INFO] [stdout] 418 | log!(self.prev.loc, "expected a number"); [INFO] [stdout] | ---------------------------------------- in this macro invocation [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: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/error.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | LOGGER.err_loc($loc, $msg); [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/compiler.rs:449:17 [INFO] [stdout] | [INFO] [stdout] 449 | log!(operator.loc, "expected an unary operator"); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [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: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/error.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | LOGGER.err_loc($loc, $msg); [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/compiler.rs:495:17 [INFO] [stdout] | [INFO] [stdout] 495 | log!(operator.loc, "expected a binary operator"); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [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: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/error.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | LOGGER.err_loc($loc, $msg); [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/compiler.rs:514:17 [INFO] [stdout] | [INFO] [stdout] 514 | log!(self.prev.loc, "expected a valid literal"); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [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: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/error.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | LOGGER.err_loc($loc, $msg); [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/compiler.rs:534:13 [INFO] [stdout] | [INFO] [stdout] 534 | log!(self.prev.loc, "expected a string literal"); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [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: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/error.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | LOGGER.err_loc($loc, $msg); [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/compiler.rs:595:9 [INFO] [stdout] | [INFO] [stdout] 595 | / log!( [INFO] [stdout] 596 | | parser.prev.loc, [INFO] [stdout] 597 | | format!("fn {name}, prev: {:?}", parser.prev.ty).as_str() [INFO] [stdout] 598 | | ); [INFO] [stdout] | |_________- in this macro invocation [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: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/error.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | LOGGER.err_loc($loc, $msg); [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 151 | log!(loc, msg); [INFO] [stdout] | -------------- in this macro invocation [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: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/error.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | LOGGER.err_loc($loc, $msg); [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 183 | log!(loc, msg); [INFO] [stdout] | -------------- in this macro invocation [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: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/error.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | LOGGER.err_loc($loc, $msg); [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 205 | log!(loc, msg); [INFO] [stdout] | -------------- in this macro invocation [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: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/error.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | LOGGER.err_loc($loc, $msg); [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/lexer.rs:211:25 [INFO] [stdout] | [INFO] [stdout] 211 | log!(self.loc, num_err.show()); [INFO] [stdout] | ------------------------------ in this macro invocation [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: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/error.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | LOGGER.err_loc($loc, $msg); [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/lexer.rs:218:25 [INFO] [stdout] | [INFO] [stdout] 218 | log!(self.loc, str_err.show()); [INFO] [stdout] | ------------------------------ in this macro invocation [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: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/error.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | LOGGER.err_line($loc, $msg); [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/vm.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | log!(line self.line(), "VM: invalid variable name"); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [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: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/error.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | LOGGER.err_line($loc, $msg); [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/vm.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | log!(line self.line(), msg.as_str()); [INFO] [stdout] | ------------------------------------ in this macro invocation [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: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/error.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | LOGGER.err_line($loc, $msg); [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/vm.rs:166:33 [INFO] [stdout] | [INFO] [stdout] 166 | ... log!(line self.line(), "VM: not a number"); [INFO] [stdout] | ------------------------------------------ in this macro invocation [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: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/error.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | LOGGER.err_line($loc, $msg); [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/vm.rs:191:37 [INFO] [stdout] | [INFO] [stdout] 191 | ... log!(line self.line(), "VM: unknown operation on strings"); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/error.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | LOGGER.err_line($loc, $msg); [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/vm.rs:196:33 [INFO] [stdout] | [INFO] [stdout] 196 | ... log!(line self.line(), "VM: require 2 numbers or 2 strings"); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [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: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/error.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | LOGGER.err_line($loc, $msg); [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/vm.rs:267:33 [INFO] [stdout] | [INFO] [stdout] 267 | ... log!(line self.line(), msg.as_str()); [INFO] [stdout] | ------------------------------------ in this macro invocation [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: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.22s [INFO] running `Command { std: "docker" "inspect" "814650c062f342c633136b0fe1e35016337d199674801f06f58071d82a5e47a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "814650c062f342c633136b0fe1e35016337d199674801f06f58071d82a5e47a1", kill_on_drop: false }` [INFO] [stdout] 814650c062f342c633136b0fe1e35016337d199674801f06f58071d82a5e47a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 56227dcbffd6548c3607bb0bfe7a36ded25e3dd3a0f302ca51ee0d734c0a2eaf [INFO] running `Command { std: "docker" "start" "-a" "56227dcbffd6548c3607bb0bfe7a36ded25e3dd3a0f302ca51ee0d734c0a2eaf", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `ErrorLogger` [INFO] [stderr] --> src/error.rs:8:21 [INFO] [stderr] | [INFO] [stderr] 8 | pub use super::{ErrorLogger, Logger, LOGGER}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/error.rs:51:13 [INFO] [stderr] | [INFO] [stderr] 51 | LOGGER.err_loc($loc, $msg); [INFO] [stderr] | ^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/compiler.rs:157:17 [INFO] [stderr] | [INFO] [stderr] 157 | log!(t_err.loc, "unknown token found"); [INFO] [stderr] | -------------------------------------- in this macro invocation [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)]` on by default [INFO] [stderr] = note: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/error.rs:51:13 [INFO] [stderr] | [INFO] [stderr] 51 | LOGGER.err_loc($loc, $msg); [INFO] [stderr] | ^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/compiler.rs:175:17 [INFO] [stderr] | [INFO] [stderr] 175 | log!(tok_err.loc, err_msg); [INFO] [stderr] | -------------------------- in this macro invocation [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: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/error.rs:51:13 [INFO] [stderr] | [INFO] [stderr] 51 | LOGGER.err_loc($loc, $msg); [INFO] [stderr] | ^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/compiler.rs:190:17 [INFO] [stderr] | [INFO] [stderr] 190 | log!(tok.loc, "expected a variable name"); [INFO] [stderr] | ----------------------------------------- in this macro invocation [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: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/error.rs:51:13 [INFO] [stderr] | [INFO] [stderr] 51 | LOGGER.err_loc($loc, $msg); [INFO] [stderr] | ^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/compiler.rs:311:13 [INFO] [stderr] | [INFO] [stderr] 311 | log!(self.prev.loc, "expected an expression (prefix)"); [INFO] [stderr] | ------------------------------------------------------ in this macro invocation [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: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/error.rs:51:13 [INFO] [stderr] | [INFO] [stderr] 51 | LOGGER.err_loc($loc, $msg); [INFO] [stderr] | ^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/compiler.rs:323:17 [INFO] [stderr] | [INFO] [stderr] 323 | log!(self.prev.loc, "expected an expression (infix)"); [INFO] [stderr] | ----------------------------------------------------- in this macro invocation [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: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/error.rs:51:13 [INFO] [stderr] | [INFO] [stderr] 51 | LOGGER.err_loc($loc, $msg); [INFO] [stderr] | ^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/compiler.rs:330:13 [INFO] [stderr] | [INFO] [stderr] 330 | log!(self.prev.loc, "invalid assignment target"); [INFO] [stderr] | ------------------------------------------------ in this macro invocation [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: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/error.rs:51:13 [INFO] [stderr] | [INFO] [stderr] 51 | LOGGER.err_loc($loc, $msg); [INFO] [stderr] | ^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/compiler.rs:418:17 [INFO] [stderr] | [INFO] [stderr] 418 | log!(self.prev.loc, "expected a number"); [INFO] [stderr] | ---------------------------------------- in this macro invocation [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: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/error.rs:51:13 [INFO] [stderr] | [INFO] [stderr] 51 | LOGGER.err_loc($loc, $msg); [INFO] [stderr] | ^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/compiler.rs:449:17 [INFO] [stderr] | [INFO] [stderr] 449 | log!(operator.loc, "expected an unary operator"); [INFO] [stderr] | ------------------------------------------------ in this macro invocation [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: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/error.rs:51:13 [INFO] [stderr] | [INFO] [stderr] 51 | LOGGER.err_loc($loc, $msg); [INFO] [stderr] | ^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/compiler.rs:495:17 [INFO] [stderr] | [INFO] [stderr] 495 | log!(operator.loc, "expected a binary operator"); [INFO] [stderr] | ------------------------------------------------ in this macro invocation [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: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/error.rs:51:13 [INFO] [stderr] | [INFO] [stderr] 51 | LOGGER.err_loc($loc, $msg); [INFO] [stderr] | ^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/compiler.rs:514:17 [INFO] [stderr] | [INFO] [stderr] 514 | log!(self.prev.loc, "expected a valid literal"); [INFO] [stderr] | ----------------------------------------------- in this macro invocation [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: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/error.rs:51:13 [INFO] [stderr] | [INFO] [stderr] 51 | LOGGER.err_loc($loc, $msg); [INFO] [stderr] | ^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/compiler.rs:534:13 [INFO] [stderr] | [INFO] [stderr] 534 | log!(self.prev.loc, "expected a string literal"); [INFO] [stderr] | ------------------------------------------------ in this macro invocation [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: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/error.rs:51:13 [INFO] [stderr] | [INFO] [stderr] 51 | LOGGER.err_loc($loc, $msg); [INFO] [stderr] | ^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/compiler.rs:595:9 [INFO] [stderr] | [INFO] [stderr] 595 | / log!( [INFO] [stderr] 596 | | parser.prev.loc, [INFO] [stderr] 597 | | format!("fn {name}, prev: {:?}", parser.prev.ty).as_str() [INFO] [stderr] 598 | | ); [INFO] [stderr] | |_________- in this macro invocation [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: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/error.rs:51:13 [INFO] [stderr] | [INFO] [stderr] 51 | LOGGER.err_loc($loc, $msg); [INFO] [stderr] | ^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 151 | log!(loc, msg); [INFO] [stderr] | -------------- in this macro invocation [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: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/error.rs:51:13 [INFO] [stderr] | [INFO] [stderr] 51 | LOGGER.err_loc($loc, $msg); [INFO] [stderr] | ^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 183 | log!(loc, msg); [INFO] [stderr] | -------------- in this macro invocation [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: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/error.rs:51:13 [INFO] [stderr] | [INFO] [stderr] 51 | LOGGER.err_loc($loc, $msg); [INFO] [stderr] | ^^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 205 | log!(loc, msg); [INFO] [stderr] | -------------- in this macro invocation [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: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/error.rs:51:13 [INFO] [stderr] | [INFO] [stderr] 51 | LOGGER.err_loc($loc, $msg); [INFO] [stderr] | ^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/lexer.rs:211:25 [INFO] [stderr] | [INFO] [stderr] 211 | log!(self.loc, num_err.show()); [INFO] [stderr] | ------------------------------ in this macro invocation [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: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/error.rs:51:13 [INFO] [stderr] | [INFO] [stderr] 51 | LOGGER.err_loc($loc, $msg); [INFO] [stderr] | ^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/lexer.rs:218:25 [INFO] [stderr] | [INFO] [stderr] 218 | log!(self.loc, str_err.show()); [INFO] [stderr] | ------------------------------ in this macro invocation [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: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/error.rs:45:13 [INFO] [stderr] | [INFO] [stderr] 45 | LOGGER.err_line($loc, $msg); [INFO] [stderr] | ^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:89:17 [INFO] [stderr] | [INFO] [stderr] 89 | log!(line self.line(), "VM: invalid variable name"); [INFO] [stderr] | --------------------------------------------------- in this macro invocation [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: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/error.rs:45:13 [INFO] [stderr] | [INFO] [stderr] 45 | LOGGER.err_line($loc, $msg); [INFO] [stderr] | ^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:102:13 [INFO] [stderr] | [INFO] [stderr] 102 | log!(line self.line(), msg.as_str()); [INFO] [stderr] | ------------------------------------ in this macro invocation [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: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/error.rs:45:13 [INFO] [stderr] | [INFO] [stderr] 45 | LOGGER.err_line($loc, $msg); [INFO] [stderr] | ^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:166:33 [INFO] [stderr] | [INFO] [stderr] 166 | ... log!(line self.line(), "VM: not a number"); [INFO] [stderr] | ------------------------------------------ in this macro invocation [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: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/error.rs:45:13 [INFO] [stderr] | [INFO] [stderr] 45 | LOGGER.err_line($loc, $msg); [INFO] [stderr] | ^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:191:37 [INFO] [stderr] | [INFO] [stderr] 191 | ... log!(line self.line(), "VM: unknown operation on strings"); [INFO] [stderr] | ---------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/error.rs:45:13 [INFO] [stderr] | [INFO] [stderr] 45 | LOGGER.err_line($loc, $msg); [INFO] [stderr] | ^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:196:33 [INFO] [stderr] | [INFO] [stderr] 196 | ... log!(line self.line(), "VM: require 2 numbers or 2 strings"); [INFO] [stderr] | ------------------------------------------------------------ in this macro invocation [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: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/error.rs:45:13 [INFO] [stderr] | [INFO] [stderr] 45 | LOGGER.err_line($loc, $msg); [INFO] [stderr] | ^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/vm.rs:267:33 [INFO] [stderr] | [INFO] [stderr] 267 | ... log!(line self.line(), msg.as_str()); [INFO] [stderr] | ------------------------------------ in this macro invocation [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: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `rlox` (bin "rlox" test) generated 24 warnings (run `cargo fix --bin "rlox" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rlox-9da367d27fef8ec8) [INFO] [stdout] [INFO] [stdout] running 37 tests [INFO] [stdout] test chunk::tests::check_rle ... ok [INFO] [stdout] test compiler::tests::precedence_inc ... ok [INFO] [stdout] test compiler::tests::string ... ok [INFO] [stdout] test compiler::tests::print_stmt ... ok [INFO] [stdout] test error::tests::check ... ok [INFO] [stdout] test compiler::tests::var_stmt ... ok [INFO] [stdout] test chunk::tests::unknown_opcode ... ok1 | !(5 - 4 > 3 * 2 == !nil); [INFO] [stdout] | ^ fn decl, prev: Eof [INFO] [stdout] 1 | !(5 - 4 > 3 * 2 == !nil); [INFO] [stderr] [INFO] [stdout] | ^ fn consume if [KwVar], prev: Eof [INFO] [stderr] thread 'compiler::tests::logical' panicked at library/core/src/panicking.rs:218:5: [INFO] [stdout] 1 | !(5 - 4 > 3 * 2 == !nil); [INFO] [stderr] unsafe precondition(s) violated: slice::from_raw_parts requires the pointer to be aligned and non-null, and the total size of the slice not to exceed `isize::MAX` [INFO] [stdout] | ^ fn statement, prev: Eof [INFO] [stderr] stack backtrace: [INFO] [stdout] 1 | !(5 - 4 > 3 * 2 == !nil); [INFO] [stdout] | ^ fn consume if [KwPrint], prev: Eof [INFO] [stdout] 1 | !(5 - 4 > 3 * 2 == !nil); [INFO] [stdout] | ^ fn expr, prev: Eof [INFO] [stdout] 1 | !(5 - 4 > 3 * 2 == !nil); [INFO] [stdout] | ^ fn parse_precedence Assign, prev: Eof [INFO] [stderr] 0: 0x5d087bd34a0a - std::backtrace_rs::backtrace::libunwind::trace::hb059275cfc8d6126 [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stderr] 1: 0x5d087bd34a0a - std::backtrace_rs::backtrace::trace_unsynchronized::h2da071e4327ce3ee [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 2: 0x5d087bd34a0a - std::sys::backtrace::_print_fmt::h842a1474e6f8d23f [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x5d087bd34a0a - ::fmt::h71a62eb3b9696b12 [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x5d087bd5d653 - core::fmt::rt::Argument::fmt::hdb6b616786b41dc1 [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/fmt/rt.rs:177:76 [INFO] [stderr] 5: 0x5d087bd5d653 - core::fmt::write::h2cc1698af7e2d686 [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/fmt/mod.rs:1440:21 [INFO] [stderr] 6: 0x5d087bd31303 - std::io::Write::write_fmt::h00c8700df393f328 [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/io/mod.rs:1887:15 [INFO] [stderr] 7: 0x5d087bd34852 - std::sys::backtrace::BacktraceLock::print::h147fe35b4ea13b08 [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 8: 0x5d087bd35e2f - std::panicking::default_hook::{{closure}}::hbd44223dbdc0d208 [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:298:22 [INFO] [stderr] 9: 0x5d087bd35c9a - std::panicking::default_hook::h20f81eb0576efcec [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:325:9 [INFO] [stderr] 10: 0x5d087bcfe573 - as core::ops::function::Fn>::call::hdb53814c496a4d34 [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/alloc/src/boxed.rs:2027:9 [INFO] [stderr] 11: 0x5d087bcfe573 - test::test_main::{{closure}}::hc0a4963c59427c24 [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:134:21 [INFO] [stderr] 12: 0x5d087bd36923 - as core::ops::function::Fn>::call::h591b2225413a77e9 [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/alloc/src/boxed.rs:2027:9 [INFO] [stderr] 13: 0x5d087bd36923 - std::panicking::rust_panic_with_hook::h625eea43051b2edc [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:839:13 [INFO] [stderr] 14: 0x5d087bd365a6 - std::panicking::begin_panic_handler::{{closure}}::h4f9159cfbc3f6bd3 [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:697:13 [INFO] [stderr] 15: 0x5d087bd34f09 - std::sys::backtrace::__rust_end_short_backtrace::h0390abce48353151 [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:168:18 [INFO] [stderr] 16: 0x5d087bd3626d - rust_begin_unwind [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:695:5 [INFO] [stderr] 17: 0x5d087bd5b9dd - core::panicking::panic_nounwind_fmt::runtime::hff07b4bc76d03a4c [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/panicking.rs:117:22 [INFO] [stderr] 18: 0x5d087bd5b9dd - core::panicking::panic_nounwind_fmt::hbd5e8c40c5ce07f6 [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/intrinsics/mod.rs:3861:9 [INFO] [stderr] 19: 0x5d087bd5ba72 - core::panicking::panic_nounwind::h87bcbf062a0b0104 [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/panicking.rs:218:5 [INFO] [stderr] 20: 0x5d087bca6fd3 - core::slice::raw::from_raw_parts::precondition_check::ha8208240f8141b9d [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/ub_checks.rs:68:21 [INFO] [stderr] 21: 0x5d087bcc3c9c - core::slice::raw::from_raw_parts::h649f5ea720fabaea [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/ub_checks.rs:75:17 [INFO] [stderr] 22: 0x5d087bcc3c9c - alloc::vec::Vec::as_slice::h1418b4e9d107b42d [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/alloc/src/vec/mod.rs:1574:18 [INFO] [stderr] 23: 0x5d087bcc402a - as core::ops::deref::Deref>::deref::hf3ed341de07c29ae [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/alloc/src/vec/mod.rs:3269:9 [INFO] [stderr] 24: 0x5d087bc9f4a5 - rlox::error::ErrorLogger::get_line::h0e0be79c55906b04 [INFO] [stderr] at /opt/rustwide/workdir/src/error.rs:60:34 [INFO] [stderr] 25: 0x5d087bca046c - ::err_loc::hfb2a7493e90cd2a6 [INFO] [stderr] at /opt/rustwide/workdir/src/error.rs:78:46 [INFO] [stderr] 26: 0x5d087bca8535 - rlox::compiler::debug::stack_trace::h8ff4c8fbf1dea3dc [INFO] [stderr] at /opt/rustwide/workdir/src/error.rs:51:13 [INFO] [stderr] 27: 0x5d087bc9e637 - rlox::compiler::Parser::unary::hcda8d8c697cc1734 [INFO] [stderr] at /opt/rustwide/workdir/src/compiler.rs:437:9 [INFO] [stderr] 28: 0x5d087bc9d716 - rlox::compiler::Parser::parse_precedence::hab9255ea4b58f8cc [INFO] [stderr] at /opt/rustwide/workdir/src/compiler.rs:309:13 [INFO] [stderr] 29: 0x5d087bc9e3a8 - rlox::compiler::Parser::expr::h8f5863dffc4979bf [INFO] [stderr] at /opt/rustwide/workdir/src/compiler.rs:402:9 [INFO] [stderr] 30: 0x5d087bc9e112 - rlox::compiler::Parser::statement::h20f595636a6d6743 [INFO] [stderr] at /opt/rustwide/workdir/src/compiler.rs:390:13 [INFO] [stderr] 31: 0x5d087bc9dc4c - rlox::compiler::Parser::decl::h66c2117138b8590c [INFO] [stderr] at /opt/rustwide/workdir/src/compiler.rs:345:13 [INFO] [stderr] 32: 0x5d087bc9c4c8 - rlox::compiler::parse::haea3d07bd31d9370 [INFO] [stderr] at /opt/rustwide/workdir/src/compiler.rs:117:9 [INFO] [stderr] 33: 0x5d087bc9c20a - rlox::compiler::run_code::h974754ca85982471 [INFO] [stderr] at /opt/rustwide/workdir/src/compiler.rs:26:17 [INFO] [stderr] 34: 0x5d087bcaadb1 - rlox::compiler::tests::logical::hde80403958169453 [INFO] [stderr] at /opt/rustwide/workdir/src/compiler.rs:634:13 [INFO] [stderr] 35: 0x5d087bcaacd7 - rlox::compiler::tests::logical::{{closure}}::hc87d886e9873d8a3 [INFO] [stderr] at /opt/rustwide/workdir/src/compiler.rs:629:17 [INFO] [stderr] 36: 0x5d087bcbbe96 - core::ops::function::FnOnce::call_once::hb4d9ec859628a39f [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/ops/function.rs:250:5 [INFO] [stderr] 37: 0x5d087bd03ccb - core::ops::function::FnOnce::call_once::he27718dfdd183f43 [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/ops/function.rs:250:5 [INFO] [stderr] 38: 0x5d087bd03ccb - test::__rust_begin_short_backtrace::h4e84902998457a5d [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:632:18 [INFO] [stderr] 39: 0x5d087bd02c03 - test::run_test_in_process::{{closure}}::h7176fd18fc1feca0 [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:655:60 [INFO] [stderr] 40: 0x5d087bd02c03 - as core::ops::function::FnOnce<()>>::call_once::hf79cff2a624d8cf7 [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stderr] 41: 0x5d087bd02c03 - std::panicking::try::do_call::h3da0561d9ab99c25 [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:587:40 [INFO] [stderr] 42: 0x5d087bd02c03 - std::panicking::try::h41c9fa508bc61df6 [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:550:19 [INFO] [stderr] 43: 0x5d087bd02c03 - std::panic::catch_unwind::h6b3ff07bb5afad93 [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panic.rs:358:14 [INFO] [stderr] 44: 0x5d087bd02c03 - test::run_test_in_process::hc7253dd11b39b9f4 [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:655:27 [INFO] [stderr] 45: 0x5d087bd02c03 - test::run_test::{{closure}}::hfb2007f8649c30bb [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:576:43 [INFO] [stderr] 46: 0x5d087bcc5ce5 - test::run_test::{{closure}}::h56a17aa7a282a9f4 [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:606:41 [INFO] [stderr] 47: 0x5d087bcc5ce5 - std::sys::backtrace::__rust_begin_short_backtrace::hd2d2d2fb8e8c6aac [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:152:18 [INFO] [stderr] 48: 0x5d087bcc95ca - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h4faa3f9db6133423 [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/thread/mod.rs:559:17 [INFO] [stderr] 49: 0x5d087bcc95ca - as core::ops::function::FnOnce<()>>::call_once::hf2e855a36a4ea846 [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stderr] 50: 0x5d087bcc95ca - std::panicking::try::do_call::h2f73af3616c35465 [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:587:40 [INFO] [stderr] 51: 0x5d087bcc95ca - std::panicking::try::hd1660ce9efadef5a [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:550:19 [INFO] [stderr] 52: 0x5d087bcc95ca - std::panic::catch_unwind::h5ee8d7823b8ca744 [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panic.rs:358:14 [INFO] [stderr] 53: 0x5d087bcc95ca - std::thread::Builder::spawn_unchecked_::{{closure}}::h53c3a1894dce8407 [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/thread/mod.rs:557:30 [INFO] [stderr] 54: 0x5d087bcc95ca - core::ops::function::FnOnce::call_once{{vtable.shim}}::h048ce291ad4f62bf [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/ops/function.rs:250:5 [INFO] [stderr] 55: 0x5d087bd3a85b - as core::ops::function::FnOnce>::call_once::ha52bedf99a3b4981 [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/alloc/src/boxed.rs:2013:9 [INFO] [stderr] 56: 0x5d087bd3a85b - as core::ops::function::FnOnce>::call_once::h567748934d80ccf8 [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/alloc/src/boxed.rs:2013:9 [INFO] [stderr] 57: 0x5d087bd3a85b - std::sys::pal::unix::thread::Thread::new::thread_start::h2d970728ae887adc [INFO] [stderr] at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/pal/unix/thread.rs:106:17 [INFO] [stderr] 58: 0x703727c22ac3 - [INFO] [stderr] 59: 0x703727cb3a04 - clone [INFO] [stderr] 60: 0x0 - [INFO] [stderr] thread caused non-unwinding panic. aborting. [INFO] [stderr] error: test failed, to rerun pass `--bin rlox` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/deps/rlox-9da367d27fef8ec8` (signal: 6, SIGABRT: process abort signal) [INFO] running `Command { std: "docker" "inspect" "56227dcbffd6548c3607bb0bfe7a36ded25e3dd3a0f302ca51ee0d734c0a2eaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56227dcbffd6548c3607bb0bfe7a36ded25e3dd3a0f302ca51ee0d734c0a2eaf", kill_on_drop: false }` [INFO] [stdout] 56227dcbffd6548c3607bb0bfe7a36ded25e3dd3a0f302ca51ee0d734c0a2eaf