[INFO] cloning repository https://github.com/2018kguo/python-rust-json-testing [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/2018kguo/python-rust-json-testing" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F2018kguo%2Fpython-rust-json-testing", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F2018kguo%2Fpython-rust-json-testing'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5da2fd1b2b173545749b8fe2d79ccbdf7ceedca5 [INFO] checking 2018kguo/python-rust-json-testing against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F2018kguo%2Fpython-rust-json-testing" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/2018kguo/python-rust-json-testing 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/2018kguo/python-rust-json-testing [INFO] finished tweaking git repo https://github.com/2018kguo/python-rust-json-testing [INFO] tweaked toml for git repo https://github.com/2018kguo/python-rust-json-testing written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/2018kguo/python-rust-json-testing 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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded itoa v1.0.10 [INFO] [stderr] Downloaded smallvec v1.13.1 [INFO] [stderr] Downloaded target-lexicon v0.12.13 [INFO] [stderr] Downloaded serde_stacker v0.1.11 [INFO] [stderr] Downloaded ryu v1.0.16 [INFO] [stderr] Downloaded rayon v1.8.1 [INFO] [stderr] Downloaded serde_json v1.0.111 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 66b03f8c0a0ee9c44c1a96e74a6e0fb1e32ffe4204b33bcc14fe46153bce41a5 [INFO] running `Command { std: "docker" "start" "-a" "66b03f8c0a0ee9c44c1a96e74a6e0fb1e32ffe4204b33bcc14fe46153bce41a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "66b03f8c0a0ee9c44c1a96e74a6e0fb1e32ffe4204b33bcc14fe46153bce41a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66b03f8c0a0ee9c44c1a96e74a6e0fb1e32ffe4204b33bcc14fe46153bce41a5", kill_on_drop: false }` [INFO] [stdout] 66b03f8c0a0ee9c44c1a96e74a6e0fb1e32ffe4204b33bcc14fe46153bce41a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 6f5e340ca80cbf91bf2c19c29ee2aed7ed8d35e06b05680f71d70f6c1e604b7f [INFO] running `Command { std: "docker" "start" "-a" "6f5e340ca80cbf91bf2c19c29ee2aed7ed8d35e06b05680f71d70f6c1e604b7f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling target-lexicon v0.12.13 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking unindent v0.1.11 [INFO] [stderr] Checking rayon v1.8.1 [INFO] [stderr] Compiling pyo3-build-config v0.19.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Compiling pyo3-ffi v0.19.2 [INFO] [stderr] Compiling pyo3 v0.19.2 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Compiling pyo3-macros-backend v0.19.2 [INFO] [stderr] Compiling pyo3-macros v0.19.2 [INFO] [stderr] Checking serde_stacker v0.1.11 [INFO] [stderr] Checking pyo3-example v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rayon::prelude::*` [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | for i in 0..100 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | let mut value: MyStruct = serde_json::from_str(&json_str).unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.21s [INFO] running `Command { std: "docker" "inspect" "6f5e340ca80cbf91bf2c19c29ee2aed7ed8d35e06b05680f71d70f6c1e604b7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f5e340ca80cbf91bf2c19c29ee2aed7ed8d35e06b05680f71d70f6c1e604b7f", kill_on_drop: false }` [INFO] [stdout] 6f5e340ca80cbf91bf2c19c29ee2aed7ed8d35e06b05680f71d70f6c1e604b7f [INFO] checking 2018kguo/python-rust-json-testing against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F2018kguo%2Fpython-rust-json-testing" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/2018kguo/python-rust-json-testing 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/2018kguo/python-rust-json-testing [INFO] finished tweaking git repo https://github.com/2018kguo/python-rust-json-testing [INFO] tweaked toml for git repo https://github.com/2018kguo/python-rust-json-testing written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/2018kguo/python-rust-json-testing 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 4677c67833a39f912602b8df5ad69f5d7ff1cc192871b373a2568425a4b4ddf7 [INFO] running `Command { std: "docker" "start" "-a" "4677c67833a39f912602b8df5ad69f5d7ff1cc192871b373a2568425a4b4ddf7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4677c67833a39f912602b8df5ad69f5d7ff1cc192871b373a2568425a4b4ddf7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4677c67833a39f912602b8df5ad69f5d7ff1cc192871b373a2568425a4b4ddf7", kill_on_drop: false }` [INFO] [stdout] 4677c67833a39f912602b8df5ad69f5d7ff1cc192871b373a2568425a4b4ddf7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] fc4fc9ce77c8ed8e2b322ba22b7431bd8c80ec52e743e1f1eb59432d75dafe9e [INFO] running `Command { std: "docker" "start" "-a" "fc4fc9ce77c8ed8e2b322ba22b7431bd8c80ec52e743e1f1eb59432d75dafe9e", 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 target-lexicon v0.12.13 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Checking unindent v0.1.11 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling pyo3-build-config v0.19.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rayon v1.8.1 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Compiling pyo3-ffi v0.19.2 [INFO] [stderr] Compiling pyo3 v0.19.2 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Compiling pyo3-macros-backend v0.19.2 [INFO] [stderr] Compiling pyo3-macros v0.19.2 [INFO] [stderr] Checking serde_stacker v0.1.11 [INFO] [stderr] Checking pyo3-example v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/lib.rs (3 fixes) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fs` [INFO] [stdout] --> src/lib.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | let json_str = fs::read_to_string(filename).unwrap(); [INFO] [stdout] | ^^ use of undeclared crate or module `fs` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 37 + use std::fs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_par_iter` found for struct `std::ops::Range` in the current scope [INFO] [stdout] --> src/lib.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 49 | (0..100).into_par_iter().for_each(|_| { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rayon-1.8.1/src/iter/mod.rs:243:8 [INFO] [stdout] | [INFO] [stdout] 243 | fn into_par_iter(self) -> Self::Iter; [INFO] [stdout] | ------------- the method is available for `std::ops::Range<{integer}>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IntoParallelIterator` which provides `into_par_iter` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 37 + use rayon::iter::IntoParallelIterator; [INFO] [stdout] | [INFO] [stdout] help: there is a method `into_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 49 | (0..100).into_iter().for_each(|_| { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pyo3-example` (lib test) due to 3 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" "fc4fc9ce77c8ed8e2b322ba22b7431bd8c80ec52e743e1f1eb59432d75dafe9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc4fc9ce77c8ed8e2b322ba22b7431bd8c80ec52e743e1f1eb59432d75dafe9e", kill_on_drop: false }` [INFO] [stdout] fc4fc9ce77c8ed8e2b322ba22b7431bd8c80ec52e743e1f1eb59432d75dafe9e