[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 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCryslacks%2FD7050E-Compiler" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Cryslacks/D7050E-Compiler on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-8/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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e08425c363649c46741b1b1c495626b25f1eef827ffd998232f5e54259fdb3a7 [INFO] running `Command { std: "docker" "start" "-a" "e08425c363649c46741b1b1c495626b25f1eef827ffd998232f5e54259fdb3a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e08425c363649c46741b1b1c495626b25f1eef827ffd998232f5e54259fdb3a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e08425c363649c46741b1b1c495626b25f1eef827ffd998232f5e54259fdb3a7", kill_on_drop: false }` [INFO] [stdout] e08425c363649c46741b1b1c495626b25f1eef827ffd998232f5e54259fdb3a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eebc8941d7a912a52279534004e4b865351b21ce24ad040f941e4683f657e626 [INFO] running `Command { std: "docker" "start" "-a" "eebc8941d7a912a52279534004e4b865351b21ce24ad040f941e4683f657e626", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling either v1.6.0 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling bit-vec v0.6.2 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling indexmap v1.5.2 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling ascii-canvas v2.0.0 [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: 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: 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: 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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 38.51s [INFO] running `Command { std: "docker" "inspect" "eebc8941d7a912a52279534004e4b865351b21ce24ad040f941e4683f657e626", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eebc8941d7a912a52279534004e4b865351b21ce24ad040f941e4683f657e626", kill_on_drop: false }` [INFO] [stdout] eebc8941d7a912a52279534004e4b865351b21ce24ad040f941e4683f657e626 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1536c4e162e35bf6555b0edbc6563c70ff4e9dc862fbd5233839e9647c4c885c [INFO] running `Command { std: "docker" "start" "-a" "1536c4e162e35bf6555b0edbc6563c70ff4e9dc862fbd5233839e9647c4c885c", kill_on_drop: false }` [INFO] [stderr] Compiling d7050e_2020 v0.1.0 (/opt/rustwide/workdir) [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: 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: 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: 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 3.78s [INFO] running `Command { std: "docker" "inspect" "1536c4e162e35bf6555b0edbc6563c70ff4e9dc862fbd5233839e9647c4c885c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1536c4e162e35bf6555b0edbc6563c70ff4e9dc862fbd5233839e9647c4c885c", kill_on_drop: false }` [INFO] [stdout] 1536c4e162e35bf6555b0edbc6563c70ff4e9dc862fbd5233839e9647c4c885c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c7ef89b6eaea9ffa86a11b5da5322ba803d70b6ef2c2e25181940ce91d199eac [INFO] running `Command { std: "docker" "start" "-a" "c7ef89b6eaea9ffa86a11b5da5322ba803d70b6ef2c2e25181940ce91d199eac", kill_on_drop: false }` [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: 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/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.04s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/interpreter-ee4243d647215fa1) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test borrow_test_refchanged ... ok [INFO] [stdout] test borrow_test_mut ... ok [INFO] [stdout] test borrow_test_func ... FAILED [INFO] [stdout] test borrow_test_scope ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [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] [{"b": (false, RefMut("a"), 1), "a": (true, Num(0), 1)}, {}] [INFO] [stdout] [Stmt] Stmt: Semi [INFO] [stdout] [Stmt] Mem: Mem([{"b": (false, RefMut("a"), 1), "a": (true, Num(0), 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([{"b": (false, RefMut("a"), 1), "a": (true, Num(0), 1)}, {}], {"a": [("b", RefMut("a", 1)), ("a", Owner("a", 1))]}) [INFO] [stdout] [Stmt] Let [INFO] [stdout] [Mem] Inserted id "c", in scope {"b": (false, RefMut("a"), 1), "a": (true, Num(0), 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] [{"b": (false, RefMut("a"), 1), "a": (true, Num(0), 1), "c": (false, Ref("a"), 1)}, {}] [INFO] [stdout] [Stmt] Stmt: Semi [INFO] [stdout] [Stmt] Mem: Mem([{"b": (false, RefMut("a"), 1), "a": (true, Num(0), 1), "c": (false, Ref("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([{"b": (false, RefMut("a"), 1), "a": (true, Num(0), 1), "c": (false, Ref("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 {"b": (false, RefMut("a"), 1), "a": (true, Num(0), 1), "c": (false, Ref("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: 0x5597f4392c5d - std::backtrace_rs::backtrace::libunwind::trace::hee598835bc88d35b [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x5597f4392c5d - std::backtrace_rs::backtrace::trace_unsynchronized::h9cdc730ba5cf5d72 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5597f4392c5d - std::sys_common::backtrace::_print_fmt::h75aeaf7ed30e43fa [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x5597f4392c5d - ::fmt::h606862f787600875 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x5597f43b854c - core::fmt::write::he803f0f418caf762 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/fmt/mod.rs:1190:17 [INFO] [stdout] 5: 0x5597f438e558 - std::io::Write::write_fmt::hbe7c1a63616291e2 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/io/mod.rs:1657:15 [INFO] [stdout] 6: 0x5597f4394f37 - std::sys_common::backtrace::_print::h64d038cf8ac3e13e [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x5597f4394f37 - std::sys_common::backtrace::print::h359300b4a7fccf65 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x5597f4394f37 - std::panicking::default_hook::{{closure}}::hf51be35e2f510149 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x5597f4394c6c - std::panicking::default_hook::h03ca0f22e1d2d25e [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x5597f4395689 - std::panicking::rust_panic_with_hook::h3b7380e99b825b63 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x5597f4395377 - std::panicking::begin_panic_handler::{{closure}}::h8e849d0710154ce0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x5597f4393124 - std::sys_common::backtrace::__rust_end_short_backtrace::hedcdaddbd4c46cc5 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x5597f4395089 - rust_begin_unwind [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x5597f414d673 - core::panicking::panic_fmt::he1bbc7336d49a357 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x5597f419c30e - interpreter::eval_fn::hdbc56555fddb69fc [INFO] [stdout] at /opt/rustwide/workdir/src/interpreter.rs:299:25 [INFO] [stdout] 16: 0x5597f4199e84 - interpreter::eval_expr::hf4243286d7ecbbb8 [INFO] [stdout] at /opt/rustwide/workdir/src/interpreter.rs:142:13 [INFO] [stdout] 17: 0x5597f419b6cb - interpreter::eval_stmts::h3a2fea460995edb4 [INFO] [stdout] at /opt/rustwide/workdir/src/interpreter.rs:177:35 [INFO] [stdout] 18: 0x5597f419c7a1 - interpreter::eval_fn::hdbc56555fddb69fc [INFO] [stdout] at /opt/rustwide/workdir/src/interpreter.rs:315:23 [INFO] [stdout] 19: 0x5597f419d614 - interpreter::borrow_test_func::hc4e31a3592caea43 [INFO] [stdout] at /opt/rustwide/workdir/src/interpreter.rs:416:22 [INFO] [stdout] 20: 0x5597f419d4ca - interpreter::borrow_test_func::{{closure}}::h7e3228b1ab51aa95 [INFO] [stdout] at /opt/rustwide/workdir/src/interpreter.rs:401:1 [INFO] [stdout] 21: 0x5597f416ddce - core::ops::function::FnOnce::call_once::h6bbcef335c63c8de [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x5597f41da4e3 - core::ops::function::FnOnce::call_once::h2a47b4b927cb6ca5 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 23: 0x5597f41da4e3 - test::__rust_begin_short_backtrace::h594ef8055a183b9b [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:575:5 [INFO] [stdout] 24: 0x5597f41d91c4 - as core::ops::function::FnOnce>::call_once::hb40cbb8bc3e1be15 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 25: 0x5597f41d91c4 - as core::ops::function::FnOnce<()>>::call_once::ha4f2bd3b806745a0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 26: 0x5597f41d91c4 - std::panicking::try::do_call::h92af9f8bc77a5987 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40 [INFO] [stdout] 27: 0x5597f41d91c4 - std::panicking::try::h9df49eeae42572b7 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19 [INFO] [stdout] 28: 0x5597f41d91c4 - std::panic::catch_unwind::h101dbadc82bbe0fd [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14 [INFO] [stdout] 29: 0x5597f41d91c4 - test::run_test_in_process::h2ad7bffb068e750a [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:598:18 [INFO] [stdout] 30: 0x5597f41d91c4 - test::run_test::run_test_inner::{{closure}}::h384faf46554c5acb [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:492:39 [INFO] [stdout] 31: 0x5597f41e2ae1 - test::run_test::run_test_inner::{{closure}}::h17cfe94835a46685 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:519:37 [INFO] [stdout] 32: 0x5597f41e2ae1 - std::sys_common::backtrace::__rust_begin_short_backtrace::h82709e5086312627 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 33: 0x5597f41af15f - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hdfea66a201b39571 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 34: 0x5597f41af15f - as core::ops::function::FnOnce<()>>::call_once::h4912df03598e67fa [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 35: 0x5597f41af15f - std::panicking::try::do_call::h6d5dc1045d0eade8 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40 [INFO] [stdout] 36: 0x5597f41af15f - std::panicking::try::hbc897fc717ec6571 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19 [INFO] [stdout] 37: 0x5597f41af15f - std::panic::catch_unwind::h27f1e958c91391ad [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14 [INFO] [stdout] 38: 0x5597f41af15f - std::thread::Builder::spawn_unchecked_::{{closure}}::h1b42e48537edc3c0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 39: 0x5597f41af15f - core::ops::function::FnOnce::call_once{{vtable.shim}}::h9137b3d6d2a88354 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 40: 0x5597f439b373 - as core::ops::function::FnOnce>::call_once::hf70ac038171e3e1a [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 41: 0x5597f439b373 - as core::ops::function::FnOnce>::call_once::he6690128792365ad [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 42: 0x5597f439b373 - std::sys::unix::thread::Thread::new::thread_start::ha07928d93d5a5ec9 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 43: 0x7f0d78e5d609 - start_thread [INFO] [stdout] 44: 0x7f0d78c2d163 - clone [INFO] [stdout] 45: 0x0 - [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: 0x5597f4392c5d - std::backtrace_rs::backtrace::libunwind::trace::hee598835bc88d35b [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x5597f4392c5d - std::backtrace_rs::backtrace::trace_unsynchronized::h9cdc730ba5cf5d72 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5597f4392c5d - std::sys_common::backtrace::_print_fmt::h75aeaf7ed30e43fa [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x5597f4392c5d - ::fmt::h606862f787600875 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x5597f43b854c - core::fmt::write::he803f0f418caf762 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/fmt/mod.rs:1190:17 [INFO] [stdout] 5: 0x5597f438e558 - std::io::Write::write_fmt::hbe7c1a63616291e2 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/io/mod.rs:1657:15 [INFO] [stdout] 6: 0x5597f4394f37 - std::sys_common::backtrace::_print::h64d038cf8ac3e13e [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x5597f4394f37 - std::sys_common::backtrace::print::h359300b4a7fccf65 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x5597f4394f37 - std::panicking::default_hook::{{closure}}::hf51be35e2f510149 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x5597f4394c6c - std::panicking::default_hook::h03ca0f22e1d2d25e [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x5597f4395689 - std::panicking::rust_panic_with_hook::h3b7380e99b825b63 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x5597f4395377 - std::panicking::begin_panic_handler::{{closure}}::h8e849d0710154ce0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x5597f4393124 - std::sys_common::backtrace::__rust_end_short_backtrace::hedcdaddbd4c46cc5 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x5597f4395089 - rust_begin_unwind [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x5597f414d673 - core::panicking::panic_fmt::he1bbc7336d49a357 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x5597f41997b2 - interpreter::eval_expr::hf4243286d7ecbbb8 [INFO] [stdout] at /opt/rustwide/workdir/src/interpreter.rs:63:25 [INFO] [stdout] 16: 0x5597f41991fb - interpreter::eval_expr::hf4243286d7ecbbb8 [INFO] [stdout] at /opt/rustwide/workdir/src/interpreter.rs:101:33 [INFO] [stdout] 17: 0x5597f419b6cb - interpreter::eval_stmts::h3a2fea460995edb4 [INFO] [stdout] at /opt/rustwide/workdir/src/interpreter.rs:177:35 [INFO] [stdout] 18: 0x5597f419c7a1 - interpreter::eval_fn::hdbc56555fddb69fc [INFO] [stdout] at /opt/rustwide/workdir/src/interpreter.rs:315:23 [INFO] [stdout] 19: 0x5597f419ce64 - interpreter::borrow_test_scope::h6381a1b3d5f6f971 [INFO] [stdout] at /opt/rustwide/workdir/src/interpreter.rs:366:22 [INFO] [stdout] 20: 0x5597f419cd1a - interpreter::borrow_test_scope::{{closure}}::h48f70b7fbae11d02 [INFO] [stdout] at /opt/rustwide/workdir/src/interpreter.rs:352:1 [INFO] [stdout] 21: 0x5597f416dd8e - core::ops::function::FnOnce::call_once::h401eb2414f069ed5 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x5597f41da4e3 - core::ops::function::FnOnce::call_once::h2a47b4b927cb6ca5 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 23: 0x5597f41da4e3 - test::__rust_begin_short_backtrace::h594ef8055a183b9b [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:575:5 [INFO] [stdout] 24: 0x5597f41d91c4 - as core::ops::function::FnOnce>::call_once::hb40cbb8bc3e1be15 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 25: 0x5597f41d91c4 - as core::ops::function::FnOnce<()>>::call_once::ha4f2bd3b806745a0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 26: 0x5597f41d91c4 - std::panicking::try::do_call::h92af9f8bc77a5987 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40 [INFO] [stdout] 27: 0x5597f41d91c4 - std::panicking::try::h9df49eeae42572b7 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19 [INFO] [stdout] 28: 0x5597f41d91c4 - std::panic::catch_unwind::h101dbadc82bbe0fd [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14 [INFO] [stdout] 29: 0x5597f41d91c4 - test::run_test_in_process::h2ad7bffb068e750a [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:598:18 [INFO] [stdout] 30: 0x5597f41d91c4 - test::run_test::run_test_inner::{{closure}}::h384faf46554c5acb [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:492:39 [INFO] [stdout] 31: 0x5597f41e2ae1 - test::run_test::run_test_inner::{{closure}}::h17cfe94835a46685 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:519:37 [INFO] [stdout] 32: 0x5597f41e2ae1 - std::sys_common::backtrace::__rust_begin_short_backtrace::h82709e5086312627 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 33: 0x5597f41af15f - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hdfea66a201b39571 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 34: 0x5597f41af15f - as core::ops::function::FnOnce<()>>::call_once::h4912df03598e67fa [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 35: 0x5597f41af15f - std::panicking::try::do_call::h6d5dc1045d0eade8 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40 [INFO] [stdout] 36: 0x5597f41af15f - std::panicking::try::hbc897fc717ec6571 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19 [INFO] [stdout] 37: 0x5597f41af15f - std::panic::catch_unwind::h27f1e958c91391ad [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14 [INFO] [stdout] 38: 0x5597f41af15f - std::thread::Builder::spawn_unchecked_::{{closure}}::h1b42e48537edc3c0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 39: 0x5597f41af15f - core::ops::function::FnOnce::call_once{{vtable.shim}}::h9137b3d6d2a88354 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 40: 0x5597f439b373 - as core::ops::function::FnOnce>::call_once::hf70ac038171e3e1a [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 41: 0x5597f439b373 - as core::ops::function::FnOnce>::call_once::he6690128792365ad [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 42: 0x5597f439b373 - std::sys::unix::thread::Thread::new::thread_start::ha07928d93d5a5ec9 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 43: 0x7f0d78e5d609 - start_thread [INFO] [stdout] 44: 0x7f0d78c2d163 - 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.03s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--bin interpreter' [INFO] running `Command { std: "docker" "inspect" "c7ef89b6eaea9ffa86a11b5da5322ba803d70b6ef2c2e25181940ce91d199eac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7ef89b6eaea9ffa86a11b5da5322ba803d70b6ef2c2e25181940ce91d199eac", kill_on_drop: false }` [INFO] [stdout] c7ef89b6eaea9ffa86a11b5da5322ba803d70b6ef2c2e25181940ce91d199eac