[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#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffangerm%2Fcloxrs" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fangerm/cloxrs on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "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-4/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded plain_enum v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f7c839e79dc086dfbac303cd3a47d11d79eed9364a23b694c81d5414525308aa [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" "f7c839e79dc086dfbac303cd3a47d11d79eed9364a23b694c81d5414525308aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f7c839e79dc086dfbac303cd3a47d11d79eed9364a23b694c81d5414525308aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7c839e79dc086dfbac303cd3a47d11d79eed9364a23b694c81d5414525308aa", kill_on_drop: false }` [INFO] [stdout] f7c839e79dc086dfbac303cd3a47d11d79eed9364a23b694c81d5414525308aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--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] 6205d95d332ba98cb52f0d3c4cf36a0f08a398a04d74da86772fb7794df9d221 [INFO] running `Command { std: "docker" "start" "-a" "6205d95d332ba98cb52f0d3c4cf36a0f08a398a04d74da86772fb7794df9d221", 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] 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] 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: 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" "6205d95d332ba98cb52f0d3c4cf36a0f08a398a04d74da86772fb7794df9d221", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6205d95d332ba98cb52f0d3c4cf36a0f08a398a04d74da86772fb7794df9d221", kill_on_drop: false }` [INFO] [stdout] 6205d95d332ba98cb52f0d3c4cf36a0f08a398a04d74da86772fb7794df9d221