[INFO] cloning repository https://github.com/Xavier-Maruff/polaris [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Xavier-Maruff/polaris" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXavier-Maruff%2Fpolaris", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXavier-Maruff%2Fpolaris'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0b2cb75a441f7f459c2ad1a4cab5bd3f7daaa881 [INFO] checking Xavier-Maruff/polaris against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXavier-Maruff%2Fpolaris" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Xavier-Maruff/polaris [INFO] finished tweaking git repo https://github.com/Xavier-Maruff/polaris [INFO] tweaked toml for git repo https://github.com/Xavier-Maruff/polaris written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Xavier-Maruff/polaris on toolchain a5689b034ad287112f709693384a37f1377eb9cc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Xavier-Maruff/polaris 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" "+a5689b034ad287112f709693384a37f1377eb9cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 06a88b7509fd470238fcebb1db1df6f088abb3072270baed87b4ed9ebb9e3b38 [INFO] running `Command { std: "docker" "start" "06a88b7509fd470238fcebb1db1df6f088abb3072270baed87b4ed9ebb9e3b38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "06a88b7509fd470238fcebb1db1df6f088abb3072270baed87b4ed9ebb9e3b38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "06a88b7509fd470238fcebb1db1df6f088abb3072270baed87b4ed9ebb9e3b38" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "06a88b7509fd470238fcebb1db1df6f088abb3072270baed87b4ed9ebb9e3b38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "06a88b7509fd470238fcebb1db1df6f088abb3072270baed87b4ed9ebb9e3b38" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling lexpr-macros v0.2.2 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Compiling virtue v0.0.18 [INFO] [stderr] Checking fixedbitset v0.5.7 [INFO] [stderr] Checking unty v0.0.4 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Checking edit-distance v2.1.3 [INFO] [stderr] Checking winnow v0.7.13 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking clap_builder v4.5.42 [INFO] [stderr] Checking unicode-width v0.2.1 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking toml_writer v1.0.2 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking codespan-reporting v0.12.0 [INFO] [stderr] Checking lexpr v0.2.7 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling bincode_derive v2.0.1 [INFO] [stderr] Checking petgraph v0.8.2 [INFO] [stderr] Checking bincode v2.0.1 [INFO] [stderr] Checking toml_parser v1.0.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking clap v4.5.42 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking serde-lexpr v0.1.3 [INFO] [stderr] Checking serde_spanned v1.0.0 [INFO] [stderr] Checking toml_datetime v0.7.0 [INFO] [stderr] Checking toml v0.9.5 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking polaris-core v0.1.0 (/opt/rustwide/workdir/polaris-core) [INFO] [stdout] warning: unused import: `ExprKind::*` [INFO] [stdout] --> polaris-core/src/lowering_pmir.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | use ExprKind::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ExprKind::*` [INFO] [stdout] --> polaris-core/src/lowering_pmir.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | use ExprKind::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> polaris-core/src/lowering_pmir.rs:50:25 [INFO] [stdout] | [INFO] [stdout] 50 | ConstDecl { expr, .. } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `expr: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> polaris-core/src/lowering_pmir.rs:50:25 [INFO] [stdout] | [INFO] [stdout] 50 | ConstDecl { expr, .. } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `expr: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `String` [INFO] [stdout] --> polaris-core/src/types.rs:629:29 [INFO] [stdout] | [INFO] [stdout] 629 | / ... format!( [INFO] [stdout] 630 | | ... "Annotated type {} does not match inferred type {}", [INFO] [stdout] 631 | | ... declared_type.render(self), [INFO] [stdout] 632 | | ... t1.render(self), [INFO] [stdout] 633 | | ... ) [INFO] [stdout] 634 | | ... .into(), [INFO] [stdout] | |_____________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `String` [INFO] [stdout] --> polaris-core/src/types.rs:702:33 [INFO] [stdout] | [INFO] [stdout] 702 | / ... format!( [INFO] [stdout] 703 | | ... "Annotated return type '{}' does not match inferred type '{}'", [INFO] [stdout] 704 | | ... declared_ret_type.render(self), [INFO] [stdout] 705 | | ... body_type.render(self), [INFO] [stdout] 706 | | ... ) [INFO] [stdout] 707 | | ... .into(), [INFO] [stdout] | |_____________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `String` [INFO] [stdout] --> polaris-core/src/types.rs:1602:29 [INFO] [stdout] | [INFO] [stdout] 1602 | / ... format!( [INFO] [stdout] 1603 | | ... "Let binding type annotation '{}' does not match inferred type '{}'", [INFO] [stdout] 1604 | | ... expected_type.render(self), [INFO] [stdout] 1605 | | ... t1.render(self) [INFO] [stdout] 1606 | | ... ) [INFO] [stdout] 1607 | | ... .into(), [INFO] [stdout] | |_____________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `polaris-core` (lib) due to 3 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: useless conversion to the same type: `String` [INFO] [stdout] --> polaris-core/src/types.rs:629:29 [INFO] [stdout] | [INFO] [stdout] 629 | / ... format!( [INFO] [stdout] 630 | | ... "Annotated type {} does not match inferred type {}", [INFO] [stdout] 631 | | ... declared_type.render(self), [INFO] [stdout] 632 | | ... t1.render(self), [INFO] [stdout] 633 | | ... ) [INFO] [stdout] 634 | | ... .into(), [INFO] [stdout] | |_____________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `String` [INFO] [stdout] --> polaris-core/src/types.rs:702:33 [INFO] [stdout] | [INFO] [stdout] 702 | / ... format!( [INFO] [stdout] 703 | | ... "Annotated return type '{}' does not match inferred type '{}'", [INFO] [stdout] 704 | | ... declared_ret_type.render(self), [INFO] [stdout] 705 | | ... body_type.render(self), [INFO] [stdout] 706 | | ... ) [INFO] [stdout] 707 | | ... .into(), [INFO] [stdout] | |_____________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `String` [INFO] [stdout] --> polaris-core/src/types.rs:1602:29 [INFO] [stdout] | [INFO] [stdout] 1602 | / ... format!( [INFO] [stdout] 1603 | | ... "Let binding type annotation '{}' does not match inferred type '{}'", [INFO] [stdout] 1604 | | ... expected_type.render(self), [INFO] [stdout] 1605 | | ... t1.render(self) [INFO] [stdout] 1606 | | ... ) [INFO] [stdout] 1607 | | ... .into(), [INFO] [stdout] | |_____________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `polaris-core` (lib test) due to 3 previous errors; 2 warnings emitted [INFO] [stderr] warning: unused dependency `edit-distance` [INFO] [stderr] --> polaris-core/Cargo.toml:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | edit-distance = "2.1.3" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `edit-distance` [INFO] [stderr] warning: unused dependency `futures` [INFO] [stderr] --> polaris-core/Cargo.toml:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | futures = "0.3.31" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `futures` [INFO] [stderr] warning: unused dependency `serde-lexpr` [INFO] [stderr] --> polaris-core/Cargo.toml:15:1 [INFO] [stderr] | [INFO] [stderr] 15 | serde-lexpr = "0.1.3" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `serde-lexpr` [INFO] [stderr] warning: unused dependency `tokio` [INFO] [stderr] --> polaris-core/Cargo.toml:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | tokio = { version = "1.47.1", features = ["rt", "macros", "rt-multi-thread", "sync"] } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `tokio` [INFO] [stderr] warning: `polaris-core` (manifest) generated 4 warnings [INFO] running `Command { std: "docker" "inspect" "06a88b7509fd470238fcebb1db1df6f088abb3072270baed87b4ed9ebb9e3b38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06a88b7509fd470238fcebb1db1df6f088abb3072270baed87b4ed9ebb9e3b38", kill_on_drop: false }` [INFO] [stdout] 06a88b7509fd470238fcebb1db1df6f088abb3072270baed87b4ed9ebb9e3b38