[INFO] fetching crate galvan-transpiler 0.0.3... [INFO] testing galvan-transpiler-0.0.3 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate galvan-transpiler 0.0.3 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate galvan-transpiler 0.0.3 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate galvan-transpiler 0.0.3 [INFO] tweaked toml for crates.io crate galvan-transpiler 0.0.3 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate galvan-transpiler 0.0.3 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate galvan-transpiler 0.0.3 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded galvan-into-ast v0.0.3 [INFO] [stderr] Downloaded galvan-parse v0.0.3 [INFO] [stderr] Downloaded galvan-files v0.0.3 [INFO] [stderr] Downloaded typeunion v0.1.0 [INFO] [stderr] Downloaded galvan-ast v0.0.3 [INFO] [stderr] Downloaded galvan-ast-macro v0.0.3 [INFO] [stderr] Downloaded galvan-resolver v0.0.3 [INFO] [stderr] Downloaded galvan-test-macro v0.0.3 [INFO] [stderr] Downloaded tree-sitter-galvan v0.0.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8de663529ec9a67eb5385a53345ee5bfab4d0c7b7dcaa8bcafbc06cea7b1382a [INFO] running `Command { std: "docker" "start" "-a" "8de663529ec9a67eb5385a53345ee5bfab4d0c7b7dcaa8bcafbc06cea7b1382a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8de663529ec9a67eb5385a53345ee5bfab4d0c7b7dcaa8bcafbc06cea7b1382a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8de663529ec9a67eb5385a53345ee5bfab4d0c7b7dcaa8bcafbc06cea7b1382a", kill_on_drop: false }` [INFO] [stdout] 8de663529ec9a67eb5385a53345ee5bfab4d0c7b7dcaa8bcafbc06cea7b1382a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 947dec68025c08ce39a674e1f9b9622314774a7a80d093b3c83fc5c47f2814fd [INFO] running `Command { std: "docker" "start" "-a" "947dec68025c08ce39a674e1f9b9622314774a7a80d093b3c83fc5c47f2814fd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.83 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling streaming-iterator v0.1.9 [INFO] [stderr] Compiling cc v1.2.32 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling tree-sitter-galvan v0.0.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling galvan-ast-macro v0.0.3 [INFO] [stderr] Compiling typeunion v0.1.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling galvan-files v0.0.3 [INFO] [stderr] Compiling tree-sitter v0.25.8 [INFO] [stderr] Compiling galvan-ast v0.0.3 [INFO] [stderr] Compiling galvan-resolver v0.0.3 [INFO] [stderr] Compiling galvan-parse v0.0.3 [INFO] [stderr] Compiling galvan-into-ast v0.0.3 [INFO] [stderr] Compiling galvan-transpiler v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mapping.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) fn get_owned(&self, type_id: &TypeIdent) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 11 | pub(crate) fn get_owned(&self, type_id: &TypeIdent) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mapping.rs:19:32 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) fn get_borrowed(&self, type_id: &TypeIdent) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) fn get_borrowed(&self, type_id: &TypeIdent) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mapping.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | pub(crate) fn get_mut_borrowed(&self, type_id: &TypeIdent) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 27 | pub(crate) fn get_mut_borrowed(&self, type_id: &TypeIdent) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sanitize.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) fn sanitize_name(name: &str) -> Cow { [INFO] [stdout] | ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) fn sanitize_name(name: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.69s [INFO] running `Command { std: "docker" "inspect" "947dec68025c08ce39a674e1f9b9622314774a7a80d093b3c83fc5c47f2814fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "947dec68025c08ce39a674e1f9b9622314774a7a80d093b3c83fc5c47f2814fd", kill_on_drop: false }` [INFO] [stdout] 947dec68025c08ce39a674e1f9b9622314774a7a80d093b3c83fc5c47f2814fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2fdfe86eb717e0204161ff4a1794634d3011880872c3ad0ea5ac4c9d4b04c1cf [INFO] running `Command { std: "docker" "start" "-a" "2fdfe86eb717e0204161ff4a1794634d3011880872c3ad0ea5ac4c9d4b04c1cf", kill_on_drop: false }` [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mapping.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) fn get_owned(&self, type_id: &TypeIdent) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 11 | pub(crate) fn get_owned(&self, type_id: &TypeIdent) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mapping.rs:19:32 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) fn get_borrowed(&self, type_id: &TypeIdent) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) fn get_borrowed(&self, type_id: &TypeIdent) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mapping.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | pub(crate) fn get_mut_borrowed(&self, type_id: &TypeIdent) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 27 | pub(crate) fn get_mut_borrowed(&self, type_id: &TypeIdent) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sanitize.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) fn sanitize_name(name: &str) -> Cow { [INFO] [stdout] | ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) fn sanitize_name(name: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling galvan-test-macro v0.0.3 [INFO] [stderr] Compiling galvan-transpiler v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> tests/test_transpilation.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / generate_code_tests!(test_transpilation, TRANSPILE, trim_all { [INFO] [stdout] 58 | | let source = Source::from_string(code); [INFO] [stdout] 59 | | let transpilation = transpile(vec![source]).unwrap(); [INFO] [stdout] 60 | | merge_outputs(transpilation) [INFO] [stdout] 61 | | }); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = help: message: entry to exist: Error { depth: 0, inner: Io { path: Some("example-code"), err: Os { code: 2, kind: NotFound, message: "No such file or directory" } } } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `test_utils::*` [INFO] [stdout] --> tests/test_transpilation.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | use test_utils::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `galvan-transpiler` (test "test_transpilation") due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mapping.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) fn get_owned(&self, type_id: &TypeIdent) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 11 | pub(crate) fn get_owned(&self, type_id: &TypeIdent) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mapping.rs:19:32 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) fn get_borrowed(&self, type_id: &TypeIdent) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) fn get_borrowed(&self, type_id: &TypeIdent) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mapping.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | pub(crate) fn get_mut_borrowed(&self, type_id: &TypeIdent) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 27 | pub(crate) fn get_mut_borrowed(&self, type_id: &TypeIdent) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sanitize.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) fn sanitize_name(name: &str) -> Cow { [INFO] [stdout] | ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) fn sanitize_name(name: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2fdfe86eb717e0204161ff4a1794634d3011880872c3ad0ea5ac4c9d4b04c1cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fdfe86eb717e0204161ff4a1794634d3011880872c3ad0ea5ac4c9d4b04c1cf", kill_on_drop: false }` [INFO] [stdout] 2fdfe86eb717e0204161ff4a1794634d3011880872c3ad0ea5ac4c9d4b04c1cf