[INFO] cloning repository https://github.com/binnyFriedman/picture_of_the_day [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/binnyFriedman/picture_of_the_day" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FbinnyFriedman%2Fpicture_of_the_day", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FbinnyFriedman%2Fpicture_of_the_day'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e86feabdeb6078746c97a4e0f44856651089ef57 [INFO] checking binnyFriedman/picture_of_the_day/e86feabdeb6078746c97a4e0f44856651089ef57 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FbinnyFriedman%2Fpicture_of_the_day" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/binnyFriedman/picture_of_the_day 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/binnyFriedman/picture_of_the_day [INFO] finished tweaking git repo https://github.com/binnyFriedman/picture_of_the_day [INFO] tweaked toml for git repo https://github.com/binnyFriedman/picture_of_the_day written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/binnyFriedman/picture_of_the_day 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7795a648625e4fe9b13a9a7ae51c99688e71785450cfc76146422b95a2a7750d [INFO] running `Command { std: "docker" "start" "-a" "7795a648625e4fe9b13a9a7ae51c99688e71785450cfc76146422b95a2a7750d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7795a648625e4fe9b13a9a7ae51c99688e71785450cfc76146422b95a2a7750d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7795a648625e4fe9b13a9a7ae51c99688e71785450cfc76146422b95a2a7750d", kill_on_drop: false }` [INFO] [stdout] 7795a648625e4fe9b13a9a7ae51c99688e71785450cfc76146422b95a2a7750d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 576e3fcec2635a0ea075b752f56b99298fe2cba25083d1e63d5001cee1bc3ebe [INFO] running `Command { std: "docker" "start" "-a" "576e3fcec2635a0ea075b752f56b99298fe2cba25083d1e63d5001cee1bc3ebe", 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 autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.117 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking tracing-core v0.1.22 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Checking tracing v0.1.30 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling serde_json v1.0.78 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking ipnet v2.3.1 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Checking tokio v1.16.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking h2 v0.3.11 [INFO] [stderr] Checking hyper v0.14.16 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.9 [INFO] [stderr] Checking picture_of_the_day v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/main.rs (3 fixes) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.88s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking picture_of_the_day v0.1.0 (/tmp/fixit) [INFO] [stdout] error[E0425]: cannot find function `create_path_if_not_exists` in this scope [INFO] [stdout] --> src/main.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | create_path_if_not_exists(temp_dir).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | fn create_if_not_exists(){ [INFO] [stdout] | ------------------------- similarly named function `create_if_not_exists` defined here [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 156 | create_if_not_exists(temp_dir).unwrap(); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 150 + use crate::create_path_if_not_exists; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_path_if_not_exists` in this scope [INFO] [stdout] --> src/main.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | create_path_if_not_exists(archive_dir).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | fn create_if_not_exists(){ [INFO] [stdout] | ------------------------- similarly named function `create_if_not_exists` defined here [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 157 | create_if_not_exists(archive_dir).unwrap(); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 150 + use crate::create_path_if_not_exists; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File` [INFO] [stdout] --> src/main.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | File::create(file1_temp.as_str()).unwrap(); [INFO] [stdout] | ^^^^ use of undeclared type `File` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 150 + use crate::File; [INFO] [stdout] | [INFO] [stdout] 150 + use std::fs::File; [INFO] [stdout] | [INFO] [stdout] 150 + use tokio::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File` [INFO] [stdout] --> src/main.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | File::create(file2_temp.as_str()).unwrap(); [INFO] [stdout] | ^^^^ use of undeclared type `File` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 150 + use crate::File; [INFO] [stdout] | [INFO] [stdout] 150 + use std::fs::File; [INFO] [stdout] | [INFO] [stdout] 150 + use tokio::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `move_older_to_archive` in this scope [INFO] [stdout] --> src/main.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | move_older_to_archive(temp_dir,archive_dir).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 150 + use crate::move_older_to_archive; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/main.rs:171:27 [INFO] [stdout] | [INFO] [stdout] 171 | let file_1_path = Path::new(file1_archive.as_str()); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 150 + use crate::Path; [INFO] [stdout] | [INFO] [stdout] 150 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/main.rs:172:27 [INFO] [stdout] | [INFO] [stdout] 172 | let file_2_path = Path::new(file2_archive.as_str()); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 150 + use crate::Path; [INFO] [stdout] | [INFO] [stdout] 150 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/main.rs:177:27 [INFO] [stdout] | [INFO] [stdout] 177 | let file_1_path = Path::new(file1_temp.as_str()); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 150 + use crate::Path; [INFO] [stdout] | [INFO] [stdout] 150 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/main.rs:178:27 [INFO] [stdout] | [INFO] [stdout] 178 | let file_2_path = Path::new(file2_temp.as_str()); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 150 + use crate::Path; [INFO] [stdout] | [INFO] [stdout] 150 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_path_if_not_exists` in this scope [INFO] [stdout] --> src/main.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | create_path_if_not_exists(path).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 150 + use crate::create_path_if_not_exists; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/main.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | assert!(Path::new(path).exists()); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 150 + use crate::Path; [INFO] [stdout] | [INFO] [stdout] 150 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/main.rs:194:18 [INFO] [stdout] | [INFO] [stdout] 194 | assert!(!Path::new(path).exists()); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 150 + use crate::Path; [INFO] [stdout] | [INFO] [stdout] 150 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WalkDir` [INFO] [stdout] --> src/main.rs:199:21 [INFO] [stdout] | [INFO] [stdout] 199 | let entry = WalkDir::new(".").into_iter().next().unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `WalkDir` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 150 + use crate::WalkDir; [INFO] [stdout] | [INFO] [stdout] 150 + use walkdir::WalkDir; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_not_hidden` in this scope [INFO] [stdout] --> src/main.rs:200:17 [INFO] [stdout] | [INFO] [stdout] 200 | assert!(is_not_hidden(&entry)); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 150 + use crate::is_not_hidden; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [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 `picture_of_the_day` (bin "picture_of_the_day" test) due to 15 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" "576e3fcec2635a0ea075b752f56b99298fe2cba25083d1e63d5001cee1bc3ebe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "576e3fcec2635a0ea075b752f56b99298fe2cba25083d1e63d5001cee1bc3ebe", kill_on_drop: false }` [INFO] [stdout] 576e3fcec2635a0ea075b752f56b99298fe2cba25083d1e63d5001cee1bc3ebe