[INFO] cloning repository https://github.com/axelf4/fun-lang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/axelf4/fun-lang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faxelf4%2Ffun-lang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faxelf4%2Ffun-lang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 25d2235501d55df0b33b8147ec1d3c810f2649cf [INFO] checking axelf4/fun-lang against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faxelf4%2Ffun-lang" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/axelf4/fun-lang on toolchain 23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/axelf4/fun-lang [INFO] finished tweaking git repo https://github.com/axelf4/fun-lang [INFO] tweaked toml for git repo https://github.com/axelf4/fun-lang written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/axelf4/fun-lang already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6103a6f202592f41f6f4cd7d16aab7709f363d758bb2931f3eb2b5d36b7b7693 [INFO] running `Command { std: "docker" "start" "-a" "6103a6f202592f41f6f4cd7d16aab7709f363d758bb2931f3eb2b5d36b7b7693", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6103a6f202592f41f6f4cd7d16aab7709f363d758bb2931f3eb2b5d36b7b7693", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6103a6f202592f41f6f4cd7d16aab7709f363d758bb2931f3eb2b5d36b7b7693", kill_on_drop: false }` [INFO] [stdout] 6103a6f202592f41f6f4cd7d16aab7709f363d758bb2931f3eb2b5d36b7b7693 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f0c7041c2acfcc8fe5c00db3434de2e84064f5ae80576385d51753d98fb7ec6 [INFO] running `Command { std: "docker" "start" "-a" "7f0c7041c2acfcc8fe5c00db3434de2e84064f5ae80576385d51753d98fb7ec6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling lock_api v0.4.8 [INFO] [stderr] Checking once_cell v1.13.1 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling crossbeam-epoch v0.9.10 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling siphasher v0.3.7 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling fixedbitset v0.4.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.6 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling eyre v0.6.8 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling pico-args v0.4.2 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Checking crossbeam-channel v0.5.6 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking crossbeam-deque v0.8.2 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling petgraph v0.6.0 [INFO] [stderr] Compiling beef v0.5.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking retain_mut v0.1.5 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking bytemuck v1.7.3 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Checking crossbeam v0.8.2 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling string_cache v0.8.2 [INFO] [stderr] Checking roaring v0.8.1 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking arc-swap v1.5.1 [INFO] [stderr] Checking self_cell v0.10.2 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking lalrpop-util v0.19.8 [INFO] [stderr] Checking dashmap v5.3.4 [INFO] [stderr] Checking hashlink v0.8.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Checking glr v0.1.0 [INFO] [stderr] Compiling lalrpop v0.19.8 [INFO] [stderr] Compiling salsa-2022-macros v0.1.0 (https://github.com/salsa-rs/salsa#e99e45d3) [INFO] [stderr] Compiling logos-derive v0.12.0 [INFO] [stderr] Checking logos v0.12.0 [INFO] [stderr] Checking salsa-2022 v0.1.0 (https://github.com/salsa-rs/salsa#e99e45d3) [INFO] [stderr] Compiling fun-lang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0499]: cannot borrow `*lex` as mutable more than once at a time [INFO] [stdout] --> src/lexer.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Logos, Clone, Copy, PartialEq, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `*lex` was mutably borrowed here in the previous iteration of the loop [INFO] [stdout] | first borrow later used by call [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*lex` as mutable more than once at a time [INFO] [stdout] --> src/lexer.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Logos, Clone, Copy, PartialEq, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `*lex` was mutably borrowed here in the previous iteration of the loop [INFO] [stdout] | first borrow later used by call [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fun-lang` (bin "fun-lang") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fun-lang` (bin "fun-lang" test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "7f0c7041c2acfcc8fe5c00db3434de2e84064f5ae80576385d51753d98fb7ec6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f0c7041c2acfcc8fe5c00db3434de2e84064f5ae80576385d51753d98fb7ec6", kill_on_drop: false }` [INFO] [stdout] 7f0c7041c2acfcc8fe5c00db3434de2e84064f5ae80576385d51753d98fb7ec6