[INFO] cloning repository https://github.com/KubaJastrz/typesafe-remix-codemod [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KubaJastrz/typesafe-remix-codemod" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKubaJastrz%2Ftypesafe-remix-codemod", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKubaJastrz%2Ftypesafe-remix-codemod'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 24be8161d668a3fd8f735016a5911dd60b609db8 [INFO] checking KubaJastrz/typesafe-remix-codemod against try#59a256151e578f525a26127f2c3e3a6c7e2982ca for pr-149291-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKubaJastrz%2Ftypesafe-remix-codemod" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/KubaJastrz/typesafe-remix-codemod [INFO] finished tweaking git repo https://github.com/KubaJastrz/typesafe-remix-codemod [INFO] tweaked toml for git repo https://github.com/KubaJastrz/typesafe-remix-codemod written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/KubaJastrz/typesafe-remix-codemod on toolchain 59a256151e578f525a26127f2c3e3a6c7e2982ca [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+59a256151e578f525a26127f2c3e3a6c7e2982ca" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/KubaJastrz/typesafe-remix-codemod 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" "+59a256151e578f525a26127f2c3e3a6c7e2982ca" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded oxc_syntax v0.13.3 [INFO] [stderr] Downloaded oxc_ast_macros v0.13.3 [INFO] [stderr] Downloaded oxc_index v0.13.3 [INFO] [stderr] Downloaded oxc_semantic v0.13.3 [INFO] [stderr] Downloaded assert-unchecked v0.1.2 [INFO] [stderr] Downloaded unicode-id-start v1.1.2 [INFO] [stderr] Downloaded similar v2.5.0 [INFO] [stderr] Downloaded insta v1.39.0 [INFO] [stderr] Downloaded oxc_parser v0.13.3 [INFO] [stderr] Downloaded oxc_ast v0.13.3 [INFO] [stderr] Downloaded oxc_diagnostics v0.13.3 [INFO] [stderr] Downloaded oxc_span v0.13.3 [INFO] [stderr] Downloaded oxc_allocator v0.13.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+59a256151e578f525a26127f2c3e3a6c7e2982ca" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a86c455c76fc9d37b77482956f207252d243b5aa3e3c105aeaa8567ea52bfbbf [INFO] running `Command { std: "docker" "start" "-a" "a86c455c76fc9d37b77482956f207252d243b5aa3e3c105aeaa8567ea52bfbbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a86c455c76fc9d37b77482956f207252d243b5aa3e3c105aeaa8567ea52bfbbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a86c455c76fc9d37b77482956f207252d243b5aa3e3c105aeaa8567ea52bfbbf", kill_on_drop: false }` [INFO] [stdout] a86c455c76fc9d37b77482956f207252d243b5aa3e3c105aeaa8567ea52bfbbf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+59a256151e578f525a26127f2c3e3a6c7e2982ca" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6147a9139d006ab3606c443a1bba803e83c1b09af488881c78acaa5625387f48 [INFO] running `Command { std: "docker" "start" "-a" "6147a9139d006ab3606c443a1bba803e83c1b09af488881c78acaa5625387f48", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Checking owo-colors v4.0.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking compact_str v0.7.1 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking unicode-id-start v1.1.2 [INFO] [stderr] Checking oxc_index v0.13.3 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling oxc_ast_macros v0.13.3 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking assert-unchecked v0.1.2 [INFO] [stderr] Compiling seq-macro v0.3.5 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking similar v2.5.0 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking indent v0.1.1 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking oxc_allocator v0.13.3 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking insta v1.39.0 [INFO] [stderr] Checking num-bigint v0.4.5 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Checking spinners v4.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling miette-derive v7.2.0 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking miette v7.2.0 [INFO] [stderr] Checking oxc_span v0.13.3 [INFO] [stderr] Checking oxc_diagnostics v0.13.3 [INFO] [stderr] Checking oxc_syntax v0.13.3 [INFO] [stderr] Checking oxc_ast v0.13.3 [INFO] [stderr] Checking oxc_parser v0.13.3 [INFO] [stderr] Checking oxc_semantic v0.13.3 [INFO] [stderr] Checking codemod v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `fixed` and `fixes` are never read [INFO] [stdout] --> src/fixer.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct FixResult<'a> { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 50 | pub fixed: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 51 | pub fixed_code: Cow<'a, str>, [INFO] [stdout] 52 | pub fixes: Vec>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/codemod.rs:480:60 [INFO] [stdout] | [INFO] [stdout] 480 | fn rename_exports<'a>(old_name: Option<&'a str>) -> Option<&str> { [INFO] [stdout] | -- ^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 480 | fn rename_exports<'a>(old_name: Option<&'a str>) -> Option<&'a str> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `fixed` and `fixes` are never read [INFO] [stdout] --> src/fixer.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct FixResult<'a> { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 50 | pub fixed: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 51 | pub fixed_code: Cow<'a, str>, [INFO] [stdout] 52 | pub fixes: Vec>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/codemod.rs:480:60 [INFO] [stdout] | [INFO] [stdout] 480 | fn rename_exports<'a>(old_name: Option<&'a str>) -> Option<&str> { [INFO] [stdout] | -- ^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 480 | fn rename_exports<'a>(old_name: Option<&'a str>) -> Option<&'a str> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.23s [INFO] running `Command { std: "docker" "inspect" "6147a9139d006ab3606c443a1bba803e83c1b09af488881c78acaa5625387f48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6147a9139d006ab3606c443a1bba803e83c1b09af488881c78acaa5625387f48", kill_on_drop: false }` [INFO] [stdout] 6147a9139d006ab3606c443a1bba803e83c1b09af488881c78acaa5625387f48