[INFO] cloning repository https://github.com/d3156/training_task [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/d3156/training_task" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fd3156%2Ftraining_task", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fd3156%2Ftraining_task'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0373302639cd03e5ed0672db38066477a7b2bbed [INFO] checking d3156/training_task against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fd3156%2Ftraining_task" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/d3156/training_task 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/d3156/training_task [INFO] finished tweaking git repo https://github.com/d3156/training_task [INFO] tweaked toml for git repo https://github.com/d3156/training_task written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/d3156/training_task 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] [stderr] warning: unused manifest key: package.autors [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] a77ff742a6ac3d1b97ee47d46027d3037b3ea9c2e829f6d058b53b4af9b1d654 [INFO] running `Command { std: "docker" "start" "-a" "a77ff742a6ac3d1b97ee47d46027d3037b3ea9c2e829f6d058b53b4af9b1d654", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a77ff742a6ac3d1b97ee47d46027d3037b3ea9c2e829f6d058b53b4af9b1d654", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a77ff742a6ac3d1b97ee47d46027d3037b3ea9c2e829f6d058b53b4af9b1d654", kill_on_drop: false }` [INFO] [stdout] a77ff742a6ac3d1b97ee47d46027d3037b3ea9c2e829f6d058b53b4af9b1d654 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] eb64a5facf5c92dd6e64e6074eedf99182d7e7e33f2e2736608b0cbf0f4f380d [INFO] running `Command { std: "docker" "start" "-a" "eb64a5facf5c92dd6e64e6074eedf99182d7e7e33f2e2736608b0cbf0f4f380d", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.autors [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking training_task v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `fs`, `input_step` [INFO] [stdout] --> src/input_thread.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use super::{fs, input_step}; [INFO] [stdout] | ^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `chrono` is imported redundantly [INFO] [stdout] --> src/output_thread.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono; [INFO] [stdout] | ^^^^^^ the item `chrono` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `chrono` is imported redundantly [INFO] [stdout] --> src/output_thread.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono; [INFO] [stdout] | ^^^^^^ the item `chrono` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.17s [INFO] running `Command { std: "docker" "inspect" "eb64a5facf5c92dd6e64e6074eedf99182d7e7e33f2e2736608b0cbf0f4f380d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb64a5facf5c92dd6e64e6074eedf99182d7e7e33f2e2736608b0cbf0f4f380d", kill_on_drop: false }` [INFO] [stdout] eb64a5facf5c92dd6e64e6074eedf99182d7e7e33f2e2736608b0cbf0f4f380d [INFO] checking d3156/training_task against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fd3156%2Ftraining_task" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/d3156/training_task 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/d3156/training_task [INFO] finished tweaking git repo https://github.com/d3156/training_task [INFO] tweaked toml for git repo https://github.com/d3156/training_task written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/d3156/training_task 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] [stderr] warning: unused manifest key: package.autors [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 032ec0cf76451e2490efb922b484718af60283ea3c1f66f9bb3152e5765fab33 [INFO] running `Command { std: "docker" "start" "-a" "032ec0cf76451e2490efb922b484718af60283ea3c1f66f9bb3152e5765fab33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "032ec0cf76451e2490efb922b484718af60283ea3c1f66f9bb3152e5765fab33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "032ec0cf76451e2490efb922b484718af60283ea3c1f66f9bb3152e5765fab33", kill_on_drop: false }` [INFO] [stdout] 032ec0cf76451e2490efb922b484718af60283ea3c1f66f9bb3152e5765fab33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 620727c0149710389e647df3f5a98f4aa382c4aa82f1a40d698c91816a3e24ea [INFO] running `Command { std: "docker" "start" "-a" "620727c0149710389e647df3f5a98f4aa382c4aa82f1a40d698c91816a3e24ea", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] warning: unused manifest key: package.autors [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking training_task v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/input_thread.rs (1 fix) [INFO] [stdout] warning: the item `chrono` is imported redundantly [INFO] [stdout] --> src/output_thread.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono; [INFO] [stdout] | ^^^^^^ the item `chrono` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fs` [INFO] [stdout] --> src/input_thread.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | fs::File::create("check_when_file_exist.txt").expect("System error, No fn bug!"); [INFO] [stdout] | ^^ use of undeclared crate or module `fs` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use crate::File; [INFO] [stdout] | [INFO] [stdout] 3 + use std::fs::File; [INFO] [stdout] | [INFO] [stdout] help: if you import `File`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 5 - fs::File::create("check_when_file_exist.txt").expect("System error, No fn bug!"); [INFO] [stdout] 5 + File::create("check_when_file_exist.txt").expect("System error, No fn bug!"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `input_step` in this scope [INFO] [stdout] --> src/input_thread.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | input_step("check_when_file_exist.txt"); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 + use crate::input_thread::input_step; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fs` [INFO] [stdout] --> src/input_thread.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | fs::remove_file("check_when_file_exist.txt").expect("System error, No fn bug!"); [INFO] [stdout] | ^^ use of undeclared crate or module `fs` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use crate::input_thread::fs; [INFO] [stdout] | [INFO] [stdout] 3 + use std::fs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fs` [INFO] [stdout] --> src/input_thread.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | fs::remove_file("check_when_file_No_exist.txt").ok();//Если файла нет - значит удалять уже нечего [INFO] [stdout] | ^^ use of undeclared crate or module `fs` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use crate::input_thread::fs; [INFO] [stdout] | [INFO] [stdout] 3 + use std::fs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `input_step` in this scope [INFO] [stdout] --> src/input_thread.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | input_step("check_when_file_No_exist.txt"); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 + use crate::input_thread::input_step; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `chrono` is imported redundantly [INFO] [stdout] --> src/output_thread.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono; [INFO] [stdout] | ^^^^^^ the item `chrono` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `training_task` (bin "training_task" test) due to 6 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" "620727c0149710389e647df3f5a98f4aa382c4aa82f1a40d698c91816a3e24ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "620727c0149710389e647df3f5a98f4aa382c4aa82f1a40d698c91816a3e24ea", kill_on_drop: false }` [INFO] [stdout] 620727c0149710389e647df3f5a98f4aa382c4aa82f1a40d698c91816a3e24ea