[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 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbraxnu%2Fviners" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/braxnu/viners 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/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-tc1/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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 2758c4ac251d07879181bdae3cf2c6b94aa1c4243ffd4bddcff684d108f8994c [INFO] running `Command { std: "docker" "start" "-a" "2758c4ac251d07879181bdae3cf2c6b94aa1c4243ffd4bddcff684d108f8994c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2758c4ac251d07879181bdae3cf2c6b94aa1c4243ffd4bddcff684d108f8994c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2758c4ac251d07879181bdae3cf2c6b94aa1c4243ffd4bddcff684d108f8994c", kill_on_drop: false }` [INFO] [stdout] 2758c4ac251d07879181bdae3cf2c6b94aa1c4243ffd4bddcff684d108f8994c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] f0d82879ee30600217ef377b264c4fb6edb053c1cd91d4103c6ccc260c11ba1c [INFO] running `Command { std: "docker" "start" "-a" "f0d82879ee30600217ef377b264c4fb6edb053c1cd91d4103c6ccc260c11ba1c", kill_on_drop: false }` [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 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/field.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/field.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{Duration, DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `product::Product` [INFO] [stdout] --> src/field.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{plant::Plant, product::Product}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utc_from_str` [INFO] [stdout] --> src/field.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::date::{utc_from_str, GameStartDate}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [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:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | 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:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl Field<'_> { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 17 | fn is_alive( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | fn get_yield_size( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.26s [INFO] running `Command { std: "docker" "inspect" "f0d82879ee30600217ef377b264c4fb6edb053c1cd91d4103c6ccc260c11ba1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0d82879ee30600217ef377b264c4fb6edb053c1cd91d4103c6ccc260c11ba1c", kill_on_drop: false }` [INFO] [stdout] f0d82879ee30600217ef377b264c4fb6edb053c1cd91d4103c6ccc260c11ba1c [INFO] checking braxnu/viners against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [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 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/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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "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/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e190943d4c90dd9046114dfcdca0fe5533c53e2f7f1b3e4ad4d0758c57d03e6f [INFO] running `Command { std: "docker" "start" "-a" "e190943d4c90dd9046114dfcdca0fe5533c53e2f7f1b3e4ad4d0758c57d03e6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e190943d4c90dd9046114dfcdca0fe5533c53e2f7f1b3e4ad4d0758c57d03e6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e190943d4c90dd9046114dfcdca0fe5533c53e2f7f1b3e4ad4d0758c57d03e6f", kill_on_drop: false }` [INFO] [stdout] e190943d4c90dd9046114dfcdca0fe5533c53e2f7f1b3e4ad4d0758c57d03e6f [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2d7e3168ccb722060bf43f95b903718fa3e4b23107087631326878223d8c1bce [INFO] running `Command { std: "docker" "start" "-a" "2d7e3168ccb722060bf43f95b903718fa3e4b23107087631326878223d8c1bce", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling num-traits v0.2.15 [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] [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 items [INFO] [stdout] | [INFO] [stdout] 1 + use chrono::Duration; [INFO] [stdout] | [INFO] [stdout] 1 + use core::time::Duration; [INFO] [stdout] | [INFO] [stdout] 1 + use std::time::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 items [INFO] [stdout] | [INFO] [stdout] 1 + use chrono::Duration; [INFO] [stdout] | [INFO] [stdout] 1 + use core::time::Duration; [INFO] [stdout] | [INFO] [stdout] 1 + use std::time::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 items [INFO] [stdout] | [INFO] [stdout] 1 + use chrono::Duration; [INFO] [stdout] | [INFO] [stdout] 1 + use core::time::Duration; [INFO] [stdout] | [INFO] [stdout] 1 + use std::time::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 items [INFO] [stdout] | [INFO] [stdout] 1 + use chrono::Duration; [INFO] [stdout] | [INFO] [stdout] 1 + use core::time::Duration; [INFO] [stdout] | [INFO] [stdout] 1 + use std::time::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 items [INFO] [stdout] | [INFO] [stdout] 1 + use chrono::Duration; [INFO] [stdout] | [INFO] [stdout] 1 + use core::time::Duration; [INFO] [stdout] | [INFO] [stdout] 1 + use std::time::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 items [INFO] [stdout] | [INFO] [stdout] 1 + use chrono::Duration; [INFO] [stdout] | [INFO] [stdout] 1 + use core::time::Duration; [INFO] [stdout] | [INFO] [stdout] 1 + use std::time::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 items [INFO] [stdout] | [INFO] [stdout] 1 + use chrono::Duration; [INFO] [stdout] | [INFO] [stdout] 1 + use core::time::Duration; [INFO] [stdout] | [INFO] [stdout] 1 + use std::time::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 items [INFO] [stdout] | [INFO] [stdout] 1 + use chrono::Duration; [INFO] [stdout] | [INFO] [stdout] 1 + use core::time::Duration; [INFO] [stdout] | [INFO] [stdout] 1 + use std::time::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 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" "2d7e3168ccb722060bf43f95b903718fa3e4b23107087631326878223d8c1bce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d7e3168ccb722060bf43f95b903718fa3e4b23107087631326878223d8c1bce", kill_on_drop: false }` [INFO] [stdout] 2d7e3168ccb722060bf43f95b903718fa3e4b23107087631326878223d8c1bce