[INFO] cloning repository https://github.com/braxnu/viners [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/braxnu/viners" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbraxnu%2Fviners", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbraxnu%2Fviners'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 49b93dcc6ea602ec47e0c34eaa797682e6d9a4e4 [INFO] checking braxnu/viners/49b93dcc6ea602ec47e0c34eaa797682e6d9a4e4 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbraxnu%2Fviners" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/braxnu/viners on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/braxnu/viners [INFO] finished tweaking git repo https://github.com/braxnu/viners [INFO] tweaked toml for git repo https://github.com/braxnu/viners written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/braxnu/viners 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 78235ba8fb88e3a7e75ae68e150ee8da16494d86b620ccde2ec00c04fda51e4b [INFO] running `Command { std: "docker" "start" "-a" "78235ba8fb88e3a7e75ae68e150ee8da16494d86b620ccde2ec00c04fda51e4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "78235ba8fb88e3a7e75ae68e150ee8da16494d86b620ccde2ec00c04fda51e4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78235ba8fb88e3a7e75ae68e150ee8da16494d86b620ccde2ec00c04fda51e4b", kill_on_drop: false }` [INFO] [stdout] 78235ba8fb88e3a7e75ae68e150ee8da16494d86b620ccde2ec00c04fda51e4b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b5ed96b821b9d5d03af041797f1f44c12dcb532a2d8735d580b82199e05d6312 [INFO] running `Command { std: "docker" "start" "-a" "b5ed96b821b9d5d03af041797f1f44c12dcb532a2d8735d580b82199e05d6312", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking viners v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/field.rs (4 fixes) [INFO] [stdout] warning: struct `Plant` is never constructed [INFO] [stdout] --> src/plant.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Plant<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Plant` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.01s [INFO] [stdout] warning: fields `name` and `lifespan` are never read [INFO] [stdout] --> src/product.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Product { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 6 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | pub lifespan: Duration, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Product` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GameStartDate` is never constructed [INFO] [stdout] --> src/date.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct GameStartDate { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `utc_from_str` is never used [INFO] [stdout] --> src/date.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn utc_from_str(date: &str) -> DateTime { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_game_from_real` is never used [INFO] [stdout] --> src/date.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl GameStartDate { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 18 | fn get_game_from_real(self: Self, date: DateTime) -> DateTime { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Field` is never constructed [INFO] [stdout] --> src/field.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Field<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_alive` and `get_yield_size` are never used [INFO] [stdout] --> src/field.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl Field<'_> { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 16 | fn is_alive( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | fn get_yield_size( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking viners v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: struct `Plant` is never constructed [INFO] [stdout] --> src/plant.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Plant<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Plant` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `lifespan` are never read [INFO] [stdout] --> src/product.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Product { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 6 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | pub lifespan: Duration, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Product` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GameStartDate` is never constructed [INFO] [stdout] --> src/date.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct GameStartDate { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `utc_from_str` is never used [INFO] [stdout] --> src/date.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn utc_from_str(date: &str) -> DateTime { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_game_from_real` is never used [INFO] [stdout] --> src/date.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl GameStartDate { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 18 | fn get_game_from_real(self: Self, date: DateTime) -> DateTime { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Field` is never constructed [INFO] [stdout] --> src/field.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Field<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_alive` and `get_yield_size` are never used [INFO] [stdout] --> src/field.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl Field<'_> { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 16 | fn is_alive( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | fn get_yield_size( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Product` in this scope [INFO] [stdout] --> src/field.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | let seed = Product { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::product::Product; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/field.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 41 | lifespan: Duration::days(80), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 1 + use chrono::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/field.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 48 | lifespan: Duration::days(90), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 1 + use chrono::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `utc_from_str` in this scope [INFO] [stdout] --> src/field.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 54 | sow_date: utc_from_str("2020-02-02 20:20:20Z"), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::date::utc_from_str; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Product` in this scope [INFO] [stdout] --> src/field.rs:64:16 [INFO] [stdout] | [INFO] [stdout] 64 | let seed = Product { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::product::Product; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/field.rs:66:19 [INFO] [stdout] | [INFO] [stdout] 66 | lifespan: Duration::days(80), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 1 + use chrono::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/field.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 73 | lifespan: Duration::days(90), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 1 + use chrono::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `utc_from_str` in this scope [INFO] [stdout] --> src/field.rs:79:19 [INFO] [stdout] | [INFO] [stdout] 79 | sow_date: utc_from_str("2020-02-02 20:20:20Z"), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::date::utc_from_str; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Product` in this scope [INFO] [stdout] --> src/field.rs:87:16 [INFO] [stdout] | [INFO] [stdout] 87 | let seed = Product { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::product::Product; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/field.rs:89:19 [INFO] [stdout] | [INFO] [stdout] 89 | lifespan: Duration::days(80), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 1 + use chrono::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/field.rs:96:19 [INFO] [stdout] | [INFO] [stdout] 96 | lifespan: Duration::days(10), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 1 + use chrono::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `utc_from_str` in this scope [INFO] [stdout] --> src/field.rs:102:19 [INFO] [stdout] | [INFO] [stdout] 102 | sow_date: utc_from_str("2020-01-01 00:00:00Z"), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::date::utc_from_str; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `utc_from_str` in this scope [INFO] [stdout] --> src/field.rs:106:15 [INFO] [stdout] | [INFO] [stdout] 106 | real: utc_from_str("2020-01-01 00:00:00Z"), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::date::utc_from_str; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `utc_from_str` in this scope [INFO] [stdout] --> src/field.rs:107:15 [INFO] [stdout] | [INFO] [stdout] 107 | game: utc_from_str("2020-01-01 00:00:00Z"), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::date::utc_from_str; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `utc_from_str` in this scope [INFO] [stdout] --> src/field.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | utc_from_str("2020-01-01 00:00:00Z"); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::date::utc_from_str; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `utc_from_str` in this scope [INFO] [stdout] --> src/field.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | utc_from_str("2020-01-05 23:59:59Z"); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::date::utc_from_str; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `utc_from_str` in this scope [INFO] [stdout] --> src/field.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | utc_from_str("2020-01-06 00:00:00Z"); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::date::utc_from_str; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Product` in this scope [INFO] [stdout] --> src/field.rs:129:16 [INFO] [stdout] | [INFO] [stdout] 129 | let seed = Product { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::product::Product; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/field.rs:131:19 [INFO] [stdout] | [INFO] [stdout] 131 | lifespan: Duration::days(80), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 1 + use chrono::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/field.rs:138:19 [INFO] [stdout] | [INFO] [stdout] 138 | lifespan: Duration::days(10), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 1 + use chrono::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `utc_from_str` in this scope [INFO] [stdout] --> src/field.rs:144:19 [INFO] [stdout] | [INFO] [stdout] 144 | sow_date: utc_from_str("2020-01-01 00:00:00Z"), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::date::utc_from_str; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `DateTime` in the current scope [INFO] [stdout] --> src/field.rs:58:26 [INFO] [stdout] | [INFO] [stdout] 58 | DateTime::::from_str("2020-02-02 20:20:20Z").unwrap() [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `DateTime` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `DateTime`, consider using `DateTime::::from_utc` which returns `DateTime<_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/chrono-0.4.19/src/datetime.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn from_utc(datetime: NaiveDateTime, offset: Tz::Offset) -> DateTime { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 58 | DateTime::::from("2020-02-02 20:20:20Z").unwrap() [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stderr] error: could not compile `viners` (bin "viners" test) due to 23 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "b5ed96b821b9d5d03af041797f1f44c12dcb532a2d8735d580b82199e05d6312", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5ed96b821b9d5d03af041797f1f44c12dcb532a2d8735d580b82199e05d6312", kill_on_drop: false }` [INFO] [stdout] b5ed96b821b9d5d03af041797f1f44c12dcb532a2d8735d580b82199e05d6312