[INFO] cloning repository https://github.com/maciejhirsz/logos [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/maciejhirsz/logos" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaciejhirsz%2Flogos", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaciejhirsz%2Flogos'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 291a6249c0f97e3fd9f31c4a515c5d950d29b216 [INFO] checking maciejhirsz/logos against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaciejhirsz%2Flogos" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/maciejhirsz/logos 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] started tweaking git repo https://github.com/maciejhirsz/logos [INFO] finished tweaking git repo https://github.com/maciejhirsz/logos [INFO] tweaked toml for git repo https://github.com/maciejhirsz/logos written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Updating crates.io index [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] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 3b2604126673fcf3dabe7a30e34e900437ec212331424488872915d1408ad8e7 [INFO] running `Command { std: "docker" "start" "-a" "3b2604126673fcf3dabe7a30e34e900437ec212331424488872915d1408ad8e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3b2604126673fcf3dabe7a30e34e900437ec212331424488872915d1408ad8e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b2604126673fcf3dabe7a30e34e900437ec212331424488872915d1408ad8e7", kill_on_drop: false }` [INFO] [stdout] 3b2604126673fcf3dabe7a30e34e900437ec212331424488872915d1408ad8e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 23715e169a9b82fec4c93fb466d01a35bbf09fb2533056f4b1d50a031379e180 [INFO] running `Command { std: "docker" "start" "-a" "23715e169a9b82fec4c93fb466d01a35bbf09fb2533056f4b1d50a031379e180", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking memchr v2.6.3 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Checking regex-syntax v0.7.5 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking os_str_bytes v6.5.1 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking termcolor v1.3.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking textwrap v0.16.0 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking ciborium-io v0.2.1 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking aho-corasick v1.1.0 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Checking predicates-core v1.0.6 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking ciborium-ll v0.2.1 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling rustix v0.38.13 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking linux-raw-sys v0.4.7 [INFO] [stderr] Checking anstyle v1.0.3 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Checking predicates-tree v1.0.9 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking fastrand v2.0.0 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking fs-err v2.9.0 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking regex-automata v0.3.8 [INFO] [stderr] Checking pretty_assertions v0.6.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking predicates v3.0.4 [INFO] [stderr] Checking rayon v1.7.0 [INFO] [stderr] Checking tempfile v3.8.0 [INFO] [stderr] Checking logos-codegen v0.13.0 (/opt/rustwide/workdir/logos-codegen) [INFO] [stderr] Checking regex v1.9.5 [INFO] [stderr] Checking bstr v1.6.2 [INFO] [stderr] Checking logos-derive v0.13.0 (/opt/rustwide/workdir/logos-derive) [INFO] [stderr] Checking predicates v2.1.5 [INFO] [stderr] Checking globset v0.4.13 [INFO] [stderr] Checking assert_cmd v2.0.12 [INFO] [stderr] Compiling clap_derive v3.2.25 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Checking ignore v0.4.20 [INFO] [stderr] Checking globwalk v0.8.1 [INFO] [stderr] Checking assert_fs v1.0.13 [INFO] [stderr] Checking logos v0.13.0 (/opt/rustwide/workdir/logos) [INFO] [stderr] Checking tests v0.0.0 (/opt/rustwide/workdir/tests) [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking logos-cli v0.13.0 (/opt/rustwide/workdir/logos-cli) [INFO] [stderr] Checking ciborium v0.2.1 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.4.0 [INFO] [stdout] error[E0499]: cannot borrow `*lex` as mutable more than once at a time [INFO] [stdout] --> tests/tests/custom_error.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Logos, Debug, Clone, Copy, PartialEq)] [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 `tests` (test "custom_error") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0499]: cannot borrow `*lex` as mutable more than once at a time [INFO] [stdout] --> tests/tests/callbacks.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Logos, Debug, PartialEq)] [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] --> tests/tests/callbacks.rs:64:14 [INFO] [stdout] | [INFO] [stdout] 64 | #[derive(Logos, Debug, PartialEq)] [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] --> tests/tests/custom_error.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Logos, Debug, Clone, Copy, PartialEq)] [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] --> tests/tests/callbacks.rs:146:14 [INFO] [stdout] | [INFO] [stdout] 146 | #[derive(Logos, Debug, PartialEq)] [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] --> tests/tests/simple.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Logos, Debug, Clone, Copy, PartialEq)] [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 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tests` (test "callbacks") due to 4 previous errors [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 `tests` (test "properties") due to 2 previous errors [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 `tests` (test "simple") due to 2 previous errors [INFO] [stdout] error[E0499]: cannot borrow `*lex` as mutable more than once at a time [INFO] [stdout] --> tests/tests/edgecase.rs:339:14 [INFO] [stdout] | [INFO] [stdout] 339 | #[derive(Logos, Debug, PartialEq)] [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 `tests` (test "edgecase") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "23715e169a9b82fec4c93fb466d01a35bbf09fb2533056f4b1d50a031379e180", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23715e169a9b82fec4c93fb466d01a35bbf09fb2533056f4b1d50a031379e180", kill_on_drop: false }` [INFO] [stdout] 23715e169a9b82fec4c93fb466d01a35bbf09fb2533056f4b1d50a031379e180