[INFO] fetching crate petalang 0.0.1... [INFO] testing petalang-0.0.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate petalang 0.0.1 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate petalang 0.0.1 [INFO] finished tweaking crates.io crate petalang 0.0.1 [INFO] tweaked toml for crates.io crate petalang 0.0.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate petalang 0.0.1 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate petalang 0.0.1 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9b8cd92768e1fbd7eb0dad717a675586d2ca83babe277b4de543ac6aa1e4b3cb [INFO] running `Command { std: "docker" "start" "-a" "9b8cd92768e1fbd7eb0dad717a675586d2ca83babe277b4de543ac6aa1e4b3cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b8cd92768e1fbd7eb0dad717a675586d2ca83babe277b4de543ac6aa1e4b3cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b8cd92768e1fbd7eb0dad717a675586d2ca83babe277b4de543ac6aa1e4b3cb", kill_on_drop: false }` [INFO] [stdout] 9b8cd92768e1fbd7eb0dad717a675586d2ca83babe277b4de543ac6aa1e4b3cb [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3797d7f470d5bbe1157680fcc103a1e4d76419f572c0fe7e4309b50682901889 [INFO] running `Command { std: "docker" "start" "-a" "3797d7f470d5bbe1157680fcc103a1e4d76419f572c0fe7e4309b50682901889", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling cc v1.0.100 [INFO] [stderr] Compiling gimli v0.29.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling anstyle-query v1.1.0 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling is_ci v1.2.0 [INFO] [stderr] Compiling object v0.36.0 [INFO] [stderr] Compiling clap_lex v0.7.1 [INFO] [stderr] Compiling smawk v0.3.2 [INFO] [stderr] Compiling supports-color v3.0.0 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling supports-hyperlinks v3.0.0 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling textwrap v0.16.1 [INFO] [stderr] Compiling owo-colors v4.0.0 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling supports-unicode v3.0.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling clap_builder v4.5.7 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Compiling backtrace v0.3.73 [INFO] [stderr] Compiling addr2line v0.22.0 [INFO] [stderr] Compiling terminal_size v0.3.0 [INFO] [stderr] Compiling fd-lock v4.0.2 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling clap_derive v4.5.5 [INFO] [stderr] Compiling rustyline-derive v0.10.0 [INFO] [stderr] Compiling miette-derive v7.2.0 [INFO] [stderr] Compiling rustyline v14.0.0 [INFO] [stderr] Compiling pest v2.7.10 [INFO] [stderr] Compiling backtrace-ext v0.2.1 [INFO] [stderr] Compiling miette v7.2.0 [INFO] [stderr] Compiling clap v4.5.7 [INFO] [stderr] Compiling pest_meta v2.7.10 [INFO] [stderr] Compiling pest_generator v2.7.10 [INFO] [stderr] Compiling pest_derive v2.7.10 [INFO] [stderr] Compiling petalang v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `arg` and `command` [INFO] [stdout] --> src/main.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use clap::{arg, command, Parser as CommandParser}; [INFO] [stdout] | ^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/main.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | fn main() -> miette::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromIterator<()>` will fail [INFO] [stdout] --> src/main.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | .try_collect()?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[deny(dependency_on_unit_never_type_fallback)]` (part of `#[deny(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 65 | .try_collect::<_, (), _>()?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ast/mod.rs:81:18 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn inner(&self) -> &Node { [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 81 | pub fn inner(&self) -> &Node<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/object.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, PartialEq, Clone)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 25 | fn(Vec>, Hydrator) -> Result, Error>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `petalang` (bin "pet") due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3797d7f470d5bbe1157680fcc103a1e4d76419f572c0fe7e4309b50682901889", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3797d7f470d5bbe1157680fcc103a1e4d76419f572c0fe7e4309b50682901889", kill_on_drop: false }` [INFO] [stdout] 3797d7f470d5bbe1157680fcc103a1e4d76419f572c0fe7e4309b50682901889