[INFO] cloning repository https://github.com/HYliangkai/rustStd [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HYliangkai/rustStd" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHYliangkai%2FrustStd", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHYliangkai%2FrustStd'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b7a1c247499e45b5a8df66df974aaf61f52dbe31 [INFO] checking HYliangkai/rustStd against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHYliangkai%2FrustStd" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HYliangkai/rustStd 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/HYliangkai/rustStd [INFO] finished tweaking git repo https://github.com/HYliangkai/rustStd [INFO] tweaked toml for git repo https://github.com/HYliangkai/rustStd written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/HYliangkai/rustStd 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-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 2cdc33f8ce638e5a922e125be1c4b84d3cb45747d6c275e4ef277119e7a0297e [INFO] running `Command { std: "docker" "start" "-a" "2cdc33f8ce638e5a922e125be1c4b84d3cb45747d6c275e4ef277119e7a0297e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2cdc33f8ce638e5a922e125be1c4b84d3cb45747d6c275e4ef277119e7a0297e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cdc33f8ce638e5a922e125be1c4b84d3cb45747d6c275e4ef277119e7a0297e", kill_on_drop: false }` [INFO] [stdout] 2cdc33f8ce638e5a922e125be1c4b84d3cb45747d6c275e4ef277119e7a0297e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 7ec542f6298c0850546de1c2fd86b781dd7bd451d8df8ec5650bae8e414f6c09 [INFO] running `Command { std: "docker" "start" "-a" "7ec542f6298c0850546de1c2fd86b781dd7bd451d8df8ec5650bae8e414f6c09", kill_on_drop: false }` [INFO] [stderr] Checking rust_std v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `File`, `OpenOptions`, `io::Write`, `read_to_string` [INFO] [stdout] --> src/stda/FS.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{ fs::{ read_to_string, File, OpenOptions }, io::Write }; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration`, `SystemTime`, `UNIX_EPOCH` [INFO] [stdout] --> src/stda/date.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::time::{Duration, SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `File`, `read_to_string` [INFO] [stdout] --> src/stda/FS.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{ fs::{ read_to_string, File, OpenOptions }, io::Write }; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/core/converter/from_into.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | struct B { [INFO] [stdout] | - field in this struct [INFO] [stdout] 5 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `index` is never read [INFO] [stdout] --> src/core/iter.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct NIterator { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 7 | index: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sqp` is never used [INFO] [stdout] --> src/core/iter.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn sqp() {} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `FS` should have a snake case name [INFO] [stdout] --> src/stda/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod FS; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `fs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `IO` should have a snake case name [INFO] [stdout] --> src/stda/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub mod IO; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/core/converter/from_into.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let b: B = a.into(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bb` [INFO] [stdout] --> src/core/converter/from_into.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let bb = B::from(aa); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_bb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fives` [INFO] [stdout] --> src/stda/date.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let fives = Duration::from_micros(21); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_fives` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/core/converter/from_into.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | struct B { [INFO] [stdout] | - field in this struct [INFO] [stdout] 5 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `index` is never read [INFO] [stdout] --> src/core/iter.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct NIterator { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 7 | index: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sqp` is never used [INFO] [stdout] --> src/core/iter.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn sqp() {} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `FS` should have a snake case name [INFO] [stdout] --> src/stda/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod FS; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `fs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `IO` should have a snake case name [INFO] [stdout] --> src/stda/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub mod IO; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `io` [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.07s [INFO] running `Command { std: "docker" "inspect" "7ec542f6298c0850546de1c2fd86b781dd7bd451d8df8ec5650bae8e414f6c09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ec542f6298c0850546de1c2fd86b781dd7bd451d8df8ec5650bae8e414f6c09", kill_on_drop: false }` [INFO] [stdout] 7ec542f6298c0850546de1c2fd86b781dd7bd451d8df8ec5650bae8e414f6c09 [INFO] checking HYliangkai/rustStd against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHYliangkai%2FrustStd" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HYliangkai/rustStd 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/HYliangkai/rustStd [INFO] finished tweaking git repo https://github.com/HYliangkai/rustStd [INFO] tweaked toml for git repo https://github.com/HYliangkai/rustStd written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/HYliangkai/rustStd 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] cff1181baea0e5f314c15b8dcdf6f7caff6aa26560c34b03aefbb706a8c7cd08 [INFO] running `Command { std: "docker" "start" "-a" "cff1181baea0e5f314c15b8dcdf6f7caff6aa26560c34b03aefbb706a8c7cd08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cff1181baea0e5f314c15b8dcdf6f7caff6aa26560c34b03aefbb706a8c7cd08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cff1181baea0e5f314c15b8dcdf6f7caff6aa26560c34b03aefbb706a8c7cd08", kill_on_drop: false }` [INFO] [stdout] cff1181baea0e5f314c15b8dcdf6f7caff6aa26560c34b03aefbb706a8c7cd08 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 0f7ac25a782cf91d7265f07c9859ee3136600e24de369f37ad8f42a9f10ef3a5 [INFO] running `Command { std: "docker" "start" "-a" "0f7ac25a782cf91d7265f07c9859ee3136600e24de369f37ad8f42a9f10ef3a5", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Checking rust_std v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/stda/FS.rs (1 fix) [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/core/converter/from_into.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let b: B = a.into(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bb` [INFO] [stdout] --> src/core/converter/from_into.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let bb = B::from(aa); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_bb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fives` [INFO] [stdout] --> src/stda/date.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let fives = Duration::from_micros(21); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_fives` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/core/converter/from_into.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | struct B { [INFO] [stdout] | - field in this struct [INFO] [stdout] 5 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `index` is never read [INFO] [stdout] --> src/core/iter.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct NIterator { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 7 | index: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sqp` is never used [INFO] [stdout] --> src/core/iter.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn sqp() {} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `FS` should have a snake case name [INFO] [stdout] --> src/stda/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod FS; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `fs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `IO` should have a snake case name [INFO] [stdout] --> src/stda/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub mod IO; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/stda/date.rs (1 fix) [INFO] [stderr] Fixed src/stda/FS.rs (1 fix) [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/core/converter/from_into.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | struct B { [INFO] [stdout] | - field in this struct [INFO] [stdout] 5 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `index` is never read [INFO] [stdout] --> src/core/iter.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct NIterator { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 7 | index: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sqp` is never used [INFO] [stdout] --> src/core/iter.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn sqp() {} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `FS` should have a snake case name [INFO] [stdout] --> src/stda/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod FS; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `fs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `IO` should have a snake case name [INFO] [stdout] --> src/stda/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub mod IO; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking rust_std v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/core/converter/from_into.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | struct B { [INFO] [stdout] | - field in this struct [INFO] [stdout] 5 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `index` is never read [INFO] [stdout] --> src/core/iter.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct NIterator { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 7 | index: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sqp` is never used [INFO] [stdout] --> src/core/iter.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn sqp() {} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `FS` should have a snake case name [INFO] [stdout] --> src/stda/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod FS; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `fs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `IO` should have a snake case name [INFO] [stdout] --> src/stda/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub mod IO; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OpenOptions` [INFO] [stdout] --> src/stda/FS.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | let mut file = OpenOptions::new().append(true).open("m1.txt").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `OpenOptions` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::fs::OpenOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/stda/date.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | let fives = Duration::from_micros(21); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::time::Duration; [INFO] [stdout] | [INFO] [stdout] 2 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SystemTime` [INFO] [stdout] --> src/stda/date.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | let now_timestemp = SystemTime::now() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SystemTime` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::time::SystemTime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `UNIX_EPOCH` in this scope [INFO] [stdout] --> src/stda/date.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | .duration_since(UNIX_EPOCH) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 2 + use std::time::UNIX_EPOCH; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/core/converter/from_into.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let b: B = a.into(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bb` [INFO] [stdout] --> src/core/converter/from_into.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let bb = B::from(aa); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_bb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 2 warnings 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 `rust_std` (lib test) due to 5 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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" "0f7ac25a782cf91d7265f07c9859ee3136600e24de369f37ad8f42a9f10ef3a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f7ac25a782cf91d7265f07c9859ee3136600e24de369f37ad8f42a9f10ef3a5", kill_on_drop: false }` [INFO] [stdout] 0f7ac25a782cf91d7265f07c9859ee3136600e24de369f37ad8f42a9f10ef3a5