[INFO] cloning repository https://github.com/antmicro/trace2power [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/antmicro/trace2power" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fantmicro%2Ftrace2power", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fantmicro%2Ftrace2power'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9c2dc7859c9d9ac716f59eb586ce2bc8ee20d6f9 [INFO] checking antmicro/trace2power against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fantmicro%2Ftrace2power" "/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/antmicro/trace2power [INFO] finished tweaking git repo https://github.com/antmicro/trace2power [INFO] tweaked toml for git repo https://github.com/antmicro/trace2power written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/antmicro/trace2power 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/antmicro/trace2power 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-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 6aef82c0624ddf47655bd9559c2f9b30e440d789089be126d1e87dad11366097 [INFO] running `Command { std: "docker" "start" "6aef82c0624ddf47655bd9559c2f9b30e440d789089be126d1e87dad11366097", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6aef82c0624ddf47655bd9559c2f9b30e440d789089be126d1e87dad11366097", 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" "6aef82c0624ddf47655bd9559c2f9b30e440d789089be126d1e87dad11366097" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6aef82c0624ddf47655bd9559c2f9b30e440d789089be126d1e87dad11366097", 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" "6aef82c0624ddf47655bd9559c2f9b30e440d789089be126d1e87dad11366097" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling winnow v0.6.25 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking twox-hash v2.1.2 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Checking lz4_flex v0.12.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking miniz_oxide v0.9.0 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking ryu v1.0.19 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking clap_builder v4.5.27 [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking bitflags v2.8.0 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Checking linux-raw-sys v0.11.0 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Checking chrono v0.4.39 [INFO] [stderr] Checking memmap2 v0.9.10 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Checking tempfile v3.24.0 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling num_enum_derive v0.7.5 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling clap_derive v4.5.24 [INFO] [stderr] Checking num_enum v0.7.5 [INFO] [stderr] Checking thiserror v2.0.18 [INFO] [stderr] Checking fst-reader v0.14.3 [INFO] [stderr] Checking clap v4.5.27 [INFO] [stderr] Checking wellen v0.20.2 [INFO] [stderr] Checking trace2power v0.4.4 (/opt/rustwide/workdir) [INFO] [stdout] error: useless conversion to the same type: `&Hierarchy` [INFO] [stdout] --> src/lib.rs:228:60 [INFO] [stdout] | [INFO] [stdout] 228 | let fname = indexed_name(var.full_name(wave_hierarchy.into()), var); [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] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 228 - let fname = indexed_name(var.full_name(wave_hierarchy.into()), var); [INFO] [stdout] 228 + let fname = indexed_name(var.full_name(wave_hierarchy), var); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 228 - let fname = indexed_name(var.full_name(wave_hierarchy.into()), var); [INFO] [stdout] 228 + let fname = indexed_name(var.full_name(<&Hierarchy as Into<_>>::into(wave_hierarchy)), var); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&Hierarchy` [INFO] [stdout] --> src/lib.rs:239:55 [INFO] [stdout] | [INFO] [stdout] 239 | .map(|var| indexed_name(var.full_name(wave_hierarchy.into()), var)) [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] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 239 - .map(|var| indexed_name(var.full_name(wave_hierarchy.into()), var)) [INFO] [stdout] 239 + .map(|var| indexed_name(var.full_name(wave_hierarchy), var)) [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 239 - .map(|var| indexed_name(var.full_name(wave_hierarchy.into()), var)) [INFO] [stdout] 239 + .map(|var| indexed_name(var.full_name(<&Hierarchy as Into<_>>::into(wave_hierarchy)), var)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&Hierarchy` [INFO] [stdout] --> src/lib.rs:245:60 [INFO] [stdout] | [INFO] [stdout] 245 | let fname = indexed_name(var.full_name(wave_hierarchy.into()), var); [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] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 245 - let fname = indexed_name(var.full_name(wave_hierarchy.into()), var); [INFO] [stdout] 245 + let fname = indexed_name(var.full_name(wave_hierarchy), var); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 245 - let fname = indexed_name(var.full_name(wave_hierarchy.into()), var); [INFO] [stdout] 245 + let fname = indexed_name(var.full_name(<&Hierarchy as Into<_>>::into(wave_hierarchy)), var); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&Hierarchy` [INFO] [stdout] --> src/lib.rs:248:55 [INFO] [stdout] | [INFO] [stdout] 248 | .map(|var| indexed_name(var.full_name(wave_hierarchy.into()), &var)) [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] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 248 - .map(|var| indexed_name(var.full_name(wave_hierarchy.into()), &var)) [INFO] [stdout] 248 + .map(|var| indexed_name(var.full_name(wave_hierarchy), &var)) [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 248 - .map(|var| indexed_name(var.full_name(wave_hierarchy.into()), &var)) [INFO] [stdout] 248 + .map(|var| indexed_name(var.full_name(<&Hierarchy as Into<_>>::into(wave_hierarchy)), &var)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&Hierarchy` [INFO] [stdout] --> src/lib.rs:291:58 [INFO] [stdout] | [INFO] [stdout] 291 | wave.hierarchy()[*var_ref].full_name(wave.hierarchy().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] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 291 - wave.hierarchy()[*var_ref].full_name(wave.hierarchy().into()), [INFO] [stdout] 291 + wave.hierarchy()[*var_ref].full_name(wave.hierarchy()), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 291 - wave.hierarchy()[*var_ref].full_name(wave.hierarchy().into()), [INFO] [stdout] 291 + wave.hierarchy()[*var_ref].full_name(<&Hierarchy as Into<_>>::into(wave.hierarchy())), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `trace2power` (lib test) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: useless conversion to the same type: `&Hierarchy` [INFO] [stdout] --> src/lib.rs:228:60 [INFO] [stdout] | [INFO] [stdout] 228 | let fname = indexed_name(var.full_name(wave_hierarchy.into()), var); [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] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 228 - let fname = indexed_name(var.full_name(wave_hierarchy.into()), var); [INFO] [stdout] 228 + let fname = indexed_name(var.full_name(wave_hierarchy), var); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 228 - let fname = indexed_name(var.full_name(wave_hierarchy.into()), var); [INFO] [stdout] 228 + let fname = indexed_name(var.full_name(<&Hierarchy as Into<_>>::into(wave_hierarchy)), var); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&Hierarchy` [INFO] [stdout] --> src/lib.rs:239:55 [INFO] [stdout] | [INFO] [stdout] 239 | .map(|var| indexed_name(var.full_name(wave_hierarchy.into()), var)) [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] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 239 - .map(|var| indexed_name(var.full_name(wave_hierarchy.into()), var)) [INFO] [stdout] 239 + .map(|var| indexed_name(var.full_name(wave_hierarchy), var)) [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 239 - .map(|var| indexed_name(var.full_name(wave_hierarchy.into()), var)) [INFO] [stdout] 239 + .map(|var| indexed_name(var.full_name(<&Hierarchy as Into<_>>::into(wave_hierarchy)), var)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&Hierarchy` [INFO] [stdout] --> src/lib.rs:245:60 [INFO] [stdout] | [INFO] [stdout] 245 | let fname = indexed_name(var.full_name(wave_hierarchy.into()), var); [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] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 245 - let fname = indexed_name(var.full_name(wave_hierarchy.into()), var); [INFO] [stdout] 245 + let fname = indexed_name(var.full_name(wave_hierarchy), var); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 245 - let fname = indexed_name(var.full_name(wave_hierarchy.into()), var); [INFO] [stdout] 245 + let fname = indexed_name(var.full_name(<&Hierarchy as Into<_>>::into(wave_hierarchy)), var); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&Hierarchy` [INFO] [stdout] --> src/lib.rs:248:55 [INFO] [stdout] | [INFO] [stdout] 248 | .map(|var| indexed_name(var.full_name(wave_hierarchy.into()), &var)) [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] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 248 - .map(|var| indexed_name(var.full_name(wave_hierarchy.into()), &var)) [INFO] [stdout] 248 + .map(|var| indexed_name(var.full_name(wave_hierarchy), &var)) [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 248 - .map(|var| indexed_name(var.full_name(wave_hierarchy.into()), &var)) [INFO] [stdout] 248 + .map(|var| indexed_name(var.full_name(<&Hierarchy as Into<_>>::into(wave_hierarchy)), &var)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&Hierarchy` [INFO] [stdout] --> src/lib.rs:291:58 [INFO] [stdout] | [INFO] [stdout] 291 | wave.hierarchy()[*var_ref].full_name(wave.hierarchy().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] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 291 - wave.hierarchy()[*var_ref].full_name(wave.hierarchy().into()), [INFO] [stdout] 291 + wave.hierarchy()[*var_ref].full_name(wave.hierarchy()), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 291 - wave.hierarchy()[*var_ref].full_name(wave.hierarchy().into()), [INFO] [stdout] 291 + wave.hierarchy()[*var_ref].full_name(<&Hierarchy as Into<_>>::into(wave.hierarchy())), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `trace2power` (lib) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "6aef82c0624ddf47655bd9559c2f9b30e440d789089be126d1e87dad11366097", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6aef82c0624ddf47655bd9559c2f9b30e440d789089be126d1e87dad11366097", kill_on_drop: false }` [INFO] [stdout] 6aef82c0624ddf47655bd9559c2f9b30e440d789089be126d1e87dad11366097