[INFO] cloning repository https://github.com/NayamiOR/sho [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/NayamiOR/sho" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNayamiOR%2Fsho", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNayamiOR%2Fsho'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 04289aa91946015c342bc1cf815375ee5f1cd5f8 [INFO] checking NayamiOR/sho against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNayamiOR%2Fsho" "/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/NayamiOR/sho [INFO] finished tweaking git repo https://github.com/NayamiOR/sho [INFO] tweaked toml for git repo https://github.com/NayamiOR/sho written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/NayamiOR/sho 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/NayamiOR/sho 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] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2024 which implies `resolver = "3"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2024 resolver, specify `workspace.resolver = "3"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [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] 8b1d4299772b1cffe7d72e32838e61d7f28e8a936c23f5ae58ea084e6f8a3886 [INFO] running `Command { std: "docker" "start" "8b1d4299772b1cffe7d72e32838e61d7f28e8a936c23f5ae58ea084e6f8a3886", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b1d4299772b1cffe7d72e32838e61d7f28e8a936c23f5ae58ea084e6f8a3886", 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" "8b1d4299772b1cffe7d72e32838e61d7f28e8a936c23f5ae58ea084e6f8a3886" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b1d4299772b1cffe7d72e32838e61d7f28e8a936c23f5ae58ea084e6f8a3886", 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" "8b1d4299772b1cffe7d72e32838e61d7f28e8a936c23f5ae58ea084e6f8a3886" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2024 which implies `resolver = "3"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2024 resolver, specify `workspace.resolver = "3"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Checking cfg-if v1.0.4 [INFO] [stderr] Checking sho_ir v0.1.0 (/opt/rustwide/workdir/crates/sho_ir) [INFO] [stderr] Checking sho_runtime v0.1.0 (/opt/rustwide/workdir/crates/sho_runtime) [INFO] [stderr] Checking sho_parser v0.1.0 (/opt/rustwide/workdir/crates/sho_parser) [INFO] [stdout] warning: fields `name`, `emperor`, `dynasty`, `start_bc_year`, and `end_bc_year` are never read [INFO] [stdout] --> crates/sho_ir/src/time.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct ReignMotto { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 37 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 38 | emperor: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 39 | dynasty: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 40 | start_bc_year: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 41 | end_bc_year: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReignMotto` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `emperor`, `dynasty`, `start_bc_year`, and `end_bc_year` are never read [INFO] [stdout] --> crates/sho_ir/src/time.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct ReignMotto { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 37 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 38 | emperor: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 39 | dynasty: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 40 | start_bc_year: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 41 | end_bc_year: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReignMotto` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Checking uuid v1.18.1 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling bon-macros v3.8.1 [INFO] [stderr] Checking bon v3.8.1 [INFO] [stderr] Checking sho_core v0.1.0 (/opt/rustwide/workdir/crates/sho_core) [INFO] [stderr] Checking sho_loader v0.1.0 (/opt/rustwide/workdir/crates/sho_loader) [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> crates/sho_loader/src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::hash::Hash; [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: `std::hash::Hash` [INFO] [stdout] --> crates/sho_loader/src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/sho_loader/src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let mut errors = vec![]; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> crates/sho_loader/src/lib.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | input: Vec, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ir_time` [INFO] [stdout] --> crates/sho_loader/src/lib.rs:162:15 [INFO] [stdout] | [INFO] [stdout] 162 | fn parse_time(ir_time: IrTime) -> Time { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ir_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `ObjectContent` [INFO] [stdout] --> crates/sho_loader/src/lib.rs:48:30 [INFO] [stdout] | [INFO] [stdout] 48 | content: entity.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] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 48 - content: entity.into(), [INFO] [stdout] 48 + content: entity, [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 48 - content: entity.into(), [INFO] [stdout] 48 + content: >::into(entity), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&String` [INFO] [stdout] --> crates/sho_loader/src/lib.rs:93:55 [INFO] [stdout] | [INFO] [stdout] 93 | result: n.result.map(|x| symbol_table.get((&x).into()).unwrap().0), [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] 93 - result: n.result.map(|x| symbol_table.get((&x).into()).unwrap().0), [INFO] [stdout] 93 + result: n.result.map(|x| symbol_table.get((&x)).unwrap().0), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 93 - result: n.result.map(|x| symbol_table.get((&x).into()).unwrap().0), [INFO] [stdout] 93 + result: n.result.map(|x| symbol_table.get(<&String as Into<_>>::into((&x))).unwrap().0), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sho_loader` (lib test) due to 2 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/sho_loader/src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let mut errors = vec![]; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> crates/sho_loader/src/lib.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | input: Vec, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ir_time` [INFO] [stdout] --> crates/sho_loader/src/lib.rs:162:15 [INFO] [stdout] | [INFO] [stdout] 162 | fn parse_time(ir_time: IrTime) -> Time { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ir_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `ObjectContent` [INFO] [stdout] --> crates/sho_loader/src/lib.rs:48:30 [INFO] [stdout] | [INFO] [stdout] 48 | content: entity.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] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 48 - content: entity.into(), [INFO] [stdout] 48 + content: entity, [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 48 - content: entity.into(), [INFO] [stdout] 48 + content: >::into(entity), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&String` [INFO] [stdout] --> crates/sho_loader/src/lib.rs:93:55 [INFO] [stdout] | [INFO] [stdout] 93 | result: n.result.map(|x| symbol_table.get((&x).into()).unwrap().0), [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] 93 - result: n.result.map(|x| symbol_table.get((&x).into()).unwrap().0), [INFO] [stdout] 93 + result: n.result.map(|x| symbol_table.get((&x)).unwrap().0), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 93 - result: n.result.map(|x| symbol_table.get((&x).into()).unwrap().0), [INFO] [stdout] 93 + result: n.result.map(|x| symbol_table.get(<&String as Into<_>>::into((&x))).unwrap().0), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sho_loader` (lib) due to 2 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8b1d4299772b1cffe7d72e32838e61d7f28e8a936c23f5ae58ea084e6f8a3886", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b1d4299772b1cffe7d72e32838e61d7f28e8a936c23f5ae58ea084e6f8a3886", kill_on_drop: false }` [INFO] [stdout] 8b1d4299772b1cffe7d72e32838e61d7f28e8a936c23f5ae58ea084e6f8a3886