[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 master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffangerm%2Fcloxrs" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fangerm/cloxrs on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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-2/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 063aa0a4b058bc8ccd917ece9b116e50150d49c01e6bb1e30506b8c1774ded3f [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" "063aa0a4b058bc8ccd917ece9b116e50150d49c01e6bb1e30506b8c1774ded3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "063aa0a4b058bc8ccd917ece9b116e50150d49c01e6bb1e30506b8c1774ded3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "063aa0a4b058bc8ccd917ece9b116e50150d49c01e6bb1e30506b8c1774ded3f", kill_on_drop: false }` [INFO] [stdout] 063aa0a4b058bc8ccd917ece9b116e50150d49c01e6bb1e30506b8c1774ded3f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 59d3285a8e2da5069fa96700ef586975722df2993453bdb6f72590e7a32afbfa [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" "59d3285a8e2da5069fa96700ef586975722df2993453bdb6f72590e7a32afbfa", 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]: 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: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: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]: 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: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]: 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] 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] 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] [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "59d3285a8e2da5069fa96700ef586975722df2993453bdb6f72590e7a32afbfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59d3285a8e2da5069fa96700ef586975722df2993453bdb6f72590e7a32afbfa", kill_on_drop: false }` [INFO] [stdout] 59d3285a8e2da5069fa96700ef586975722df2993453bdb6f72590e7a32afbfa