[INFO] fetching crate algo 0.1.9... [INFO] testing algo-0.1.9 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate algo 0.1.9 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate algo 0.1.9 [INFO] finished tweaking crates.io crate algo 0.1.9 [INFO] tweaked toml for crates.io crate algo 0.1.9 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate algo 0.1.9 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d71020c04b68af56bcc6cad28ca47f7b59153a4d3b852cf0a5a7aac90e118c22 [INFO] running `Command { std: "docker" "start" "-a" "d71020c04b68af56bcc6cad28ca47f7b59153a4d3b852cf0a5a7aac90e118c22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d71020c04b68af56bcc6cad28ca47f7b59153a4d3b852cf0a5a7aac90e118c22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d71020c04b68af56bcc6cad28ca47f7b59153a4d3b852cf0a5a7aac90e118c22", kill_on_drop: false }` [INFO] [stdout] d71020c04b68af56bcc6cad28ca47f7b59153a4d3b852cf0a5a7aac90e118c22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 34ae42e6452b3df4e85debc548e8ae92fe7a1809d9ccf4b743e2bc8db360fe8d [INFO] running `Command { std: "docker" "start" "-a" "34ae42e6452b3df4e85debc548e8ae92fe7a1809d9ccf4b743e2bc8db360fe8d", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling algo v0.1.9 (/opt/rustwide/workdir) [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/search/max_subarray.rs:41:56 [INFO] [stdout] | [INFO] [stdout] 41 | let (left_idx, left_max) = cross_part_max(arr, (low...mid).rev()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 41 - let (left_idx, left_max) = cross_part_max(arr, (low...mid).rev()); [INFO] [stdout] 41 + let (left_idx, left_max) = cross_part_max(arr, (low..mid).rev()); [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 41 - let (left_idx, left_max) = cross_part_max(arr, (low...mid).rev()); [INFO] [stdout] 41 + let (left_idx, left_max) = cross_part_max(arr, (low..=mid).rev()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/search/max_subarray.rs:42:63 [INFO] [stdout] | [INFO] [stdout] 42 | let (right_idx, right_max) = cross_part_max(arr, (mid + 1)...high); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 42 - let (right_idx, right_max) = cross_part_max(arr, (mid + 1)...high); [INFO] [stdout] 42 + let (right_idx, right_max) = cross_part_max(arr, (mid + 1)..high); [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 42 - let (right_idx, right_max) = cross_part_max(arr, (mid + 1)...high); [INFO] [stdout] 42 + let (right_idx, right_max) = cross_part_max(arr, (mid + 1)..=high); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `test`: `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/math/gcd.rs:119:3 [INFO] [stdout] | [INFO] [stdout] 119 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-06-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `test`: `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/math/gcd.rs:124:3 [INFO] [stdout] | [INFO] [stdout] 124 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-06-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `test`: `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/search/kmp.rs:108:3 [INFO] [stdout] | [INFO] [stdout] 108 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-06-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `test`: `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/search/kmp.rs:117:3 [INFO] [stdout] | [INFO] [stdout] 117 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-06-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `test`: `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/search/max_subarray.rs:80:3 [INFO] [stdout] | [INFO] [stdout] 80 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-06-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `test`: `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/sort/insertion.rs:70:3 [INFO] [stdout] | [INFO] [stdout] 70 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-06-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `test`: `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/sort/insertion.rs:79:3 [INFO] [stdout] | [INFO] [stdout] 79 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-06-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `test`: `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/sort/insertion.rs:88:3 [INFO] [stdout] | [INFO] [stdout] 88 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-06-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `test`: `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/sort/selection.rs:26:3 [INFO] [stdout] | [INFO] [stdout] 26 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-06-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `test`: `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/sort/merge.rs:45:3 [INFO] [stdout] | [INFO] [stdout] 45 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-06-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `test`: `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/sort/heap.rs:76:3 [INFO] [stdout] | [INFO] [stdout] 76 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-06-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `test`: `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/sort/mod.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-06-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `test`: `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/data_structures/heap/fibonacci.rs:457:3 [INFO] [stdout] | [INFO] [stdout] 457 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-06-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `test`: `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/data_structures/heap/unsafe_fibonacci.rs:431:3 [INFO] [stdout] | [INFO] [stdout] 431 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-06-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `test`: `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/data_structures/heap/mod.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-06-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::num::Zero`, `std::num::One` [INFO] [stdout] --> src/math/gcd.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::num::{Zero, One}; [INFO] [stdout] | ^^^^ ^^^ no `One` in `num` [INFO] [stdout] | | [INFO] [stdout] | no `Zero` in `num` [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these variants instead: [INFO] [stdout] std::num::FpCategory::Zero [INFO] [stdout] std::num::IntErrorKind::Zero [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::num::Zero` [INFO] [stdout] --> src/math/lcm.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::num::Zero; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `Zero` in `num` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these variants instead [INFO] [stdout] | [INFO] [stdout] 1 | use std::num::FpCategory::Zero; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] 1 | use std::num::IntErrorKind::Zero; [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `inclusive_range_syntax` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(zero_one, inclusive_range_syntax)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `zero_one` [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(zero_one, inclusive_range_syntax)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0635, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `algo` (lib) due to 20 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "34ae42e6452b3df4e85debc548e8ae92fe7a1809d9ccf4b743e2bc8db360fe8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34ae42e6452b3df4e85debc548e8ae92fe7a1809d9ccf4b743e2bc8db360fe8d", kill_on_drop: false }` [INFO] [stdout] 34ae42e6452b3df4e85debc548e8ae92fe7a1809d9ccf4b743e2bc8db360fe8d