[INFO] cloning repository https://github.com/PhotonQuantum/opam-file-format-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PhotonQuantum/opam-file-format-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPhotonQuantum%2Fopam-file-format-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPhotonQuantum%2Fopam-file-format-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d7423d42b33084307a18291d68bb1146cc883d6d [INFO] checking PhotonQuantum/opam-file-format-rs against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPhotonQuantum%2Fopam-file-format-rs" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PhotonQuantum/opam-file-format-rs 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/PhotonQuantum/opam-file-format-rs [INFO] finished tweaking git repo https://github.com/PhotonQuantum/opam-file-format-rs [INFO] tweaked toml for git repo https://github.com/PhotonQuantum/opam-file-format-rs written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/PhotonQuantum/opam-file-format-rs 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 042e9772bf7e1bde985b9bbee5fd6a980db726b19c82b3a3a3037a7a7d8636fd [INFO] running `Command { std: "docker" "start" "-a" "042e9772bf7e1bde985b9bbee5fd6a980db726b19c82b3a3a3037a7a7d8636fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "042e9772bf7e1bde985b9bbee5fd6a980db726b19c82b3a3a3037a7a7d8636fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "042e9772bf7e1bde985b9bbee5fd6a980db726b19c82b3a3a3037a7a7d8636fd", kill_on_drop: false }` [INFO] [stdout] 042e9772bf7e1bde985b9bbee5fd6a980db726b19c82b3a3a3037a7a7d8636fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 6882fdaa363433a11c40b198b1cbf9bb5098ceeb40b3a0c907f5adc0a19f4c03 [INFO] running `Command { std: "docker" "start" "-a" "6882fdaa363433a11c40b198b1cbf9bb5098ceeb40b3a0c907f5adc0a19f4c03", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling bit-vec v0.4.4 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling beef v0.4.4 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling vec_map v0.6.0 [INFO] [stderr] Compiling regex-syntax v0.6.20 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling bit-set v0.4.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling redfa v0.0.2 [INFO] [stderr] Compiling lalr v0.0.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking partial_application v0.2.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking unidecode v0.3.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking aho-corasick v0.7.14 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking slugify v0.1.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking regex v1.4.1 [INFO] [stderr] Compiling logos-derive v0.11.5 [INFO] [stderr] Compiling plex v0.2.5 [INFO] [stderr] Checking logos v0.11.4 [INFO] [stderr] Checking opam_file_format v0.1.0 (/opt/rustwide/workdir/opam_file_format) [INFO] [stdout] error[E0499]: cannot borrow `*lex` as mutable more than once at a time [INFO] [stdout] --> opam_file_format/src/lexer.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[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] --> opam_file_format/src/lexer.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[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] --> opam_file_format/src/lexer.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | #[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] 34 | enum_string_token!(StringToken, "\""); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Logos` which comes from the expansion of the macro `enum_string_token` (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] --> opam_file_format/src/lexer.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | #[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] 35 | enum_string_token!(StringTripleToken, "\"\"\""); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Logos` which comes from the expansion of the macro `enum_string_token` (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] --> opam_file_format/src/lexer.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | #[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] 34 | enum_string_token!(StringToken, "\""); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Logos` which comes from the expansion of the macro `enum_string_token` (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] --> opam_file_format/src/lexer.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | #[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] 35 | enum_string_token!(StringTripleToken, "\"\"\""); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Logos` which comes from the expansion of the macro `enum_string_token` (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] --> opam_file_format/src/lexer.rs:317:10 [INFO] [stdout] | [INFO] [stdout] 317 | #[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] --> opam_file_format/src/lexer.rs:317:10 [INFO] [stdout] | [INFO] [stdout] 317 | #[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 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 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 `opam_file_format` (lib test) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `opam_file_format` (lib) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "6882fdaa363433a11c40b198b1cbf9bb5098ceeb40b3a0c907f5adc0a19f4c03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6882fdaa363433a11c40b198b1cbf9bb5098ceeb40b3a0c907f5adc0a19f4c03", kill_on_drop: false }` [INFO] [stdout] 6882fdaa363433a11c40b198b1cbf9bb5098ceeb40b3a0c907f5adc0a19f4c03