[INFO] cloning repository https://github.com/Cryslacks/D7050E-Compiler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Cryslacks/D7050E-Compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCryslacks%2FD7050E-Compiler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCryslacks%2FD7050E-Compiler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f3a3edee6110ae4f7dbd04d2918821a48a14f41b [INFO] testing Cryslacks/D7050E-Compiler against master#6c20ab744b0f82646d90ce9d25894823abc9c669 for pr-99093 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCryslacks%2FD7050E-Compiler" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Cryslacks/D7050E-Compiler on toolchain 6c20ab744b0f82646d90ce9d25894823abc9c669 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6c20ab744b0f82646d90ce9d25894823abc9c669" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Cryslacks/D7050E-Compiler [INFO] finished tweaking git repo https://github.com/Cryslacks/D7050E-Compiler [INFO] tweaked toml for git repo https://github.com/Cryslacks/D7050E-Compiler written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/Cryslacks/D7050E-Compiler already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6c20ab744b0f82646d90ce9d25894823abc9c669" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lalrpop-util v0.19.1 [INFO] [stderr] Downloaded lalrpop v0.19.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+6c20ab744b0f82646d90ce9d25894823abc9c669" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 83af54ce1f1bab17ecc69486c522e5bcd44db9c270328f68b76a0aba9e86f5a0 [INFO] running `Command { std: "docker" "start" "-a" "83af54ce1f1bab17ecc69486c522e5bcd44db9c270328f68b76a0aba9e86f5a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "83af54ce1f1bab17ecc69486c522e5bcd44db9c270328f68b76a0aba9e86f5a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83af54ce1f1bab17ecc69486c522e5bcd44db9c270328f68b76a0aba9e86f5a0", kill_on_drop: false }` [INFO] [stdout] 83af54ce1f1bab17ecc69486c522e5bcd44db9c270328f68b76a0aba9e86f5a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+6c20ab744b0f82646d90ce9d25894823abc9c669" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9f5c517ff7abd681a7e7390705dd95fe80e11d3f194b5d9a19350cbc950f9df0 [INFO] running `Command { std: "docker" "start" "-a" "9f5c517ff7abd681a7e7390705dd95fe80e11d3f194b5d9a19350cbc950f9df0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling bit-vec v0.6.2 [INFO] [stderr] Compiling either v1.6.0 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling indexmap v1.5.2 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling ascii-canvas v2.0.0 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling lalrpop-util v0.19.1 [INFO] [stderr] Compiling docopt v1.1.0 [INFO] [stderr] Compiling string_cache v0.8.0 [INFO] [stderr] Compiling lalrpop v0.19.0 [INFO] [stderr] Compiling d7050e_2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable `paramReferenceMutable` should have a snake case name [INFO] [stdout] --> src/interpreter.rs:282:17 [INFO] [stdout] | [INFO] [stdout] 282 | let mut paramReferenceMutable: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `param_reference_mutable` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `paramReference` should have a snake case name [INFO] [stdout] --> src/interpreter.rs:283:17 [INFO] [stdout] | [INFO] [stdout] 283 | let mut paramReference: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `param_reference` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/interpreter.rs:321:45 [INFO] [stdout] | [INFO] [stdout] 321 | panic!("[Func] Error function named {:?} not found."); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 321 | panic!("[Func] Error function named {:?} not found.", ...); [INFO] [stdout] | +++++ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 321 | panic!("{}", "[Func] Error function named {:?} not found."); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/typechecker.rs:379:45 [INFO] [stdout] | [INFO] [stdout] 379 | panic!("[Func] Error function named {:?} not found."); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 379 | panic!("[Func] Error function named {:?} not found.", ...); [INFO] [stdout] | +++++ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 379 | panic!("{}", "[Func] Error function named {:?} not found."); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 57s [INFO] running `Command { std: "docker" "inspect" "9f5c517ff7abd681a7e7390705dd95fe80e11d3f194b5d9a19350cbc950f9df0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f5c517ff7abd681a7e7390705dd95fe80e11d3f194b5d9a19350cbc950f9df0", kill_on_drop: false }` [INFO] [stdout] 9f5c517ff7abd681a7e7390705dd95fe80e11d3f194b5d9a19350cbc950f9df0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+6c20ab744b0f82646d90ce9d25894823abc9c669" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d68a660e6adc7e1669e9ce85dcb63d1ca53d19d6f39c8b68ccfcfffdf27f6e4e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d68a660e6adc7e1669e9ce85dcb63d1ca53d19d6f39c8b68ccfcfffdf27f6e4e", kill_on_drop: false }` [INFO] [stderr] Compiling d7050e_2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable `paramReferenceMutable` should have a snake case name [INFO] [stdout] --> src/interpreter.rs:282:17 [INFO] [stdout] | [INFO] [stdout] 282 | let mut paramReferenceMutable: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `param_reference_mutable` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `paramReference` should have a snake case name [INFO] [stdout] --> src/interpreter.rs:283:17 [INFO] [stdout] | [INFO] [stdout] 283 | let mut paramReference: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `param_reference` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/interpreter.rs:321:45 [INFO] [stdout] | [INFO] [stdout] 321 | panic!("[Func] Error function named {:?} not found."); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 321 | panic!("[Func] Error function named {:?} not found.", ...); [INFO] [stdout] | +++++ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 321 | panic!("{}", "[Func] Error function named {:?} not found."); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/typechecker.rs:379:45 [INFO] [stdout] | [INFO] [stdout] 379 | panic!("[Func] Error function named {:?} not found."); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 379 | panic!("[Func] Error function named {:?} not found.", ...); [INFO] [stdout] | +++++ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 379 | panic!("{}", "[Func] Error function named {:?} not found."); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 8.46s [INFO] running `Command { std: "docker" "inspect" "d68a660e6adc7e1669e9ce85dcb63d1ca53d19d6f39c8b68ccfcfffdf27f6e4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d68a660e6adc7e1669e9ce85dcb63d1ca53d19d6f39c8b68ccfcfffdf27f6e4e", kill_on_drop: false }` [INFO] [stdout] d68a660e6adc7e1669e9ce85dcb63d1ca53d19d6f39c8b68ccfcfffdf27f6e4e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+6c20ab744b0f82646d90ce9d25894823abc9c669" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c861ed7155a9087aba81d8ac7c157eabcdd938795d7b0e5c0a5180ee45be79c9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c861ed7155a9087aba81d8ac7c157eabcdd938795d7b0e5c0a5180ee45be79c9", kill_on_drop: false }` [INFO] [stderr] warning: variable `paramReferenceMutable` should have a snake case name [INFO] [stderr] --> src/interpreter.rs:282:17 [INFO] [stderr] | [INFO] [stderr] 282 | let mut paramReferenceMutable: Vec = Vec::new(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `param_reference_mutable` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable `paramReference` should have a snake case name [INFO] [stderr] --> src/interpreter.rs:283:17 [INFO] [stderr] | [INFO] [stderr] 283 | let mut paramReference: Vec = Vec::new(); [INFO] [stderr] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `param_reference` [INFO] [stderr] [INFO] [stderr] warning: panic message contains an unused formatting placeholder [INFO] [stderr] --> src/interpreter.rs:321:45 [INFO] [stderr] | [INFO] [stderr] 321 | panic!("[Func] Error function named {:?} not found."); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stderr] help: add the missing argument [INFO] [stderr] | [INFO] [stderr] 321 | panic!("[Func] Error function named {:?} not found.", ...); [INFO] [stderr] | +++++ [INFO] [stderr] help: or add a "{}" format string to use the message literally [INFO] [stderr] | [INFO] [stderr] 321 | panic!("{}", "[Func] Error function named {:?} not found."); [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message contains an unused formatting placeholder [INFO] [stderr] --> src/typechecker.rs:379:45 [INFO] [stderr] | [INFO] [stderr] 379 | panic!("[Func] Error function named {:?} not found."); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stderr] help: add the missing argument [INFO] [stderr] | [INFO] [stderr] 379 | panic!("[Func] Error function named {:?} not found.", ...); [INFO] [stderr] | +++++ [INFO] [stderr] help: or add a "{}" format string to use the message literally [INFO] [stderr] | [INFO] [stderr] 379 | panic!("{}", "[Func] Error function named {:?} not found."); [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: `d7050e_2020` (bin "interpreter" test) generated 3 warnings [INFO] [stderr] warning: `d7050e_2020` (bin "typechecker" test) generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/interpreter.rs (/opt/rustwide/target/debug/deps/interpreter-fa9367ec0ce98cce) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test borrow_test_mut ... ok [INFO] [stdout] test borrow_test_refchanged ... ok [INFO] [stdout] test borrow_test_scope ... FAILED [INFO] [stdout] test borrow_test_func ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- borrow_test_scope stdout ---- [INFO] [stdout] [Func] Evaluating function "main" with params [] [INFO] [stdout] [Func] Converted params into variables: {} [INFO] [stdout] [Stmt] Stmt: Let(false, "borrowed", None, None) [INFO] [stdout] [Stmt] Mem: Mem([{}, {}], {}) [INFO] [stdout] [Stmt] Let [INFO] [stdout] [Mem] Inserted id "borrowed", in scope {} with the id 1 [INFO] [stdout] [Stmt] Stmt: Semi [INFO] [stdout] [Stmt] Mem: Mem([{"borrowed": (false, Uninitialized, 1)}, {}], {}) [INFO] [stdout] [Stmt] Stmt: If(Term(Bool(true)), [Let(false, "if_scope", None, Some(Term(Num(1)))), Semi, Assign(Term(Id("borrowed")), Ref(Term(Id("if_scope")))), Semi], None) [INFO] [stdout] [Stmt] Mem: Mem([{"borrowed": (false, Uninitialized, 1)}, {}], {}) [INFO] [stdout] [Stmt] If [INFO] [stdout] [Expr] Evaluating expr: Term(Bool(true)) [INFO] [stdout] [Stmt] Stmt: Let(false, "if_scope", None, Some(Term(Num(1)))) [INFO] [stdout] [Stmt] Mem: Mem([{}, {"borrowed": (false, Uninitialized, 1)}, {}], {}) [INFO] [stdout] [Stmt] Let [INFO] [stdout] [Mem] Inserted id "if_scope", in scope {} with the id 2 [INFO] [stdout] [Expr] Evaluating expr: Term(Num(1)) [INFO] [stdout] [add_ref] Adding "if_scope" => Owner("if_scope", 2) from super "if_scope" [INFO] [stdout] [BorrowStack] Added reference {"if_scope": [("if_scope", Owner("if_scope", 2))]} [INFO] [stdout] [Mem] Updating memory "if_scope" = Num(1) (false) [INFO] [stdout] [Mem] Updating "if_scope" in "if_scope" [INFO] [stdout] [Mem] Variable "if_scope" was found true [INFO] [stdout] [BorrowStack] {"if_scope": [("if_scope", Owner("if_scope", 2))]} [INFO] [stdout] [ScopeStack] [{"if_scope": (false, Num(1), 2)}, {"borrowed": (false, Uninitialized, 1)}, {}] [INFO] [stdout] [Stmt] Stmt: Semi [INFO] [stdout] [Stmt] Mem: Mem([{"if_scope": (false, Num(1), 2)}, {"borrowed": (false, Uninitialized, 1)}, {}], {"if_scope": [("if_scope", Owner("if_scope", 2))]}) [INFO] [stdout] [Stmt] Stmt: Assign(Term(Id("borrowed")), Ref(Term(Id("if_scope")))) [INFO] [stdout] [Stmt] Mem: Mem([{"if_scope": (false, Num(1), 2)}, {"borrowed": (false, Uninitialized, 1)}, {}], {"if_scope": [("if_scope", Owner("if_scope", 2))]}) [INFO] [stdout] [Stmt] Assign [INFO] [stdout] [add_ref] Checking for dupes "if_scope" [("if_scope", Owner("if_scope", 2))] [INFO] [stdout] [add_ref] Adding "borrowed" => Ref("if_scope", 2) from super "if_scope" [INFO] [stdout] [BorrowStack] Added reference {"if_scope": [("borrowed", Ref("if_scope", 2)), ("if_scope", Owner("if_scope", 2))]} [INFO] [stdout] [Expr] Evaluating expr: Ref(Term(Id("if_scope"))) [INFO] [stdout] [Mem] Updating memory "borrowed" = Ref("if_scope") (false) [INFO] [stdout] [Mem] Updating "borrowed" in "if_scope" [INFO] [stdout] [Mem] Variable "borrowed" was found true [INFO] [stdout] [BorrowStack] {"if_scope": [("borrowed", Ref("if_scope", 2)), ("if_scope", Owner("if_scope", 2))]} [INFO] [stdout] [ScopeStack] [{"if_scope": (false, Num(1), 2)}, {"borrowed": (false, Ref("if_scope"), 1)}, {}] [INFO] [stdout] [Stmt] Stmt: Semi [INFO] [stdout] [Stmt] Mem: Mem([{"if_scope": (false, Num(1), 2)}, {"borrowed": (false, Ref("if_scope"), 1)}, {}], {"if_scope": [("borrowed", Ref("if_scope", 2)), ("if_scope", Owner("if_scope", 2))]}) [INFO] [stdout] [Stmt] Stmt: Let(false, "another_scope", None, Some(DeRef(Term(Id("borrowed"))))) [INFO] [stdout] [Stmt] Mem: Mem([{"borrowed": (false, Ref("if_scope"), 1)}, {}], {"if_scope": [("borrowed", Ref("if_scope", 2)), ("if_scope", Owner("if_scope", 2))]}) [INFO] [stdout] [Stmt] Let [INFO] [stdout] [Mem] Inserted id "another_scope", in scope {"borrowed": (false, Ref("if_scope"), 1)} with the id 1 [INFO] [stdout] [Expr] Evaluating expr: DeRef(Term(Id("borrowed"))) [INFO] [stdout] [Expr] Evaluating expr: Term(Id("borrowed")) [INFO] [stdout] [Expr] Dereferencing Ref("if_scope") [INFO] [stdout] [Expr] Evaluating expr: Term(Id("if_scope")) [INFO] [stdout] thread 'borrow_test_scope' panicked at '[Expr] Identifier not found "if_scope"', src/interpreter.rs:63:25 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x558a99807ec0 - std::backtrace_rs::backtrace::libunwind::trace::h5cec5ee957007983 [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 1: 0x558a99807ec0 - std::backtrace_rs::backtrace::trace_unsynchronized::h3912ce6f9cd18e05 [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x558a99807ec0 - std::sys_common::backtrace::_print_fmt::h0b3fbca24cbc1b41 [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x558a99807ec0 - ::fmt::hc7b35b5b2e247560 [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x558a9982b2dc - core::fmt::write::h2d806358caa3f689 [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/core/src/fmt/mod.rs:1198:17 [INFO] [stdout] 5: 0x558a998048e5 - std::io::Write::write_fmt::hf9535056206ea98c [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/io/mod.rs:1672:15 [INFO] [stdout] 6: 0x558a99809901 - std::sys_common::backtrace::_print::h51a933838ceebaa0 [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x558a99809901 - std::sys_common::backtrace::print::hc53e3ead445b016c [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x558a99809901 - std::panicking::default_hook::{{closure}}::hbc895cb9b7ebea62 [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x558a99809556 - std::panicking::default_hook::h664409a8548f2cc0 [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x558a99809fa3 - std::panicking::rust_panic_with_hook::h947033eb042c9758 [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x558a99809e97 - std::panicking::begin_panic_handler::{{closure}}::haef8fa2237a58bae [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x558a99808394 - std::sys_common::backtrace::__rust_end_short_backtrace::hadb599ff5bdd6123 [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x558a99809bc2 - rust_begin_unwind [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x558a995ba283 - core::panicking::panic_fmt::hcf9e3bddea69ce9b [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/core/src/panicking.rs:142:14 [INFO] [stdout] 15: 0x558a99614d60 - interpreter::eval_expr::he17bf43a34fb27bb [INFO] [stdout] at /opt/rustwide/workdir/src/interpreter.rs:63:25 [INFO] [stdout] 16: 0x558a996147ab - interpreter::eval_expr::he17bf43a34fb27bb [INFO] [stdout] at /opt/rustwide/workdir/src/interpreter.rs:101:33 [INFO] [stdout] 17: 0x558a99616cb4 - interpreter::eval_stmts::h8d21607ea4df145d [INFO] [stdout] at /opt/rustwide/workdir/src/interpreter.rs:177:35 [INFO] [stdout] 18: 0x558a99617db5 - interpreter::eval_fn::h31383bf4f635772f [INFO] [stdout] at /opt/rustwide/workdir/src/interpreter.rs:315:23 [INFO] [stdout] 19: 0x558a996182ba - interpreter::borrow_test_scope::haf1d905444713d14 [INFO] [stdout] at /opt/rustwide/workdir/src/interpreter.rs:366:22 [INFO] [stdout] 20: 0x558a9961813a - interpreter::borrow_test_scope::{{closure}}::h8874dd9142651d10 [INFO] [stdout] at /opt/rustwide/workdir/src/interpreter.rs:352:1 [INFO] [stdout] 21: 0x558a9960d6de - core::ops::function::FnOnce::call_once::hb9e4dd0909a5e969 [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/core/src/ops/function.rs:248:5 [INFO] [stdout] 22: 0x558a99653ed3 - core::ops::function::FnOnce::call_once::ha891352f3b456c56 [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/core/src/ops/function.rs:248:5 [INFO] [stdout] 23: 0x558a99653ed3 - test::__rust_begin_short_backtrace::he74ff8fcbc6e1bf3 [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/test/src/lib.rs:572:5 [INFO] [stdout] 24: 0x558a99652c5c - as core::ops::function::FnOnce>::call_once::ha7d4b5f90d4ff94a [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/alloc/src/boxed.rs:1934:9 [INFO] [stdout] 25: 0x558a99652c5c - as core::ops::function::FnOnce<()>>::call_once::hff61630ec6da6d9c [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 26: 0x558a99652c5c - std::panicking::try::do_call::h25bb9ce20414cc9e [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/panicking.rs:492:40 [INFO] [stdout] 27: 0x558a99652c5c - std::panicking::try::h879f2193a4184aae [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/panicking.rs:456:19 [INFO] [stdout] 28: 0x558a99652c5c - std::panic::catch_unwind::hef4ed77ae7d42ef7 [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/panic.rs:137:14 [INFO] [stdout] 29: 0x558a99652c5c - test::run_test_in_process::h45393ffc6f2bda93 [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/test/src/lib.rs:595:18 [INFO] [stdout] 30: 0x558a99652c5c - test::run_test::run_test_inner::{{closure}}::h374abe809bc519ae [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/test/src/lib.rs:489:39 [INFO] [stdout] 31: 0x558a9961e89c - test::run_test::run_test_inner::{{closure}}::h8d8ea5cb4864a81a [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/test/src/lib.rs:516:37 [INFO] [stdout] 32: 0x558a9961e89c - std::sys_common::backtrace::__rust_begin_short_backtrace::hae3d1543273744a4 [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 33: 0x558a996247df - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h9979fffcdc02fb98 [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/thread/mod.rs:505:17 [INFO] [stdout] 34: 0x558a996247df - as core::ops::function::FnOnce<()>>::call_once::h43a127bea61ae81a [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 35: 0x558a996247df - std::panicking::try::do_call::h1dd85209b01bc737 [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/panicking.rs:492:40 [INFO] [stdout] 36: 0x558a996247df - std::panicking::try::h308a79a6f4b54c2d [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/panicking.rs:456:19 [INFO] [stdout] 37: 0x558a996247df - std::panic::catch_unwind::h5cf0d96d2eddcf0c [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/panic.rs:137:14 [INFO] [stdout] 38: 0x558a996247df - std::thread::Builder::spawn_unchecked_::{{closure}}::hcc55c81e5bc7e1fc [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/thread/mod.rs:504:30 [INFO] [stdout] 39: 0x558a996247df - core::ops::function::FnOnce::call_once{{vtable.shim}}::h53c6f5ca915705b9 [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/core/src/ops/function.rs:248:5 [INFO] [stdout] 40: 0x558a9980e513 - as core::ops::function::FnOnce>::call_once::h8644474d961275e7 [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/alloc/src/boxed.rs:1934:9 [INFO] [stdout] 41: 0x558a9980e513 - as core::ops::function::FnOnce>::call_once::hfd68b25ee06fd9db [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/alloc/src/boxed.rs:1934:9 [INFO] [stdout] 42: 0x558a9980e513 - std::sys::unix::thread::Thread::new::thread_start::heb02daf84d178e59 [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 43: 0x7f889b0ed609 - start_thread [INFO] [stdout] 44: 0x7f889aebd133 - clone [INFO] [stdout] 45: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- borrow_test_func stdout ---- [INFO] [stdout] [Func] Evaluating function "main" with params [] [INFO] [stdout] [Func] Converted params into variables: {} [INFO] [stdout] [Stmt] Stmt: Let(true, "a", None, Some(Term(Num(0)))) [INFO] [stdout] [Stmt] Mem: Mem([{}, {}], {}) [INFO] [stdout] [Stmt] Let [INFO] [stdout] [Mem] Inserted id "a", in scope {} with the id 1 [INFO] [stdout] [Expr] Evaluating expr: Term(Num(0)) [INFO] [stdout] [add_ref] Adding "a" => Owner("a", 1) from super "a" [INFO] [stdout] [BorrowStack] Added reference {"a": [("a", Owner("a", 1))]} [INFO] [stdout] [Mem] Updating memory "a" = Num(0) (false) [INFO] [stdout] [Mem] Updating "a" in "a" [INFO] [stdout] [Mem] Variable "a" was found true [INFO] [stdout] [BorrowStack] {"a": [("a", Owner("a", 1))]} [INFO] [stdout] [ScopeStack] [{"a": (true, Num(0), 1)}, {}] [INFO] [stdout] [Stmt] Stmt: Semi [INFO] [stdout] [Stmt] Mem: Mem([{"a": (true, Num(0), 1)}, {}], {"a": [("a", Owner("a", 1))]}) [INFO] [stdout] [Stmt] Stmt: Let(false, "b", None, Some(RefMut(Term(Id("a"))))) [INFO] [stdout] [Stmt] Mem: Mem([{"a": (true, Num(0), 1)}, {}], {"a": [("a", Owner("a", 1))]}) [INFO] [stdout] [Stmt] Let [INFO] [stdout] [Mem] Inserted id "b", in scope {"a": (true, Num(0), 1)} with the id 1 [INFO] [stdout] [Expr] Evaluating expr: RefMut(Term(Id("a"))) [INFO] [stdout] [add_ref] Checking for dupes "a" [("a", Owner("a", 1))] [INFO] [stdout] [add_ref] Adding "b" => RefMut("a", 1) from super "a" [INFO] [stdout] [BorrowStack] Added reference {"a": [("b", RefMut("a", 1)), ("a", Owner("a", 1))]} [INFO] [stdout] [Mem] Updating memory "b" = RefMut("a") (false) [INFO] [stdout] [Mem] Updating "b" in "a" [INFO] [stdout] [Mem] Variable "b" was found true [INFO] [stdout] [BorrowStack] {"a": [("b", RefMut("a", 1)), ("a", Owner("a", 1))]} [INFO] [stdout] [ScopeStack] [{"a": (true, Num(0), 1), "b": (false, RefMut("a"), 1)}, {}] [INFO] [stdout] [Stmt] Stmt: Semi [INFO] [stdout] [Stmt] Mem: Mem([{"a": (true, Num(0), 1), "b": (false, RefMut("a"), 1)}, {}], {"a": [("b", RefMut("a", 1)), ("a", Owner("a", 1))]}) [INFO] [stdout] [Stmt] Stmt: Let(false, "c", None, Some(Ref(Term(Id("a"))))) [INFO] [stdout] [Stmt] Mem: Mem([{"a": (true, Num(0), 1), "b": (false, RefMut("a"), 1)}, {}], {"a": [("b", RefMut("a", 1)), ("a", Owner("a", 1))]}) [INFO] [stdout] [Stmt] Let [INFO] [stdout] [Mem] Inserted id "c", in scope {"a": (true, Num(0), 1), "b": (false, RefMut("a"), 1)} with the id 1 [INFO] [stdout] [Expr] Evaluating expr: Ref(Term(Id("a"))) [INFO] [stdout] [add_ref] Checking for dupes "a" [("b", RefMut("a", 1)), ("a", Owner("a", 1))] [INFO] [stdout] [add_ref] Adding "c" => Ref("a", 1) from super "a" [INFO] [stdout] [BorrowStack] Added reference {"a": [("c", Ref("a", 1)), ("b", RefMut("a", 1)), ("a", Owner("a", 1))]} [INFO] [stdout] [Mem] Updating memory "c" = Ref("a") (false) [INFO] [stdout] [Mem] Updating "c" in "a" [INFO] [stdout] [Mem] Variable "c" was found true [INFO] [stdout] [BorrowStack] {"a": [("c", Ref("a", 1)), ("b", RefMut("a", 1)), ("a", Owner("a", 1))]} [INFO] [stdout] [ScopeStack] [{"a": (true, Num(0), 1), "c": (false, Ref("a"), 1), "b": (false, RefMut("a"), 1)}, {}] [INFO] [stdout] [Stmt] Stmt: Semi [INFO] [stdout] [Stmt] Mem: Mem([{"a": (true, Num(0), 1), "c": (false, Ref("a"), 1), "b": (false, RefMut("a"), 1)}, {}], {"a": [("c", Ref("a", 1)), ("b", RefMut("a", 1)), ("a", Owner("a", 1))]}) [INFO] [stdout] [Stmt] Stmt: Let(false, "x", None, Some(Call("f", Exprs([Term(Id("b")), Term(Id("c"))])))) [INFO] [stdout] [Stmt] Mem: Mem([{"a": (true, Num(0), 1), "c": (false, Ref("a"), 1), "b": (false, RefMut("a"), 1)}, {}], {"a": [("c", Ref("a", 1)), ("b", RefMut("a", 1)), ("a", Owner("a", 1))]}) [INFO] [stdout] [Stmt] Let [INFO] [stdout] [Mem] Inserted id "x", in scope {"a": (true, Num(0), 1), "c": (false, Ref("a"), 1), "b": (false, RefMut("a"), 1)} with the id 1 [INFO] [stdout] [Expr] Evaluating expr: Call("f", Exprs([Term(Id("b")), Term(Id("c"))])) [INFO] [stdout] [Expr] Calling function named "f" with arguments Exprs([Term(Id("b")), Term(Id("c"))]) [INFO] [stdout] Term(Id("b")) [INFO] [stdout] Term(Id("c")) [INFO] [stdout] [Expr] Evaluating expr: Term(Id("b")) [INFO] [stdout] [Expr] Evaluating expr: Term(Id("c")) [INFO] [stdout] [Func] Evaluating function "f" with params [RefMut("a"), Ref("a")] [INFO] [stdout] thread 'borrow_test_func' panicked at '[BorrowCheck] Error cannot borrow "a" as immutable because its also borrowed as mutable', src/interpreter.rs:299:25 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x558a99807ec0 - std::backtrace_rs::backtrace::libunwind::trace::h5cec5ee957007983 [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 1: 0x558a99807ec0 - std::backtrace_rs::backtrace::trace_unsynchronized::h3912ce6f9cd18e05 [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x558a99807ec0 - std::sys_common::backtrace::_print_fmt::h0b3fbca24cbc1b41 [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x558a99807ec0 - ::fmt::hc7b35b5b2e247560 [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x558a9982b2dc - core::fmt::write::h2d806358caa3f689 [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/core/src/fmt/mod.rs:1198:17 [INFO] [stdout] 5: 0x558a998048e5 - std::io::Write::write_fmt::hf9535056206ea98c [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/io/mod.rs:1672:15 [INFO] [stdout] 6: 0x558a99809901 - std::sys_common::backtrace::_print::h51a933838ceebaa0 [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x558a99809901 - std::sys_common::backtrace::print::hc53e3ead445b016c [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x558a99809901 - std::panicking::default_hook::{{closure}}::hbc895cb9b7ebea62 [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x558a99809556 - std::panicking::default_hook::h664409a8548f2cc0 [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x558a99809fa3 - std::panicking::rust_panic_with_hook::h947033eb042c9758 [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x558a99809e97 - std::panicking::begin_panic_handler::{{closure}}::haef8fa2237a58bae [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x558a99808394 - std::sys_common::backtrace::__rust_end_short_backtrace::hadb599ff5bdd6123 [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x558a99809bc2 - rust_begin_unwind [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x558a995ba283 - core::panicking::panic_fmt::hcf9e3bddea69ce9b [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/core/src/panicking.rs:142:14 [INFO] [stdout] 15: 0x558a99617922 - interpreter::eval_fn::h31383bf4f635772f [INFO] [stdout] at /opt/rustwide/workdir/src/interpreter.rs:299:25 [INFO] [stdout] 16: 0x558a99615469 - interpreter::eval_expr::he17bf43a34fb27bb [INFO] [stdout] at /opt/rustwide/workdir/src/interpreter.rs:142:13 [INFO] [stdout] 17: 0x558a99616cb4 - interpreter::eval_stmts::h8d21607ea4df145d [INFO] [stdout] at /opt/rustwide/workdir/src/interpreter.rs:177:35 [INFO] [stdout] 18: 0x558a99617db5 - interpreter::eval_fn::h31383bf4f635772f [INFO] [stdout] at /opt/rustwide/workdir/src/interpreter.rs:315:23 [INFO] [stdout] 19: 0x558a99618aca - interpreter::borrow_test_func::h919585eeff03e0da [INFO] [stdout] at /opt/rustwide/workdir/src/interpreter.rs:416:22 [INFO] [stdout] 20: 0x558a9961894a - interpreter::borrow_test_func::{{closure}}::h6fb6c19242f5b7a8 [INFO] [stdout] at /opt/rustwide/workdir/src/interpreter.rs:401:1 [INFO] [stdout] 21: 0x558a9960d4de - core::ops::function::FnOnce::call_once::h3b50f5e2e95160a7 [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/core/src/ops/function.rs:248:5 [INFO] [stdout] 22: 0x558a99653ed3 - core::ops::function::FnOnce::call_once::ha891352f3b456c56 [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/core/src/ops/function.rs:248:5 [INFO] [stdout] 23: 0x558a99653ed3 - test::__rust_begin_short_backtrace::he74ff8fcbc6e1bf3 [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/test/src/lib.rs:572:5 [INFO] [stdout] 24: 0x558a99652c5c - as core::ops::function::FnOnce>::call_once::ha7d4b5f90d4ff94a [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/alloc/src/boxed.rs:1934:9 [INFO] [stdout] 25: 0x558a99652c5c - as core::ops::function::FnOnce<()>>::call_once::hff61630ec6da6d9c [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 26: 0x558a99652c5c - std::panicking::try::do_call::h25bb9ce20414cc9e [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/panicking.rs:492:40 [INFO] [stdout] 27: 0x558a99652c5c - std::panicking::try::h879f2193a4184aae [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/panicking.rs:456:19 [INFO] [stdout] 28: 0x558a99652c5c - std::panic::catch_unwind::hef4ed77ae7d42ef7 [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/panic.rs:137:14 [INFO] [stdout] 29: 0x558a99652c5c - test::run_test_in_process::h45393ffc6f2bda93 [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/test/src/lib.rs:595:18 [INFO] [stdout] 30: 0x558a99652c5c - test::run_test::run_test_inner::{{closure}}::h374abe809bc519ae [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/test/src/lib.rs:489:39 [INFO] [stdout] 31: 0x558a9961e89c - test::run_test::run_test_inner::{{closure}}::h8d8ea5cb4864a81a [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/test/src/lib.rs:516:37 [INFO] [stdout] 32: 0x558a9961e89c - std::sys_common::backtrace::__rust_begin_short_backtrace::hae3d1543273744a4 [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 33: 0x558a996247df - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h9979fffcdc02fb98 [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/thread/mod.rs:505:17 [INFO] [stdout] 34: 0x558a996247df - as core::ops::function::FnOnce<()>>::call_once::h43a127bea61ae81a [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 35: 0x558a996247df - std::panicking::try::do_call::h1dd85209b01bc737 [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/panicking.rs:492:40 [INFO] [stdout] 36: 0x558a996247df - std::panicking::try::h308a79a6f4b54c2d [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/panicking.rs:456:19 [INFO] [stdout] 37: 0x558a996247df - std::panic::catch_unwind::h5cf0d96d2eddcf0c [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/panic.rs:137:14 [INFO] [stdout] 38: 0x558a996247df - std::thread::Builder::spawn_unchecked_::{{closure}}::hcc55c81e5bc7e1fc [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/thread/mod.rs:504:30 [INFO] [stdout] 39: 0x558a996247df - core::ops::function::FnOnce::call_once{{vtable.shim}}::h53c6f5ca915705b9 [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/core/src/ops/function.rs:248:5 [INFO] [stdout] 40: 0x558a9980e513 - as core::ops::function::FnOnce>::call_once::h8644474d961275e7 [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/alloc/src/boxed.rs:1934:9 [INFO] [stdout] 41: 0x558a9980e513 - as core::ops::function::FnOnce>::call_once::hfd68b25ee06fd9db [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/alloc/src/boxed.rs:1934:9 [INFO] [stdout] 42: 0x558a9980e513 - std::sys::unix::thread::Thread::new::thread_start::heb02daf84d178e59 [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 43: 0x7f889b0ed609 - start_thread [INFO] [stdout] 44: 0x7f889aebd133 - clone [INFO] [stdout] 45: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] borrow_test_func [INFO] [stdout] borrow_test_scope [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--bin interpreter' [INFO] running `Command { std: "docker" "inspect" "c861ed7155a9087aba81d8ac7c157eabcdd938795d7b0e5c0a5180ee45be79c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c861ed7155a9087aba81d8ac7c157eabcdd938795d7b0e5c0a5180ee45be79c9", kill_on_drop: false }` [INFO] [stdout] c861ed7155a9087aba81d8ac7c157eabcdd938795d7b0e5c0a5180ee45be79c9