[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-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCryslacks%2FD7050E-Compiler" "/workspace/builds/worker-27/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-27/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Cryslacks/D7050E-Compiler on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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-27/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-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded string_cache v0.8.0 [INFO] [stderr] Downloaded new_debug_unreachable v1.0.4 [INFO] [stderr] Downloaded precomputed-hash v0.1.1 [INFO] [stderr] Downloaded indexmap v1.5.2 [INFO] [stderr] Downloaded docopt v1.1.0 [INFO] [stderr] Downloaded ena v0.14.0 [INFO] [stderr] Downloaded lalrpop v0.19.0 [INFO] [stderr] Downloaded bit-vec v0.6.2 [INFO] [stderr] Downloaded ascii-canvas v2.0.0 [INFO] [stderr] Downloaded lalrpop-util v0.19.1 [INFO] [stderr] Downloaded syn v1.0.39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 15b9e7fbb7c5c978438a792735e4f5764af3fc7d9b7e9dbc28fd5cbc2213c3f3 [INFO] running `Command { std: "docker" "start" "-a" "15b9e7fbb7c5c978438a792735e4f5764af3fc7d9b7e9dbc28fd5cbc2213c3f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "15b9e7fbb7c5c978438a792735e4f5764af3fc7d9b7e9dbc28fd5cbc2213c3f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15b9e7fbb7c5c978438a792735e4f5764af3fc7d9b7e9dbc28fd5cbc2213c3f3", kill_on_drop: false }` [INFO] [stdout] 15b9e7fbb7c5c978438a792735e4f5764af3fc7d9b7e9dbc28fd5cbc2213c3f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3140f8859b954640e7e29a8577aec3b7308cc1bbb01c522683a9618a6214df20 [INFO] running `Command { std: "docker" "start" "-a" "3140f8859b954640e7e29a8577aec3b7308cc1bbb01c522683a9618a6214df20", 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 memchr v2.3.3 [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling typenum v1.12.0 [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 regex-syntax v0.6.18 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling siphasher v0.3.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 fake-simd v0.1.2 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling either v1.6.0 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling bit-vec v0.6.2 [INFO] [stderr] Compiling diff v0.1.12 [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 block-padding v0.1.5 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling ascii-canvas v2.0.0 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling sha2 v0.8.2 [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 1m 23s [INFO] running `Command { std: "docker" "inspect" "3140f8859b954640e7e29a8577aec3b7308cc1bbb01c522683a9618a6214df20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3140f8859b954640e7e29a8577aec3b7308cc1bbb01c522683a9618a6214df20", kill_on_drop: false }` [INFO] [stdout] 3140f8859b954640e7e29a8577aec3b7308cc1bbb01c522683a9618a6214df20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0aeb15999447e4eec77b6a3adeea1156dacfabb286c3eb2e7e7afc728e6cda5e [INFO] running `Command { std: "docker" "start" "-a" "0aeb15999447e4eec77b6a3adeea1156dacfabb286c3eb2e7e7afc728e6cda5e", 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 15.23s [INFO] running `Command { std: "docker" "inspect" "0aeb15999447e4eec77b6a3adeea1156dacfabb286c3eb2e7e7afc728e6cda5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0aeb15999447e4eec77b6a3adeea1156dacfabb286c3eb2e7e7afc728e6cda5e", kill_on_drop: false }` [INFO] [stdout] 0aeb15999447e4eec77b6a3adeea1156dacfabb286c3eb2e7e7afc728e6cda5e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1856a134649bc01fe2293333fd31786db06693cad21a251481afff4d22cdcbf6 [INFO] running `Command { std: "docker" "start" "-a" "1856a134649bc01fe2293333fd31786db06693cad21a251481afff4d22cdcbf6", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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 1.78s [INFO] [stderr] Running unittests (/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_scope ... FAILED [INFO] [stdout] test borrow_test_func ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- borrow_test_scope stdout ---- [INFO] [stdout] [Func] Evaluating function "main" with params [] [INFO] [stdout] [Func] Converted params into variables: {} [INFO] [stdout] [Stmt] Stmt: Let(false, "borrowed", None, None) [INFO] [stdout] [Stmt] Mem: Mem([{}, {}], {}) [INFO] [stdout] [Stmt] Let [INFO] [stdout] [Mem] Inserted id "borrowed", in scope {} with the id 1 [INFO] [stdout] [Stmt] Stmt: Semi [INFO] [stdout] [Stmt] Mem: Mem([{"borrowed": (false, Uninitialized, 1)}, {}], {}) [INFO] [stdout] [Stmt] Stmt: If(Term(Bool(true)), [Let(false, "if_scope", None, Some(Term(Num(1)))), Semi, Assign(Term(Id("borrowed")), Ref(Term(Id("if_scope")))), Semi], None) [INFO] [stdout] [Stmt] Mem: Mem([{"borrowed": (false, Uninitialized, 1)}, {}], {}) [INFO] [stdout] [Stmt] If [INFO] [stdout] [Expr] Evaluating expr: Term(Bool(true)) [INFO] [stdout] [Stmt] Stmt: Let(false, "if_scope", None, Some(Term(Num(1)))) [INFO] [stdout] [Stmt] Mem: Mem([{}, {"borrowed": (false, Uninitialized, 1)}, {}], {}) [INFO] [stdout] [Stmt] Let [INFO] [stdout] [Mem] Inserted id "if_scope", in scope {} with the id 2 [INFO] [stdout] [Expr] Evaluating expr: Term(Num(1)) [INFO] [stdout] [add_ref] Adding "if_scope" => Owner("if_scope", 2) from super "if_scope" [INFO] [stdout] [BorrowStack] Added reference {"if_scope": [("if_scope", Owner("if_scope", 2))]} [INFO] [stdout] [Mem] Updating memory "if_scope" = Num(1) (false) [INFO] [stdout] [Mem] Updating "if_scope" in "if_scope" [INFO] [stdout] [Mem] Variable "if_scope" was found true [INFO] [stdout] [BorrowStack] {"if_scope": [("if_scope", Owner("if_scope", 2))]} [INFO] [stdout] [ScopeStack] [{"if_scope": (false, Num(1), 2)}, {"borrowed": (false, Uninitialized, 1)}, {}] [INFO] [stdout] [Stmt] Stmt: Semi [INFO] [stdout] [Stmt] Mem: Mem([{"if_scope": (false, Num(1), 2)}, {"borrowed": (false, Uninitialized, 1)}, {}], {"if_scope": [("if_scope", Owner("if_scope", 2))]}) [INFO] [stdout] [Stmt] Stmt: Assign(Term(Id("borrowed")), Ref(Term(Id("if_scope")))) [INFO] [stdout] [Stmt] Mem: Mem([{"if_scope": (false, Num(1), 2)}, {"borrowed": (false, Uninitialized, 1)}, {}], {"if_scope": [("if_scope", Owner("if_scope", 2))]}) [INFO] [stdout] [Stmt] Assign [INFO] [stdout] [add_ref] Checking for dupes "if_scope" [("if_scope", Owner("if_scope", 2))] [INFO] [stdout] [add_ref] Adding "borrowed" => Ref("if_scope", 2) from super "if_scope" [INFO] [stdout] [BorrowStack] Added reference {"if_scope": [("borrowed", Ref("if_scope", 2)), ("if_scope", Owner("if_scope", 2))]} [INFO] [stdout] [Expr] Evaluating expr: Ref(Term(Id("if_scope"))) [INFO] [stdout] [Mem] Updating memory "borrowed" = Ref("if_scope") (false) [INFO] [stdout] [Mem] Updating "borrowed" in "if_scope" [INFO] [stdout] [Mem] Variable "borrowed" was found true [INFO] [stdout] [BorrowStack] {"if_scope": [("borrowed", Ref("if_scope", 2)), ("if_scope", Owner("if_scope", 2))]} [INFO] [stdout] [ScopeStack] [{"if_scope": (false, Num(1), 2)}, {"borrowed": (false, Ref("if_scope"), 1)}, {}] [INFO] [stdout] [Stmt] Stmt: Semi [INFO] [stdout] [Stmt] Mem: Mem([{"if_scope": (false, Num(1), 2)}, {"borrowed": (false, Ref("if_scope"), 1)}, {}], {"if_scope": [("borrowed", Ref("if_scope", 2)), ("if_scope", Owner("if_scope", 2))]}) [INFO] [stdout] [Stmt] Stmt: Let(false, "another_scope", None, Some(DeRef(Term(Id("borrowed"))))) [INFO] [stdout] [Stmt] Mem: Mem([{"borrowed": (false, Ref("if_scope"), 1)}, {}], {"if_scope": [("borrowed", Ref("if_scope", 2)), ("if_scope", Owner("if_scope", 2))]}) [INFO] [stdout] [Stmt] Let [INFO] [stdout] [Mem] Inserted id "another_scope", in scope {"borrowed": (false, Ref("if_scope"), 1)} with the id 1 [INFO] [stdout] [Expr] Evaluating expr: DeRef(Term(Id("borrowed"))) [INFO] [stdout] [Expr] Evaluating expr: Term(Id("borrowed")) [INFO] [stdout] [Expr] Dereferencing Ref("if_scope") [INFO] [stdout] [Expr] Evaluating expr: Term(Id("if_scope")) [INFO] [stdout] thread 'borrow_test_scope' panicked at '[Expr] Identifier not found "if_scope"', src/interpreter.rs:63:25 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x565356f28b0c - std::backtrace_rs::backtrace::libunwind::trace::h02555d7ca8aa068a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x565356f28b0c - std::backtrace_rs::backtrace::trace_unsynchronized::h8555a46024147da8 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x565356f28b0c - std::sys_common::backtrace::_print_fmt::h4c7f50b4f105da1e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x565356f28b0c - ::fmt::ha305a40dbc030444 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x565356f4e37c - core::fmt::write::hadd15acf4d6ce273 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/fmt/mod.rs:1190:17 [INFO] [stdout] 5: 0x565356f24408 - std::io::Write::write_fmt::h271050faa79d27d2 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/io/mod.rs:1657:15 [INFO] [stdout] 6: 0x565356f2add7 - std::sys_common::backtrace::_print::h0dd5c0810675bd8c [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x565356f2add7 - std::sys_common::backtrace::print::h20a2155fa0a22ca6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x565356f2add7 - std::panicking::default_hook::{{closure}}::habb3b6f3ccdfe00a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x565356f2ab0b - std::panicking::default_hook::h1c5cf4d5063a38e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x565356f2b52a - std::panicking::rust_panic_with_hook::hb5de7a3072d2cf59 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x565356f2b217 - std::panicking::begin_panic_handler::{{closure}}::h5106de2f55f1a411 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x565356f28fd4 - std::sys_common::backtrace::__rust_end_short_backtrace::h5ad5c2a8a003ca72 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x565356f2af29 - rust_begin_unwind [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x565356ce3673 - core::panicking::panic_fmt::hfb4b8460cd493e74 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x565356d2f7a2 - interpreter::eval_expr::h72af87e6c6ca9909 [INFO] [stdout] at /opt/rustwide/workdir/src/interpreter.rs:63:25 [INFO] [stdout] 16: 0x565356d2f1eb - interpreter::eval_expr::h72af87e6c6ca9909 [INFO] [stdout] at /opt/rustwide/workdir/src/interpreter.rs:101:33 [INFO] [stdout] 17: 0x565356d316bb - interpreter::eval_stmts::h8a86423c1be40b37 [INFO] [stdout] at /opt/rustwide/workdir/src/interpreter.rs:177:35 [INFO] [stdout] 18: 0x565356d32791 - interpreter::eval_fn::h21fa91ed5bdc8a68 [INFO] [stdout] at /opt/rustwide/workdir/src/interpreter.rs:315:23 [INFO] [stdout] 19: 0x565356d32e54 - interpreter::borrow_test_scope::h0bb326b8dd745ac2 [INFO] [stdout] at /opt/rustwide/workdir/src/interpreter.rs:366:22 [INFO] [stdout] 20: 0x565356d32d0a - interpreter::borrow_test_scope::{{closure}}::hbecb1e338ce072e3 [INFO] [stdout] at /opt/rustwide/workdir/src/interpreter.rs:352:1 [INFO] [stdout] 21: 0x565356d03cbe - core::ops::function::FnOnce::call_once::h1ed69203723c762b [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x565356d704a3 - core::ops::function::FnOnce::call_once::h43953c8a8f54893f [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 23: 0x565356d704a3 - test::__rust_begin_short_backtrace::h163f55298a15df9b [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:575:5 [INFO] [stdout] 24: 0x565356d6f1d1 - as core::ops::function::FnOnce>::call_once::hc911782b3cbc7ed5 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 25: 0x565356d6f1d1 - as core::ops::function::FnOnce<()>>::call_once::hc5bb369afbf9cd4e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 26: 0x565356d6f1d1 - std::panicking::try::do_call::he60df4e3e832faff [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 27: 0x565356d6f1d1 - std::panicking::try::h2633cee89a0767f3 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 28: 0x565356d6f1d1 - std::panic::catch_unwind::h6e10f7b94ce38b1e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 29: 0x565356d6f1d1 - test::run_test_in_process::h085ef39049c3b50b [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:598:18 [INFO] [stdout] 30: 0x565356d6f1d1 - test::run_test::run_test_inner::{{closure}}::h4e58ce9f68eb43e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:492:39 [INFO] [stdout] 31: 0x565356d78ab1 - test::run_test::run_test_inner::{{closure}}::h6d18db28c5e396ee [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:519:37 [INFO] [stdout] 32: 0x565356d78ab1 - std::sys_common::backtrace::__rust_begin_short_backtrace::h32292cb2cd8be620 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 33: 0x565356d4520f - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h71ee66b20f7b0482 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 34: 0x565356d4520f - as core::ops::function::FnOnce<()>>::call_once::hb6046e1d1a75a4a4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 35: 0x565356d4520f - std::panicking::try::do_call::h5422165a88309c77 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 36: 0x565356d4520f - std::panicking::try::h840a12b54e2c9f5d [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 37: 0x565356d4520f - std::panic::catch_unwind::h85910e437c8da180 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 38: 0x565356d4520f - std::thread::Builder::spawn_unchecked_::{{closure}}::ha3af3a297bfd51d6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 39: 0x565356d4520f - core::ops::function::FnOnce::call_once{{vtable.shim}}::hff8788f58e0e06a9 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 40: 0x565356f311c3 - as core::ops::function::FnOnce>::call_once::h82a18723295373b7 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 41: 0x565356f311c3 - as core::ops::function::FnOnce>::call_once::h4b9b8634f7a2a5a4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 42: 0x565356f311c3 - std::sys::unix::thread::Thread::new::thread_start::h3dc341aa024c6852 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 43: 0x7f0b25ba1609 - start_thread [INFO] [stdout] 44: 0x7f0b25973293 - clone [INFO] [stdout] 45: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- borrow_test_func stdout ---- [INFO] [stdout] [Func] Evaluating function "main" with params [] [INFO] [stdout] [Func] Converted params into variables: {} [INFO] [stdout] [Stmt] Stmt: Let(true, "a", None, Some(Term(Num(0)))) [INFO] [stdout] [Stmt] Mem: Mem([{}, {}], {}) [INFO] [stdout] [Stmt] Let [INFO] [stdout] [Mem] Inserted id "a", in scope {} with the id 1 [INFO] [stdout] [Expr] Evaluating expr: Term(Num(0)) [INFO] [stdout] [add_ref] Adding "a" => Owner("a", 1) from super "a" [INFO] [stdout] [BorrowStack] Added reference {"a": [("a", Owner("a", 1))]} [INFO] [stdout] [Mem] Updating memory "a" = Num(0) (false) [INFO] [stdout] [Mem] Updating "a" in "a" [INFO] [stdout] [Mem] Variable "a" was found true [INFO] [stdout] [BorrowStack] {"a": [("a", Owner("a", 1))]} [INFO] [stdout] [ScopeStack] [{"a": (true, Num(0), 1)}, {}] [INFO] [stdout] [Stmt] Stmt: Semi [INFO] [stdout] [Stmt] Mem: Mem([{"a": (true, Num(0), 1)}, {}], {"a": [("a", Owner("a", 1))]}) [INFO] [stdout] [Stmt] Stmt: Let(false, "b", None, Some(RefMut(Term(Id("a"))))) [INFO] [stdout] [Stmt] Mem: Mem([{"a": (true, Num(0), 1)}, {}], {"a": [("a", Owner("a", 1))]}) [INFO] [stdout] [Stmt] Let [INFO] [stdout] [Mem] Inserted id "b", in scope {"a": (true, Num(0), 1)} with the id 1 [INFO] [stdout] [Expr] Evaluating expr: RefMut(Term(Id("a"))) [INFO] [stdout] [add_ref] Checking for dupes "a" [("a", Owner("a", 1))] [INFO] [stdout] [add_ref] Adding "b" => RefMut("a", 1) from super "a" [INFO] [stdout] [BorrowStack] Added reference {"a": [("b", RefMut("a", 1)), ("a", Owner("a", 1))]} [INFO] [stdout] [Mem] Updating memory "b" = RefMut("a") (false) [INFO] [stdout] [Mem] Updating "b" in "a" [INFO] [stdout] [Mem] Variable "b" was found true [INFO] [stdout] [BorrowStack] {"a": [("b", RefMut("a", 1)), ("a", Owner("a", 1))]} [INFO] [stdout] [ScopeStack] [{"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: 0x565356f28b0c - std::backtrace_rs::backtrace::libunwind::trace::h02555d7ca8aa068a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x565356f28b0c - std::backtrace_rs::backtrace::trace_unsynchronized::h8555a46024147da8 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x565356f28b0c - std::sys_common::backtrace::_print_fmt::h4c7f50b4f105da1e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x565356f28b0c - ::fmt::ha305a40dbc030444 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x565356f4e37c - core::fmt::write::hadd15acf4d6ce273 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/fmt/mod.rs:1190:17 [INFO] [stdout] 5: 0x565356f24408 - std::io::Write::write_fmt::h271050faa79d27d2 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/io/mod.rs:1657:15 [INFO] [stdout] 6: 0x565356f2add7 - std::sys_common::backtrace::_print::h0dd5c0810675bd8c [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x565356f2add7 - std::sys_common::backtrace::print::h20a2155fa0a22ca6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x565356f2add7 - std::panicking::default_hook::{{closure}}::habb3b6f3ccdfe00a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x565356f2ab0b - std::panicking::default_hook::h1c5cf4d5063a38e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x565356f2b52a - std::panicking::rust_panic_with_hook::hb5de7a3072d2cf59 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x565356f2b217 - std::panicking::begin_panic_handler::{{closure}}::h5106de2f55f1a411 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x565356f28fd4 - std::sys_common::backtrace::__rust_end_short_backtrace::h5ad5c2a8a003ca72 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x565356f2af29 - rust_begin_unwind [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x565356ce3673 - core::panicking::panic_fmt::hfb4b8460cd493e74 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x565356d322fe - interpreter::eval_fn::h21fa91ed5bdc8a68 [INFO] [stdout] at /opt/rustwide/workdir/src/interpreter.rs:299:25 [INFO] [stdout] 16: 0x565356d2fe74 - interpreter::eval_expr::h72af87e6c6ca9909 [INFO] [stdout] at /opt/rustwide/workdir/src/interpreter.rs:142:13 [INFO] [stdout] 17: 0x565356d316bb - interpreter::eval_stmts::h8a86423c1be40b37 [INFO] [stdout] at /opt/rustwide/workdir/src/interpreter.rs:177:35 [INFO] [stdout] 18: 0x565356d32791 - interpreter::eval_fn::h21fa91ed5bdc8a68 [INFO] [stdout] at /opt/rustwide/workdir/src/interpreter.rs:315:23 [INFO] [stdout] 19: 0x565356d33604 - interpreter::borrow_test_func::h0f12d6138831886a [INFO] [stdout] at /opt/rustwide/workdir/src/interpreter.rs:416:22 [INFO] [stdout] 20: 0x565356d334ba - interpreter::borrow_test_func::{{closure}}::h8a52216c5ad78613 [INFO] [stdout] at /opt/rustwide/workdir/src/interpreter.rs:401:1 [INFO] [stdout] 21: 0x565356d03f2e - core::ops::function::FnOnce::call_once::ha700ea1cee3724e9 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x565356d704a3 - core::ops::function::FnOnce::call_once::h43953c8a8f54893f [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 23: 0x565356d704a3 - test::__rust_begin_short_backtrace::h163f55298a15df9b [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:575:5 [INFO] [stdout] 24: 0x565356d6f1d1 - as core::ops::function::FnOnce>::call_once::hc911782b3cbc7ed5 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 25: 0x565356d6f1d1 - as core::ops::function::FnOnce<()>>::call_once::hc5bb369afbf9cd4e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 26: 0x565356d6f1d1 - std::panicking::try::do_call::he60df4e3e832faff [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 27: 0x565356d6f1d1 - std::panicking::try::h2633cee89a0767f3 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 28: 0x565356d6f1d1 - std::panic::catch_unwind::h6e10f7b94ce38b1e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 29: 0x565356d6f1d1 - test::run_test_in_process::h085ef39049c3b50b [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:598:18 [INFO] [stdout] 30: 0x565356d6f1d1 - test::run_test::run_test_inner::{{closure}}::h4e58ce9f68eb43e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:492:39 [INFO] [stdout] 31: 0x565356d78ab1 - test::run_test::run_test_inner::{{closure}}::h6d18db28c5e396ee [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:519:37 [INFO] [stdout] 32: 0x565356d78ab1 - std::sys_common::backtrace::__rust_begin_short_backtrace::h32292cb2cd8be620 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 33: 0x565356d4520f - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h71ee66b20f7b0482 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 34: 0x565356d4520f - as core::ops::function::FnOnce<()>>::call_once::hb6046e1d1a75a4a4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 35: 0x565356d4520f - std::panicking::try::do_call::h5422165a88309c77 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 36: 0x565356d4520f - std::panicking::try::h840a12b54e2c9f5d [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 37: 0x565356d4520f - std::panic::catch_unwind::h85910e437c8da180 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 38: 0x565356d4520f - std::thread::Builder::spawn_unchecked_::{{closure}}::ha3af3a297bfd51d6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 39: 0x565356d4520f - core::ops::function::FnOnce::call_once{{vtable.shim}}::hff8788f58e0e06a9 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 40: 0x565356f311c3 - as core::ops::function::FnOnce>::call_once::h82a18723295373b7 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 41: 0x565356f311c3 - as core::ops::function::FnOnce>::call_once::h4b9b8634f7a2a5a4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 42: 0x565356f311c3 - std::sys::unix::thread::Thread::new::thread_start::h3dc341aa024c6852 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 43: 0x7f0b25ba1609 - start_thread [INFO] [stdout] 44: 0x7f0b25973293 - 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.09s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--bin interpreter' [INFO] running `Command { std: "docker" "inspect" "1856a134649bc01fe2293333fd31786db06693cad21a251481afff4d22cdcbf6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1856a134649bc01fe2293333fd31786db06693cad21a251481afff4d22cdcbf6", kill_on_drop: false }` [INFO] [stdout] 1856a134649bc01fe2293333fd31786db06693cad21a251481afff4d22cdcbf6