[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 beta-2022-04-10 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 beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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" "+beta-2022-04-10" "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" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8a42a363fc8a0eba2dc199c92fadd4a9f1b63a60322d33a2b9b58878aa499276 [INFO] running `Command { std: "docker" "start" "-a" "8a42a363fc8a0eba2dc199c92fadd4a9f1b63a60322d33a2b9b58878aa499276", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a42a363fc8a0eba2dc199c92fadd4a9f1b63a60322d33a2b9b58878aa499276", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a42a363fc8a0eba2dc199c92fadd4a9f1b63a60322d33a2b9b58878aa499276", kill_on_drop: false }` [INFO] [stdout] 8a42a363fc8a0eba2dc199c92fadd4a9f1b63a60322d33a2b9b58878aa499276 [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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 13b261ea6f80ce77d9bf3651ebb021d6dd4906d0cb18114551e1da96fe099fca [INFO] running `Command { std: "docker" "start" "-a" "13b261ea6f80ce77d9bf3651ebb021d6dd4906d0cb18114551e1da96fe099fca", 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 libc v0.2.76 [INFO] [stderr] Compiling syn v1.0.39 [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 either v1.6.0 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling bit-vec v0.6.2 [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 thread_local v1.0.1 [INFO] [stderr] Compiling indexmap v1.5.2 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling ascii-canvas v2.0.0 [INFO] [stderr] Compiling lalrpop-util v0.19.1 [INFO] [stderr] Compiling string_cache v0.8.0 [INFO] [stderr] Compiling docopt v1.1.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: 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 37.50s [INFO] running `Command { std: "docker" "inspect" "13b261ea6f80ce77d9bf3651ebb021d6dd4906d0cb18114551e1da96fe099fca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13b261ea6f80ce77d9bf3651ebb021d6dd4906d0cb18114551e1da96fe099fca", kill_on_drop: false }` [INFO] [stdout] 13b261ea6f80ce77d9bf3651ebb021d6dd4906d0cb18114551e1da96fe099fca [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" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2619dd7c1dd9b5ab79f58090279faee49b1aa1155fbc6b1bdeaf1c965c86e9e1 [INFO] running `Command { std: "docker" "start" "-a" "2619dd7c1dd9b5ab79f58090279faee49b1aa1155fbc6b1bdeaf1c965c86e9e1", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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: 1 warning emitted [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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 7.89s [INFO] [stderr] Executable unittests src/interpreter.rs (/opt/rustwide/target/debug/deps/interpreter-dd79d566e47d5905) [INFO] [stderr] Executable unittests src/typechecker.rs (/opt/rustwide/target/debug/deps/typechecker-8e0e9128edc052c8) [INFO] running `Command { std: "docker" "inspect" "2619dd7c1dd9b5ab79f58090279faee49b1aa1155fbc6b1bdeaf1c965c86e9e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2619dd7c1dd9b5ab79f58090279faee49b1aa1155fbc6b1bdeaf1c965c86e9e1", kill_on_drop: false }` [INFO] [stdout] 2619dd7c1dd9b5ab79f58090279faee49b1aa1155fbc6b1bdeaf1c965c86e9e1 [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" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2b8cc0dc1d727b7dc9e4ad76a37f1bc1c396c210aad84339e6e89a34d1691a5a [INFO] running `Command { std: "docker" "start" "-a" "2b8cc0dc1d727b7dc9e4ad76a37f1bc1c396c210aad84339e6e89a34d1691a5a", 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 src/interpreter.rs (/opt/rustwide/target/debug/deps/interpreter-dd79d566e47d5905) [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_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: 0x562a948a7cdd - std::backtrace_rs::backtrace::libunwind::trace::ha359b7f0090e2792 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x562a948a7cdd - std::backtrace_rs::backtrace::trace_unsynchronized::h0584631f25c1d70e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x562a948a7cdd - std::sys_common::backtrace::_print_fmt::hdadffd97d279ff14 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x562a948a7cdd - ::fmt::h26f189e611080a74 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x562a948caafc - core::fmt::write::hfb5d11dfe037e8b7 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/fmt/mod.rs:1194:17 [INFO] [stdout] 5: 0x562a948a46a1 - std::io::Write::write_fmt::h6a24ec64406df9e2 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/io/mod.rs:1655:15 [INFO] [stdout] 6: 0x562a948a9a25 - std::sys_common::backtrace::_print::h7a0e44402913ba60 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x562a948a9a25 - std::sys_common::backtrace::print::h9767dc455a84e728 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x562a948a9a25 - std::panicking::default_hook::{{closure}}::h60afd6c8b12988ad [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x562a948a9714 - std::panicking::default_hook::ha7b9bac6813f9d21 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x562a948a9f72 - std::panicking::rust_panic_with_hook::h7b117a162a6f8664 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x562a948a9e57 - std::panicking::begin_panic_handler::{{closure}}::h346750923c608600 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x562a948a8194 - std::sys_common::backtrace::__rust_end_short_backtrace::h768c56c6a0c055c0 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x562a948a9b89 - rust_begin_unwind [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x562a9465a933 - core::panicking::panic_fmt::h5c41cb2fa118fdbc [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x562a946ab352 - interpreter::eval_fn::h19b4cc3e3af65717 [INFO] [stdout] at /opt/rustwide/workdir/src/interpreter.rs:299:25 [INFO] [stdout] 16: 0x562a946a8ea3 - interpreter::eval_expr::ha43ed17bb40c64e9 [INFO] [stdout] at /opt/rustwide/workdir/src/interpreter.rs:142:13 [INFO] [stdout] 17: 0x562a946aa6e4 - interpreter::eval_stmts::h0a8fad6d2d67a852 [INFO] [stdout] at /opt/rustwide/workdir/src/interpreter.rs:177:35 [INFO] [stdout] 18: 0x562a946ab7e5 - interpreter::eval_fn::h19b4cc3e3af65717 [INFO] [stdout] at /opt/rustwide/workdir/src/interpreter.rs:315:23 [INFO] [stdout] 19: 0x562a946ac4c4 - interpreter::borrow_test_func::h6d0cc02022bee80c [INFO] [stdout] at /opt/rustwide/workdir/src/interpreter.rs:416:22 [INFO] [stdout] 20: 0x562a946ac34a - interpreter::borrow_test_func::{{closure}}::h796629facabc34dc [INFO] [stdout] at /opt/rustwide/workdir/src/interpreter.rs:401:1 [INFO] [stdout] 21: 0x562a9468054e - core::ops::function::FnOnce::call_once::hfb2f8722dc2466a9 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x562a946f0813 - core::ops::function::FnOnce::call_once::h018fc248431ce8de [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 23: 0x562a946f0813 - test::__rust_begin_short_backtrace::h293b982b6069d6e3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:574:5 [INFO] [stdout] 24: 0x562a946ef5c9 - as core::ops::function::FnOnce>::call_once::h4fc1be1a762c7a46 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 25: 0x562a946ef5c9 - as core::ops::function::FnOnce<()>>::call_once::hd44623ec51b9e897 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 26: 0x562a946ef5c9 - std::panicking::try::do_call::ha8cfa4b025f5b832 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 27: 0x562a946ef5c9 - std::panicking::try::h664f75e41c112145 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 28: 0x562a946ef5c9 - std::panic::catch_unwind::h4932ec05cd60558e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 29: 0x562a946ef5c9 - test::run_test_in_process::ha14a47756671755c [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:597:18 [INFO] [stdout] 30: 0x562a946ef5c9 - test::run_test::run_test_inner::{{closure}}::h0ec9e37c8f67b62d [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:491:39 [INFO] [stdout] 31: 0x562a946bb77e - test::run_test::run_test_inner::{{closure}}::hd9d2e7f26d4f59e6 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:518:37 [INFO] [stdout] 32: 0x562a946bb77e - std::sys_common::backtrace::__rust_begin_short_backtrace::h41c0a39fac5123f8 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 33: 0x562a946c0ce8 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h69a02ca0bebb6eeb [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 34: 0x562a946c0ce8 - as core::ops::function::FnOnce<()>>::call_once::hdd05632920ce689b [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 35: 0x562a946c0ce8 - std::panicking::try::do_call::hb4947142729b90fd [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 36: 0x562a946c0ce8 - std::panicking::try::h15a7e9b8394e6878 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 37: 0x562a946c0ce8 - std::panic::catch_unwind::hbd3f4a3f9df49b85 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 38: 0x562a946c0ce8 - std::thread::Builder::spawn_unchecked_::{{closure}}::h880b5d5f1b9799f4 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 39: 0x562a946c0ce8 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h304d5eaf401f5061 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 40: 0x562a948ae783 - as core::ops::function::FnOnce>::call_once::hdba7f2afed0c35b3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 41: 0x562a948ae783 - as core::ops::function::FnOnce>::call_once::h38b0832765bf7961 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 42: 0x562a948ae783 - std::sys::unix::thread::Thread::new::thread_start::h70236dc17753425e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 43: 0x7fdc21d6f609 - start_thread [INFO] [stdout] 44: 0x7fdc21b3f163 - 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: 0x562a948a7cdd - std::backtrace_rs::backtrace::libunwind::trace::ha359b7f0090e2792 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x562a948a7cdd - std::backtrace_rs::backtrace::trace_unsynchronized::h0584631f25c1d70e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x562a948a7cdd - std::sys_common::backtrace::_print_fmt::hdadffd97d279ff14 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x562a948a7cdd - ::fmt::h26f189e611080a74 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x562a948caafc - core::fmt::write::hfb5d11dfe037e8b7 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/fmt/mod.rs:1194:17 [INFO] [stdout] 5: 0x562a948a46a1 - std::io::Write::write_fmt::h6a24ec64406df9e2 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/io/mod.rs:1655:15 [INFO] [stdout] 6: 0x562a948a9a25 - std::sys_common::backtrace::_print::h7a0e44402913ba60 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x562a948a9a25 - std::sys_common::backtrace::print::h9767dc455a84e728 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x562a948a9a25 - std::panicking::default_hook::{{closure}}::h60afd6c8b12988ad [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x562a948a9714 - std::panicking::default_hook::ha7b9bac6813f9d21 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x562a948a9f72 - std::panicking::rust_panic_with_hook::h7b117a162a6f8664 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x562a948a9e57 - std::panicking::begin_panic_handler::{{closure}}::h346750923c608600 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x562a948a8194 - std::sys_common::backtrace::__rust_end_short_backtrace::h768c56c6a0c055c0 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x562a948a9b89 - rust_begin_unwind [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x562a9465a933 - core::panicking::panic_fmt::h5c41cb2fa118fdbc [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x562a946a879a - interpreter::eval_expr::ha43ed17bb40c64e9 [INFO] [stdout] at /opt/rustwide/workdir/src/interpreter.rs:63:25 [INFO] [stdout] 16: 0x562a946a81e5 - interpreter::eval_expr::ha43ed17bb40c64e9 [INFO] [stdout] at /opt/rustwide/workdir/src/interpreter.rs:101:33 [INFO] [stdout] 17: 0x562a946aa6e4 - interpreter::eval_stmts::h0a8fad6d2d67a852 [INFO] [stdout] at /opt/rustwide/workdir/src/interpreter.rs:177:35 [INFO] [stdout] 18: 0x562a946ab7e5 - interpreter::eval_fn::h19b4cc3e3af65717 [INFO] [stdout] at /opt/rustwide/workdir/src/interpreter.rs:315:23 [INFO] [stdout] 19: 0x562a946abce4 - interpreter::borrow_test_scope::hbbac105b7a71c377 [INFO] [stdout] at /opt/rustwide/workdir/src/interpreter.rs:366:22 [INFO] [stdout] 20: 0x562a946abb6a - interpreter::borrow_test_scope::{{closure}}::hc073ef1bd8719d43 [INFO] [stdout] at /opt/rustwide/workdir/src/interpreter.rs:352:1 [INFO] [stdout] 21: 0x562a9468024e - core::ops::function::FnOnce::call_once::h6636c448bae30b3a [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x562a946f0813 - core::ops::function::FnOnce::call_once::h018fc248431ce8de [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 23: 0x562a946f0813 - test::__rust_begin_short_backtrace::h293b982b6069d6e3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:574:5 [INFO] [stdout] 24: 0x562a946ef5c9 - as core::ops::function::FnOnce>::call_once::h4fc1be1a762c7a46 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 25: 0x562a946ef5c9 - as core::ops::function::FnOnce<()>>::call_once::hd44623ec51b9e897 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 26: 0x562a946ef5c9 - std::panicking::try::do_call::ha8cfa4b025f5b832 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 27: 0x562a946ef5c9 - std::panicking::try::h664f75e41c112145 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 28: 0x562a946ef5c9 - std::panic::catch_unwind::h4932ec05cd60558e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 29: 0x562a946ef5c9 - test::run_test_in_process::ha14a47756671755c [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:597:18 [INFO] [stdout] 30: 0x562a946ef5c9 - test::run_test::run_test_inner::{{closure}}::h0ec9e37c8f67b62d [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:491:39 [INFO] [stdout] 31: 0x562a946bb77e - test::run_test::run_test_inner::{{closure}}::hd9d2e7f26d4f59e6 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:518:37 [INFO] [stdout] 32: 0x562a946bb77e - std::sys_common::backtrace::__rust_begin_short_backtrace::h41c0a39fac5123f8 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 33: 0x562a946c0ce8 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h69a02ca0bebb6eeb [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 34: 0x562a946c0ce8 - as core::ops::function::FnOnce<()>>::call_once::hdd05632920ce689b [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 35: 0x562a946c0ce8 - std::panicking::try::do_call::hb4947142729b90fd [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 36: 0x562a946c0ce8 - std::panicking::try::h15a7e9b8394e6878 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 37: 0x562a946c0ce8 - std::panic::catch_unwind::hbd3f4a3f9df49b85 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 38: 0x562a946c0ce8 - std::thread::Builder::spawn_unchecked_::{{closure}}::h880b5d5f1b9799f4 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 39: 0x562a946c0ce8 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h304d5eaf401f5061 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 40: 0x562a948ae783 - as core::ops::function::FnOnce>::call_once::hdba7f2afed0c35b3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 41: 0x562a948ae783 - as core::ops::function::FnOnce>::call_once::h38b0832765bf7961 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 42: 0x562a948ae783 - std::sys::unix::thread::Thread::new::thread_start::h70236dc17753425e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 43: 0x7fdc21d6f609 - start_thread [INFO] [stdout] 44: 0x7fdc21b3f163 - 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" "2b8cc0dc1d727b7dc9e4ad76a37f1bc1c396c210aad84339e6e89a34d1691a5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b8cc0dc1d727b7dc9e4ad76a37f1bc1c396c210aad84339e6e89a34d1691a5a", kill_on_drop: false }` [INFO] [stdout] 2b8cc0dc1d727b7dc9e4ad76a37f1bc1c396c210aad84339e6e89a34d1691a5a