[INFO] cloning repository https://github.com/terziele/partikl [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/terziele/partikl" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fterziele%2Fpartikl", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fterziele%2Fpartikl'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c19c706fedd176fdcc63f1ce7c33b4034059c0df [INFO] checking terziele/partikl against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fterziele%2Fpartikl" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/terziele/partikl on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/terziele/partikl [INFO] finished tweaking git repo https://github.com/terziele/partikl [INFO] tweaked toml for git repo https://github.com/terziele/partikl written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/terziele/partikl 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d98b8d400a198f30a5ae4ecec99d1753bce338934ab69d2d8e468b2e3ec3e6a8 [INFO] running `Command { std: "docker" "start" "-a" "d98b8d400a198f30a5ae4ecec99d1753bce338934ab69d2d8e468b2e3ec3e6a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d98b8d400a198f30a5ae4ecec99d1753bce338934ab69d2d8e468b2e3ec3e6a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d98b8d400a198f30a5ae4ecec99d1753bce338934ab69d2d8e468b2e3ec3e6a8", kill_on_drop: false }` [INFO] [stdout] d98b8d400a198f30a5ae4ecec99d1753bce338934ab69d2d8e468b2e3ec3e6a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6220ff8a6c3a87bc0357a4a85440fefd69d8949f7c32e81bdbb6984fc9675fdd [INFO] running `Command { std: "docker" "start" "-a" "6220ff8a6c3a87bc0357a4a85440fefd69d8949f7c32e81bdbb6984fc9675fdd", kill_on_drop: false }` [INFO] [stderr] Checking partikl v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::core::Type::Toggle` [INFO] [stdout] --> src/core/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::core::Type::Toggle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/core/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::empty` [INFO] [stdout] --> src/core/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::empty; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/core/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::empty` [INFO] [stdout] --> src/core/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::empty; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `schema_props` [INFO] [stdout] --> src/core/mod.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | let schema_props = self.props_map(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_schema_props` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `schema_props` [INFO] [stdout] --> src/core/mod.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | let schema_props = self.props_map(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_schema_props` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PropertyValue` is never used [INFO] [stdout] --> src/core/mod.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum PropertyValue { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PropertyValue` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EntityProperty` is never constructed [INFO] [stdout] --> src/core/mod.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct EntityProperty { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EntityProperty` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name` and `value` are never used [INFO] [stdout] --> src/core/mod.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl EntityProperty { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 21 | pub fn name(&self) -> &String { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn value(&self) -> &PropertyValue { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Entity` is never constructed [INFO] [stdout] --> src/core/mod.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Entity { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `prop_type` are never read [INFO] [stdout] --> src/core/mod.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct SchemaProperty { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 45 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 46 | prop_type: Type, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SchemaProperty` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Schema` is never constructed [INFO] [stdout] --> src/core/mod.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct Schema { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Schema` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `create_entity`, `props_map`, and `find_missing_keys` are never used [INFO] [stdout] --> src/core/mod.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 64 | impl Schema { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 65 | pub fn create_entity(&self, entity_props: Vec) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | fn props_map(&self) -> HashMap { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | fn find_missing_keys(&self, entity_props: &[EntityProperty]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SchemaBuilder` is never constructed [INFO] [stdout] --> src/core/mod.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct SchemaBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `named`, `with_property`, and `build` are never used [INFO] [stdout] --> src/core/mod.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 102 | impl SchemaBuilder { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 103 | pub fn named(name: &str) -> SchemaBuilder { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn with_property(mut self, prop_name: &str, prop_type: Type) -> SchemaBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn build(self) -> Schema { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `String`, `Integer`, `Double`, and `Toggle` are never constructed [INFO] [stdout] --> src/core/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum PropertyValue { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 8 | String(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | Integer(i32), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | Double(f32), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | Toggle(bool), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PropertyValue` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/core/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct EntityProperty { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 16 | name: String, [INFO] [stdout] 17 | value: PropertyValue, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EntityProperty` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `value` is never used [INFO] [stdout] --> src/core/mod.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl EntityProperty { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn value(&self) -> &PropertyValue { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `props` are never read [INFO] [stdout] --> src/core/mod.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Entity { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 31 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 32 | props: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `prop_type` is never read [INFO] [stdout] --> src/core/mod.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct SchemaProperty { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 45 | name: String, [INFO] [stdout] 46 | prop_type: Type, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SchemaProperty` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/core/mod.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct Schema { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 60 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Schema` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] running `Command { std: "docker" "inspect" "6220ff8a6c3a87bc0357a4a85440fefd69d8949f7c32e81bdbb6984fc9675fdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6220ff8a6c3a87bc0357a4a85440fefd69d8949f7c32e81bdbb6984fc9675fdd", kill_on_drop: false }` [INFO] [stdout] 6220ff8a6c3a87bc0357a4a85440fefd69d8949f7c32e81bdbb6984fc9675fdd [INFO] checking terziele/partikl against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fterziele%2Fpartikl" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/terziele/partikl on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/terziele/partikl [INFO] finished tweaking git repo https://github.com/terziele/partikl [INFO] tweaked toml for git repo https://github.com/terziele/partikl written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/terziele/partikl 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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c11181e579cce45596f31c082b7531867ef5338ea216d8f72e3a956565bf75b8 [INFO] running `Command { std: "docker" "start" "-a" "c11181e579cce45596f31c082b7531867ef5338ea216d8f72e3a956565bf75b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c11181e579cce45596f31c082b7531867ef5338ea216d8f72e3a956565bf75b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c11181e579cce45596f31c082b7531867ef5338ea216d8f72e3a956565bf75b8", kill_on_drop: false }` [INFO] [stdout] c11181e579cce45596f31c082b7531867ef5338ea216d8f72e3a956565bf75b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8bce0017811fa2d5dcdfedec6fc8729d59dc9c678113e112a61748ca085884e9 [INFO] running `Command { std: "docker" "start" "-a" "8bce0017811fa2d5dcdfedec6fc8729d59dc9c678113e112a61748ca085884e9", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Checking partikl v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/core/mod.rs (3 fixes) [INFO] [stdout] warning: unused variable: `schema_props` [INFO] [stdout] --> src/core/mod.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | let schema_props = self.props_map(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_schema_props` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PropertyValue` is never used [INFO] [stdout] --> src/core/mod.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum PropertyValue { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PropertyValue` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EntityProperty` is never constructed [INFO] [stdout] --> src/core/mod.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct EntityProperty { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EntityProperty` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name` and `value` are never used [INFO] [stdout] --> src/core/mod.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl EntityProperty { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 18 | pub fn name(&self) -> &String { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn value(&self) -> &PropertyValue { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Entity` is never constructed [INFO] [stdout] --> src/core/mod.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Entity { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `prop_type` are never read [INFO] [stdout] --> src/core/mod.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct SchemaProperty { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 42 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 43 | prop_type: Type, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SchemaProperty` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Schema` is never constructed [INFO] [stdout] --> src/core/mod.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct Schema { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Schema` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `create_entity`, `props_map`, and `find_missing_keys` are never used [INFO] [stdout] --> src/core/mod.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl Schema { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 62 | pub fn create_entity(&self, entity_props: Vec) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | fn props_map(&self) -> HashMap { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | fn find_missing_keys(&self, entity_props: &[EntityProperty]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SchemaBuilder` is never constructed [INFO] [stdout] --> src/core/mod.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct SchemaBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `named`, `with_property`, and `build` are never used [INFO] [stdout] --> src/core/mod.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 99 | impl SchemaBuilder { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 100 | pub fn named(name: &str) -> SchemaBuilder { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn with_property(mut self, prop_name: &str, prop_type: Type) -> SchemaBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn build(self) -> Schema { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Toggle` in this scope [INFO] [stdout] --> src/core/mod.rs:124:33 [INFO] [stdout] | [INFO] [stdout] 124 | .with_property("prop1", Toggle) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::core::PropertyValue::Toggle; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::core::Type::Toggle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `schema_props` [INFO] [stdout] --> src/core/mod.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | let schema_props = self.props_map(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_schema_props` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `partikl` (bin "partikl" test) due to 2 previous errors; 1 warning emitted [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "8bce0017811fa2d5dcdfedec6fc8729d59dc9c678113e112a61748ca085884e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8bce0017811fa2d5dcdfedec6fc8729d59dc9c678113e112a61748ca085884e9", kill_on_drop: false }` [INFO] [stdout] 8bce0017811fa2d5dcdfedec6fc8729d59dc9c678113e112a61748ca085884e9