[INFO] cloning repository https://github.com/fangerm/cloxrs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fangerm/cloxrs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffangerm%2Fcloxrs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffangerm%2Fcloxrs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 960fbc87340d40994423cf5c2d78308e155bb956 [INFO] checking fangerm/cloxrs against try#b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8 for pr-78363 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffangerm%2Fcloxrs" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fangerm/cloxrs on toolchain b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fangerm/cloxrs [INFO] finished tweaking git repo https://github.com/fangerm/cloxrs [INFO] tweaked toml for git repo https://github.com/fangerm/cloxrs written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/fangerm/cloxrs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0e81ca959b802cce15a3d0f2cef2f22af123b9f6ca7bfd25e7df1290ad981e3a [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" "0e81ca959b802cce15a3d0f2cef2f22af123b9f6ca7bfd25e7df1290ad981e3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e81ca959b802cce15a3d0f2cef2f22af123b9f6ca7bfd25e7df1290ad981e3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e81ca959b802cce15a3d0f2cef2f22af123b9f6ca7bfd25e7df1290ad981e3a", kill_on_drop: false }` [INFO] [stdout] 0e81ca959b802cce15a3d0f2cef2f22af123b9f6ca7bfd25e7df1290ad981e3a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 882347021f738855ecc499779b97e826ec13280aa17fbf6e7bad30f1ca726bc4 [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" "882347021f738855ecc499779b97e826ec13280aa17fbf6e7bad30f1ca726bc4", kill_on_drop: false }` [INFO] [stderr] Checking plain_enum v0.7.0 [INFO] [stderr] Checking loxrs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0658]: function pointers cannot appear in constant functions [INFO] [stdout] --> src/compiler/mod.rs:584:21 [INFO] [stdout] | [INFO] [stdout] 584 | prefix: None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57563 for more information [INFO] [stdout] = help: add `#![feature(const_fn_fn_ptr_basics)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: mutable references are not allowed in constant functions [INFO] [stdout] --> src/compiler/mod.rs:584:21 [INFO] [stdout] | [INFO] [stdout] 584 | prefix: None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57349 for more information [INFO] [stdout] = help: add `#![feature(const_mut_refs)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: function pointers cannot appear in constant functions [INFO] [stdout] --> src/compiler/mod.rs:585:20 [INFO] [stdout] | [INFO] [stdout] 585 | infix: None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57563 for more information [INFO] [stdout] = help: add `#![feature(const_fn_fn_ptr_basics)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: mutable references are not allowed in constant functions [INFO] [stdout] --> src/compiler/mod.rs:585:20 [INFO] [stdout] | [INFO] [stdout] 585 | infix: None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57349 for more information [INFO] [stdout] = help: add `#![feature(const_mut_refs)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: function pointers cannot appear in constant functions [INFO] [stdout] --> src/compiler/mod.rs:591:9 [INFO] [stdout] | [INFO] [stdout] 591 | prefix: fn(&mut Compiler, bool), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57563 for more information [INFO] [stdout] = help: add `#![feature(const_fn_fn_ptr_basics)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: mutable references are not allowed in constant functions [INFO] [stdout] --> src/compiler/mod.rs:591:9 [INFO] [stdout] | [INFO] [stdout] 591 | prefix: fn(&mut Compiler, bool), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57349 for more information [INFO] [stdout] = help: add `#![feature(const_mut_refs)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: function pointers cannot appear in constant functions [INFO] [stdout] --> src/compiler/mod.rs:592:9 [INFO] [stdout] | [INFO] [stdout] 592 | infix: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57563 for more information [INFO] [stdout] = help: add `#![feature(const_fn_fn_ptr_basics)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: mutable references are not allowed in constant functions [INFO] [stdout] --> src/compiler/mod.rs:592:9 [INFO] [stdout] | [INFO] [stdout] 592 | infix: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57349 for more information [INFO] [stdout] = help: add `#![feature(const_mut_refs)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: function pointers cannot appear in constant functions [INFO] [stdout] --> src/compiler/mod.rs:602:24 [INFO] [stdout] | [INFO] [stdout] 602 | const fn new_infix(infix: fn(&mut Compiler, bool), precedence: Precedence) -> ParseRule { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57563 for more information [INFO] [stdout] = help: add `#![feature(const_fn_fn_ptr_basics)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: mutable references are not allowed in constant functions [INFO] [stdout] --> src/compiler/mod.rs:602:24 [INFO] [stdout] | [INFO] [stdout] 602 | const fn new_infix(infix: fn(&mut Compiler, bool), precedence: Precedence) -> ParseRule { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57349 for more information [INFO] [stdout] = help: add `#![feature(const_mut_refs)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/vm.rs:53:25 [INFO] [stdout] | [INFO] [stdout] 38 | match &self.chunk.code[self.ip - 1].code { [INFO] [stdout] | --------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 53 | self.runtime_error(&format!("Undefined variable {}.", global)); [INFO] [stdout] | ^^^^ mutable borrow occurs here ------ immutable borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/vm.rs:63:25 [INFO] [stdout] | [INFO] [stdout] 38 | match &self.chunk.code[self.ip - 1].code { [INFO] [stdout] | --------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 63 | self.runtime_error(&format!("Undefined variable {}.", global)); [INFO] [stdout] | ^^^^ mutable borrow occurs here ------ immutable borrow later used here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0658`. [INFO] [stdout] [INFO] [stderr] error: could not compile `loxrs` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0658]: function pointers cannot appear in constant functions [INFO] [stdout] --> src/compiler/mod.rs:584:21 [INFO] [stdout] | [INFO] [stdout] 584 | prefix: None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57563 for more information [INFO] [stdout] = help: add `#![feature(const_fn_fn_ptr_basics)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: mutable references are not allowed in constant functions [INFO] [stdout] --> src/compiler/mod.rs:584:21 [INFO] [stdout] | [INFO] [stdout] 584 | prefix: None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57349 for more information [INFO] [stdout] = help: add `#![feature(const_mut_refs)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: function pointers cannot appear in constant functions [INFO] [stdout] --> src/compiler/mod.rs:585:20 [INFO] [stdout] | [INFO] [stdout] 585 | infix: None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57563 for more information [INFO] [stdout] = help: add `#![feature(const_fn_fn_ptr_basics)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: mutable references are not allowed in constant functions [INFO] [stdout] --> src/compiler/mod.rs:585:20 [INFO] [stdout] | [INFO] [stdout] 585 | infix: None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57349 for more information [INFO] [stdout] = help: add `#![feature(const_mut_refs)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: function pointers cannot appear in constant functions [INFO] [stdout] --> src/compiler/mod.rs:591:9 [INFO] [stdout] | [INFO] [stdout] 591 | prefix: fn(&mut Compiler, bool), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57563 for more information [INFO] [stdout] = help: add `#![feature(const_fn_fn_ptr_basics)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: mutable references are not allowed in constant functions [INFO] [stdout] --> src/compiler/mod.rs:591:9 [INFO] [stdout] | [INFO] [stdout] 591 | prefix: fn(&mut Compiler, bool), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57349 for more information [INFO] [stdout] = help: add `#![feature(const_mut_refs)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: function pointers cannot appear in constant functions [INFO] [stdout] --> src/compiler/mod.rs:592:9 [INFO] [stdout] | [INFO] [stdout] 592 | infix: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57563 for more information [INFO] [stdout] = help: add `#![feature(const_fn_fn_ptr_basics)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: mutable references are not allowed in constant functions [INFO] [stdout] --> src/compiler/mod.rs:592:9 [INFO] [stdout] | [INFO] [stdout] 592 | infix: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57349 for more information [INFO] [stdout] = help: add `#![feature(const_mut_refs)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: function pointers cannot appear in constant functions [INFO] [stdout] --> src/compiler/mod.rs:602:24 [INFO] [stdout] | [INFO] [stdout] 602 | const fn new_infix(infix: fn(&mut Compiler, bool), precedence: Precedence) -> ParseRule { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57563 for more information [INFO] [stdout] = help: add `#![feature(const_fn_fn_ptr_basics)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: mutable references are not allowed in constant functions [INFO] [stdout] --> src/compiler/mod.rs:602:24 [INFO] [stdout] | [INFO] [stdout] 602 | const fn new_infix(infix: fn(&mut Compiler, bool), precedence: Precedence) -> ParseRule { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57349 for more information [INFO] [stdout] = help: add `#![feature(const_mut_refs)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/vm.rs:53:25 [INFO] [stdout] | [INFO] [stdout] 38 | match &self.chunk.code[self.ip - 1].code { [INFO] [stdout] | --------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 53 | self.runtime_error(&format!("Undefined variable {}.", global)); [INFO] [stdout] | ^^^^ mutable borrow occurs here ------ immutable borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/vm.rs:63:25 [INFO] [stdout] | [INFO] [stdout] 38 | match &self.chunk.code[self.ip - 1].code { [INFO] [stdout] | --------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 63 | self.runtime_error(&format!("Undefined variable {}.", global)); [INFO] [stdout] | ^^^^ mutable borrow occurs here ------ immutable borrow later used here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0658`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "882347021f738855ecc499779b97e826ec13280aa17fbf6e7bad30f1ca726bc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "882347021f738855ecc499779b97e826ec13280aa17fbf6e7bad30f1ca726bc4", kill_on_drop: false }` [INFO] [stdout] 882347021f738855ecc499779b97e826ec13280aa17fbf6e7bad30f1ca726bc4