[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 try#d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 for pr-86479 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCryslacks%2FD7050E-Compiler" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Cryslacks/D7050E-Compiler on toolchain d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "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-6/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" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lalrpop-util v0.19.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 64fc33636f15b757b958496aa6909ed8670150ee1395c4de0a71092293f9616d [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" "64fc33636f15b757b958496aa6909ed8670150ee1395c4de0a71092293f9616d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "64fc33636f15b757b958496aa6909ed8670150ee1395c4de0a71092293f9616d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64fc33636f15b757b958496aa6909ed8670150ee1395c4de0a71092293f9616d", kill_on_drop: false }` [INFO] [stdout] 64fc33636f15b757b958496aa6909ed8670150ee1395c4de0a71092293f9616d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 002884e14971d75ae720c3c7bbd7c0f56bb9447b2c333381214c6f3b08fd19fe [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" "002884e14971d75ae720c3c7bbd7c0f56bb9447b2c333381214c6f3b08fd19fe", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [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 precomputed-hash v0.1.1 [INFO] [stderr] Compiling opaque-debug v0.2.3 [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 dirs v1.0.5 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling ascii-canvas v2.0.0 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling serde_derive v1.0.115 [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/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: 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 dev [unoptimized + debuginfo] target(s) in 1m 06s [INFO] running `Command { std: "docker" "inspect" "002884e14971d75ae720c3c7bbd7c0f56bb9447b2c333381214c6f3b08fd19fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "002884e14971d75ae720c3c7bbd7c0f56bb9447b2c333381214c6f3b08fd19fe", kill_on_drop: false }` [INFO] [stdout] 002884e14971d75ae720c3c7bbd7c0f56bb9447b2c333381214c6f3b08fd19fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "test" "--frozen" "--no-run" "--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] fd90d16a828e91dfbe7c0b69a32edcbceed15cc3a686fd2992b719c02eaa0754 [INFO] running `Command { std: "docker" "start" "-a" "fd90d16a828e91dfbe7c0b69a32edcbceed15cc3a686fd2992b719c02eaa0754", 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/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: 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 6.71s [INFO] running `Command { std: "docker" "inspect" "fd90d16a828e91dfbe7c0b69a32edcbceed15cc3a686fd2992b719c02eaa0754", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd90d16a828e91dfbe7c0b69a32edcbceed15cc3a686fd2992b719c02eaa0754", kill_on_drop: false }` [INFO] [stdout] fd90d16a828e91dfbe7c0b69a32edcbceed15cc3a686fd2992b719c02eaa0754 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 56096dcfa43c39aa9f20000a2bea02b89564eeb07bfc02dbf7e5dac4c714dd32 [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" "56096dcfa43c39aa9f20000a2bea02b89564eeb07bfc02dbf7e5dac4c714dd32", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: panic message contains an unused formatting placeholder [INFO] [stdout] running 4 tests [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.08s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/interpreter-f5c9dfaa38a8b176) [INFO] [stdout] test borrow_test_refchanged ... ok [INFO] [stdout] test borrow_test_mut ... ok [INFO] [stdout] test borrow_test_func ... FAILED [INFO] [stderr] error: test failed, to rerun pass '--bin interpreter' [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] [{"c": (false, Ref("a"), 1), "b": (false, RefMut("a"), 1), "a": (true, Num(0), 1)}, {}] [INFO] [stdout] [Stmt] Stmt: Semi [INFO] [stdout] [Stmt] Mem: Mem([{"c": (false, Ref("a"), 1), "b": (false, RefMut("a"), 1), "a": (true, Num(0), 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([{"c": (false, Ref("a"), 1), "b": (false, RefMut("a"), 1), "a": (true, Num(0), 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 {"c": (false, Ref("a"), 1), "b": (false, RefMut("a"), 1), "a": (true, Num(0), 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: 0x5585e4615f10 - std::backtrace_rs::backtrace::libunwind::trace::h99dbb39dca18857d [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x5585e4615f10 - std::backtrace_rs::backtrace::trace_unsynchronized::h832861927e9cfedf [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5585e4615f10 - std::sys_common::backtrace::_print_fmt::h3d18154c77dcf310 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x5585e4615f10 - ::fmt::he312f4ad5b9bb346 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x5585e4638bbc - core::fmt::write::h9a6d9c74526a6c1b [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/core/src/fmt/mod.rs:1115:17 [INFO] [stdout] 5: 0x5585e4612e75 - std::io::Write::write_fmt::h65d36b96410d80d7 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/io/mod.rs:1665:15 [INFO] [stdout] 6: 0x5585e461808b - std::sys_common::backtrace::_print::h65d996766de40da4 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x5585e461808b - std::sys_common::backtrace::print::h40df9727e635f303 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x5585e461808b - std::panicking::default_hook::{{closure}}::hd2da4327dea91a51 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x5585e4617b9c - std::panicking::default_hook::h3d55120ad6ada158 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x5585e4618754 - std::panicking::rust_panic_with_hook::hf85dd0bb545e3b55 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:622:17 [INFO] [stdout] 11: 0x5585e4618237 - std::panicking::begin_panic_handler::{{closure}}::h736ae969434da9fa [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:519:13 [INFO] [stdout] 12: 0x5585e46163ec - std::sys_common::backtrace::__rust_end_short_backtrace::h6133bb80b1d6c3e0 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x5585e4618199 - rust_begin_unwind [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:515:5 [INFO] [stdout] 14: 0x5585e43c7c8b - std::panicking::begin_panic_fmt::hf70e90a601287d8b [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:457:5 [INFO] [stdout] 15: 0x5585e441db37 - interpreter::eval_fn::heb69b896665ae6b6 [INFO] [stdout] at /opt/rustwide/workdir/src/interpreter.rs:299:25 [INFO] [stdout] 16: 0x5585e441b4ae - interpreter::eval_expr::h3d948daaf0e84bd1 [INFO] [stdout] at /opt/rustwide/workdir/src/interpreter.rs:142:13 [INFO] [stdout] 17: 0x5585e441ce41 - interpreter::eval_stmts::h10fab2568a0a8ec0 [INFO] [stdout] at /opt/rustwide/workdir/src/interpreter.rs:177:35 [INFO] [stdout] 18: 0x5585e441e06f - interpreter::eval_fn::heb69b896665ae6b6 [INFO] [stdout] at /opt/rustwide/workdir/src/interpreter.rs:315:23 [INFO] [stdout] 19: 0x5585e441ede4 - interpreter::borrow_test_func::h825a1fc167073423 [INFO] [stdout] at /opt/rustwide/workdir/src/interpreter.rs:416:22 [INFO] [stdout] 20: 0x5585e441ec9a - interpreter::borrow_test_func::{{closure}}::h6a6bfb21ad2d87fb [INFO] [stdout] at /opt/rustwide/workdir/src/interpreter.rs:401:1 [INFO] [stdout] 21: 0x5585e43e37de - core::ops::function::FnOnce::call_once::h9bc94166044fde75 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x5585e44628f3 - core::ops::function::FnOnce::call_once::h227fa683a5745bd3 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 23: 0x5585e44628f3 - test::__rust_begin_short_backtrace::h3a193bd570ada00a [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/test/src/lib.rs:578:5 [INFO] [stdout] 24: 0x5585e4461368 - as core::ops::function::FnOnce>::call_once::h262d2f411717179a [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 25: 0x5585e4461368 - as core::ops::function::FnOnce<()>>::call_once::hfec00caec3e52a7b [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panic.rs:347:9 [INFO] [stdout] 26: 0x5585e4461368 - std::panicking::try::do_call::ha5f42e76ffda569d [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:401:40 [INFO] [stdout] 27: 0x5585e4461368 - std::panicking::try::h53f36df0935b9500 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:365:19 [INFO] [stdout] 28: 0x5585e4461368 - std::panic::catch_unwind::h5a497f74b0ce006f [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panic.rs:434:14 [INFO] [stdout] 29: 0x5585e4461368 - test::run_test_in_process::hab0aead337f48a88 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/test/src/lib.rs:601:18 [INFO] [stdout] 30: 0x5585e4461368 - test::run_test::run_test_inner::{{closure}}::h632c383164d4cba2 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/test/src/lib.rs:493:39 [INFO] [stdout] 31: 0x5585e442faed - test::run_test::run_test_inner::{{closure}}::h7c4b3612891a4b58 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/test/src/lib.rs:520:37 [INFO] [stdout] 32: 0x5585e442faed - std::sys_common::backtrace::__rust_begin_short_backtrace::habf7d8a08419d00e [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 33: 0x5585e4434218 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h3acba502e2068204 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/thread/mod.rs:476:17 [INFO] [stdout] 34: 0x5585e4434218 - as core::ops::function::FnOnce<()>>::call_once::h526ef819c1964a35 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panic.rs:347:9 [INFO] [stdout] 35: 0x5585e4434218 - std::panicking::try::do_call::hc0b5663d6373cec8 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:401:40 [INFO] [stdout] 36: 0x5585e4434218 - std::panicking::try::ha9007ede9d35dcd6 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:365:19 [INFO] [stdout] 37: 0x5585e4434218 - std::panic::catch_unwind::hf60d56329ebbb81c [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panic.rs:434:14 [INFO] [stdout] 38: 0x5585e4434218 - std::thread::Builder::spawn_unchecked::{{closure}}::hb1722d498f4ce777 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/thread/mod.rs:475:30 [INFO] [stdout] 39: 0x5585e4434218 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h15eb01325730c962 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 40: 0x5585e461d2c7 - as core::ops::function::FnOnce>::call_once::h09f167e08fc945ff [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 41: 0x5585e461d2c7 - as core::ops::function::FnOnce>::call_once::hf814fe85eeb118e0 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 42: 0x5585e461d2c7 - std::sys::unix::thread::Thread::new::thread_start::hb71b17934c5f5e68 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys/unix/thread.rs:91:17 [INFO] [stdout] 43: 0x7f5346543609 - start_thread [INFO] [stdout] 44: 0x7f5346315293 - 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: 0x5585e4615f10 - std::backtrace_rs::backtrace::libunwind::trace::h99dbb39dca18857d [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x5585e4615f10 - std::backtrace_rs::backtrace::trace_unsynchronized::h832861927e9cfedf [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5585e4615f10 - std::sys_common::backtrace::_print_fmt::h3d18154c77dcf310 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x5585e4615f10 - ::fmt::he312f4ad5b9bb346 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x5585e4638bbc - core::fmt::write::h9a6d9c74526a6c1b [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/core/src/fmt/mod.rs:1115:17 [INFO] [stdout] 5: 0x5585e4612e75 - std::io::Write::write_fmt::h65d36b96410d80d7 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/io/mod.rs:1665:15 [INFO] [stdout] 6: 0x5585e461808b - std::sys_common::backtrace::_print::h65d996766de40da4 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x5585e461808b - std::sys_common::backtrace::print::h40df9727e635f303 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x5585e461808b - std::panicking::default_hook::{{closure}}::hd2da4327dea91a51 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x5585e4617b9c - std::panicking::default_hook::h3d55120ad6ada158 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x5585e4618754 - std::panicking::rust_panic_with_hook::hf85dd0bb545e3b55 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:622:17 [INFO] [stdout] 11: 0x5585e4618237 - std::panicking::begin_panic_handler::{{closure}}::h736ae969434da9fa [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:519:13 [INFO] [stdout] 12: 0x5585e46163ec - std::sys_common::backtrace::__rust_end_short_backtrace::h6133bb80b1d6c3e0 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x5585e4618199 - rust_begin_unwind [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:515:5 [INFO] [stdout] 14: 0x5585e43c7c8b - std::panicking::begin_panic_fmt::hf70e90a601287d8b [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:457:5 [INFO] [stdout] 15: 0x5585e441ad12 - interpreter::eval_expr::h3d948daaf0e84bd1 [INFO] [stdout] at /opt/rustwide/workdir/src/interpreter.rs:63:25 [INFO] [stdout] 16: 0x5585e441a6fb - interpreter::eval_expr::h3d948daaf0e84bd1 [INFO] [stdout] at /opt/rustwide/workdir/src/interpreter.rs:101:33 [INFO] [stdout] 17: 0x5585e441ce41 - interpreter::eval_stmts::h10fab2568a0a8ec0 [INFO] [stdout] at /opt/rustwide/workdir/src/interpreter.rs:177:35 [INFO] [stdout] 18: 0x5585e441e06f - interpreter::eval_fn::heb69b896665ae6b6 [INFO] [stdout] at /opt/rustwide/workdir/src/interpreter.rs:315:23 [INFO] [stdout] 19: 0x5585e441e5a4 - interpreter::borrow_test_scope::h6c834eb67751f0ab [INFO] [stdout] at /opt/rustwide/workdir/src/interpreter.rs:366:22 [INFO] [stdout] 20: 0x5585e441e45a - interpreter::borrow_test_scope::{{closure}}::hcf2f0bbb379a0f30 [INFO] [stdout] at /opt/rustwide/workdir/src/interpreter.rs:352:1 [INFO] [stdout] 21: 0x5585e43e379e - core::ops::function::FnOnce::call_once::h7add852f4b9457ca [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x5585e44628f3 - core::ops::function::FnOnce::call_once::h227fa683a5745bd3 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 23: 0x5585e44628f3 - test::__rust_begin_short_backtrace::h3a193bd570ada00a [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/test/src/lib.rs:578:5 [INFO] [stdout] 24: 0x5585e4461368 - as core::ops::function::FnOnce>::call_once::h262d2f411717179a [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 25: 0x5585e4461368 - as core::ops::function::FnOnce<()>>::call_once::hfec00caec3e52a7b [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panic.rs:347:9 [INFO] [stdout] 26: 0x5585e4461368 - std::panicking::try::do_call::ha5f42e76ffda569d [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:401:40 [INFO] [stdout] 27: 0x5585e4461368 - std::panicking::try::h53f36df0935b9500 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:365:19 [INFO] [stdout] 28: 0x5585e4461368 - std::panic::catch_unwind::h5a497f74b0ce006f [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panic.rs:434:14 [INFO] [stdout] 29: 0x5585e4461368 - test::run_test_in_process::hab0aead337f48a88 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/test/src/lib.rs:601:18 [INFO] [stdout] 30: 0x5585e4461368 - test::run_test::run_test_inner::{{closure}}::h632c383164d4cba2 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/test/src/lib.rs:493:39 [INFO] [stdout] 31: 0x5585e442faed - test::run_test::run_test_inner::{{closure}}::h7c4b3612891a4b58 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/test/src/lib.rs:520:37 [INFO] [stdout] 32: 0x5585e442faed - std::sys_common::backtrace::__rust_begin_short_backtrace::habf7d8a08419d00e [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 33: 0x5585e4434218 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h3acba502e2068204 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/thread/mod.rs:476:17 [INFO] [stdout] 34: 0x5585e4434218 - as core::ops::function::FnOnce<()>>::call_once::h526ef819c1964a35 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panic.rs:347:9 [INFO] [stdout] 35: 0x5585e4434218 - std::panicking::try::do_call::hc0b5663d6373cec8 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:401:40 [INFO] [stdout] 36: 0x5585e4434218 - std::panicking::try::ha9007ede9d35dcd6 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:365:19 [INFO] [stdout] 37: 0x5585e4434218 - std::panic::catch_unwind::hf60d56329ebbb81c [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panic.rs:434:14 [INFO] [stdout] 38: 0x5585e4434218 - std::thread::Builder::spawn_unchecked::{{closure}}::hb1722d498f4ce777 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/thread/mod.rs:475:30 [INFO] [stdout] 39: 0x5585e4434218 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h15eb01325730c962 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 40: 0x5585e461d2c7 - as core::ops::function::FnOnce>::call_once::h09f167e08fc945ff [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 41: 0x5585e461d2c7 - as core::ops::function::FnOnce>::call_once::hf814fe85eeb118e0 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 42: 0x5585e461d2c7 - std::sys::unix::thread::Thread::new::thread_start::hb71b17934c5f5e68 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys/unix/thread.rs:91:17 [INFO] [stdout] 43: 0x7f5346543609 - start_thread [INFO] [stdout] 44: 0x7f5346315293 - 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.08s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "56096dcfa43c39aa9f20000a2bea02b89564eeb07bfc02dbf7e5dac4c714dd32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56096dcfa43c39aa9f20000a2bea02b89564eeb07bfc02dbf7e5dac4c714dd32", kill_on_drop: false }` [INFO] [stdout] 56096dcfa43c39aa9f20000a2bea02b89564eeb07bfc02dbf7e5dac4c714dd32