[INFO] cloning repository https://github.com/WoBuChiPuTao/form-deconstruction [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/WoBuChiPuTao/form-deconstruction" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWoBuChiPuTao%2Fform-deconstruction", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWoBuChiPuTao%2Fform-deconstruction'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ad827e9501426d73df468e809d4e549dc34e4315 [INFO] checking WoBuChiPuTao/form-deconstruction against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWoBuChiPuTao%2Fform-deconstruction" "/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/WoBuChiPuTao/form-deconstruction 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/WoBuChiPuTao/form-deconstruction [INFO] finished tweaking git repo https://github.com/WoBuChiPuTao/form-deconstruction [INFO] tweaked toml for git repo https://github.com/WoBuChiPuTao/form-deconstruction written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/WoBuChiPuTao/form-deconstruction 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] 00b2281c5071c4ca53aff31c489ebcf6e57d45c4cf77557b3e30ecfeab5ed24e [INFO] running `Command { std: "docker" "start" "-a" "00b2281c5071c4ca53aff31c489ebcf6e57d45c4cf77557b3e30ecfeab5ed24e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "00b2281c5071c4ca53aff31c489ebcf6e57d45c4cf77557b3e30ecfeab5ed24e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00b2281c5071c4ca53aff31c489ebcf6e57d45c4cf77557b3e30ecfeab5ed24e", kill_on_drop: false }` [INFO] [stdout] 00b2281c5071c4ca53aff31c489ebcf6e57d45c4cf77557b3e30ecfeab5ed24e [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] 6bc06ab66ed5219d45b6515231b082a298161717f1acf10a5b17a11a56727a47 [INFO] running `Command { std: "docker" "start" "-a" "6bc06ab66ed5219d45b6515231b082a298161717f1acf10a5b17a11a56727a47", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.91 [INFO] [stderr] Compiling bumpalo v3.15.3 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling wasm-bindgen v0.2.91 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking cesu8 v1.1.0 [INFO] [stderr] Checking jni-sys v0.3.0 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking combine v4.6.6 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.91 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.91 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.91 [INFO] [stderr] Checking jni v0.21.1 [INFO] [stderr] Checking form-deconstruction v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `flat_form` [INFO] [stdout] --> src/lib.rs:95:43 [INFO] [stdout] | [INFO] [stdout] 95 | use crate::schema::{deconstruct_form, flat_form}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `deconstruct_form`, `flat_form` [INFO] [stdout] --> src/lib.rs:95:25 [INFO] [stdout] | [INFO] [stdout] 95 | use crate::schema::{deconstruct_form, flat_form}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub mod test { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::to_writer` [INFO] [stdout] --> src/lib.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | use serde_json::to_writer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub mod test { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::read_to_string` [INFO] [stdout] --> src/lib.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | use std::fs::read_to_string; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub mod test { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/lib.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub mod test { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::schema::fill::fill_value` [INFO] [stdout] --> src/lib.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | use crate::schema::fill::fill_value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub mod test { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 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 6.38s [INFO] running `Command { std: "docker" "inspect" "6bc06ab66ed5219d45b6515231b082a298161717f1acf10a5b17a11a56727a47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bc06ab66ed5219d45b6515231b082a298161717f1acf10a5b17a11a56727a47", kill_on_drop: false }` [INFO] [stdout] 6bc06ab66ed5219d45b6515231b082a298161717f1acf10a5b17a11a56727a47 [INFO] checking WoBuChiPuTao/form-deconstruction against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWoBuChiPuTao%2Fform-deconstruction" "/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/WoBuChiPuTao/form-deconstruction 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/WoBuChiPuTao/form-deconstruction [INFO] finished tweaking git repo https://github.com/WoBuChiPuTao/form-deconstruction [INFO] tweaked toml for git repo https://github.com/WoBuChiPuTao/form-deconstruction written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/WoBuChiPuTao/form-deconstruction 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] 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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f888cf582598f5ccca8ad47564fcd13d57e1f3495b021fea9d06dc8ccc718d62 [INFO] running `Command { std: "docker" "start" "-a" "f888cf582598f5ccca8ad47564fcd13d57e1f3495b021fea9d06dc8ccc718d62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f888cf582598f5ccca8ad47564fcd13d57e1f3495b021fea9d06dc8ccc718d62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f888cf582598f5ccca8ad47564fcd13d57e1f3495b021fea9d06dc8ccc718d62", kill_on_drop: false }` [INFO] [stdout] f888cf582598f5ccca8ad47564fcd13d57e1f3495b021fea9d06dc8ccc718d62 [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] d13a55b5b12642081ecb54ba693f68a8a4862dc06678cec8dcdd8401294cd854 [INFO] running `Command { std: "docker" "start" "-a" "d13a55b5b12642081ecb54ba693f68a8a4862dc06678cec8dcdd8401294cd854", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.91 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling bumpalo v3.15.3 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.91 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking jni-sys v0.3.0 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking cesu8 v1.1.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking combine v4.6.6 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.91 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.91 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.91 [INFO] [stderr] Checking jni v0.21.1 [INFO] [stderr] Checking form-deconstruction v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/lib.rs (5 fixes) [INFO] [stdout] error[E0425]: cannot find function `read_to_string` in this scope [INFO] [stdout] --> src/lib.rs:104:20 [INFO] [stdout] | [INFO] [stdout] 104 | let json = read_to_string("src/json/content.json").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 102 + use std::fs::read_to_string; [INFO] [stdout] | [INFO] [stdout] 102 + use std::io::read_to_string; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `deconstruct_form` in this scope [INFO] [stdout] --> src/lib.rs:105:23 [INFO] [stdout] | [INFO] [stdout] 105 | let mut map = deconstruct_form(&json); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function through its public re-export [INFO] [stdout] | [INFO] [stdout] 102 + use crate::deconstruct_form; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fill_value` in this scope [INFO] [stdout] --> src/lib.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | fill_value(value_json_1, &mut map); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function through its public re-export [INFO] [stdout] | [INFO] [stdout] 102 + use crate::fill_value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File` [INFO] [stdout] --> src/lib.rs:115:20 [INFO] [stdout] | [INFO] [stdout] 115 | let file = File::create("src/json/output.json").expect("Failed to create file"); [INFO] [stdout] | ^^^^ use of undeclared type `File` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 102 + use std::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_writer` in this scope [INFO] [stdout] --> src/lib.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | to_writer(&file, &map).expect("Failed to write to file"); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 102 + use serde_json::to_writer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `form-deconstruction` (lib test) due to 6 previous errors [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: 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" "d13a55b5b12642081ecb54ba693f68a8a4862dc06678cec8dcdd8401294cd854", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d13a55b5b12642081ecb54ba693f68a8a4862dc06678cec8dcdd8401294cd854", kill_on_drop: false }` [INFO] [stdout] d13a55b5b12642081ecb54ba693f68a8a4862dc06678cec8dcdd8401294cd854