[INFO] fetching crate rust_stringz 1.0.0... [INFO] checking rust_stringz-1.0.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate rust_stringz 1.0.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate rust_stringz 1.0.0 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 crates.io crate rust_stringz 1.0.0 [INFO] finished tweaking crates.io crate rust_stringz 1.0.0 [INFO] tweaked toml for crates.io crate rust_stringz 1.0.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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] d07f5a8b03b64a35f7ca5fd845e8c8e41b579d9c92e5924b0bf7bf2c09186979 [INFO] running `Command { std: "docker" "start" "-a" "d07f5a8b03b64a35f7ca5fd845e8c8e41b579d9c92e5924b0bf7bf2c09186979", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d07f5a8b03b64a35f7ca5fd845e8c8e41b579d9c92e5924b0bf7bf2c09186979", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d07f5a8b03b64a35f7ca5fd845e8c8e41b579d9c92e5924b0bf7bf2c09186979", kill_on_drop: false }` [INFO] [stdout] d07f5a8b03b64a35f7ca5fd845e8c8e41b579d9c92e5924b0bf7bf2c09186979 [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] 634fc59cf84fe18c9e2d543d6053b8411508fbff2bec8dde127b0712387e226c [INFO] running `Command { std: "docker" "start" "-a" "634fc59cf84fe18c9e2d543d6053b8411508fbff2bec8dde127b0712387e226c", 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] Checking rust_stringz v1.0.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/to_lowercase.rs (1 fix) [INFO] [stderr] Fixed src/is_palindrome.rs (1 fix) [INFO] [stderr] Fixed src/count_occurrences.rs (1 fix) [INFO] [stderr] Fixed src/to_uppercase.rs (1 fix) [INFO] [stdout] error[E0425]: cannot find function `count_occurrences` in this scope [INFO] [stdout] --> src/count_occurrences.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | let result: usize = count_occurrences("test test", "test"); [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] 14 + use crate::count_occurrences; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `count_occurrences` in this scope [INFO] [stdout] --> src/count_occurrences.rs:22:29 [INFO] [stdout] | [INFO] [stdout] 22 | let result: usize = count_occurrences("test test", "testz"); [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] 14 + use crate::count_occurrences; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `count_occurrences` in this scope [INFO] [stdout] --> src/count_occurrences.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 28 | let result: usize = count_occurrences("A random sentence", "random"); [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] 14 + use crate::count_occurrences; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `count_occurrences` in this scope [INFO] [stdout] --> src/count_occurrences.rs:34:29 [INFO] [stdout] | [INFO] [stdout] 34 | let result: usize = count_occurrences("Hello", "o"); [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] 14 + use crate::count_occurrences; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_palindrome` in this scope [INFO] [stdout] --> src/is_palindrome.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | let result = is_palindrome("radar"); [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] 25 + use crate::is_palindrome; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_palindrome` in this scope [INFO] [stdout] --> src/is_palindrome.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | let result = is_palindrome("mom"); [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] 25 + use crate::is_palindrome; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_palindrome` in this scope [INFO] [stdout] --> src/is_palindrome.rs:39:22 [INFO] [stdout] | [INFO] [stdout] 39 | let result = is_palindrome("test"); [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] 25 + use crate::is_palindrome; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_palindrome` in this scope [INFO] [stdout] --> src/is_palindrome.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | let result = is_palindrome("A man, a plan, a canal, Panama"); [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] 25 + use crate::is_palindrome; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_palindrome` in this scope [INFO] [stdout] --> src/is_palindrome.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | let result = is_palindrome(""); [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] 25 + use crate::is_palindrome; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_palindrome` in this scope [INFO] [stdout] --> src/is_palindrome.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | let result = is_palindrome(" "); [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] 25 + use crate::is_palindrome; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_palindrome` in this scope [INFO] [stdout] --> src/is_palindrome.rs:63:22 [INFO] [stdout] | [INFO] [stdout] 63 | let result = is_palindrome(".,;:"); [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] 25 + use crate::is_palindrome; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_palindrome` in this scope [INFO] [stdout] --> src/is_palindrome.rs:69:22 [INFO] [stdout] | [INFO] [stdout] 69 | let result = is_palindrome(" , ; : "); [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] 25 + use crate::is_palindrome; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_lowercase` in this scope [INFO] [stdout] --> src/to_lowercase.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | let result = to_lowercase("TEST"); [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] 8 + use crate::to_lowercase; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_lowercase` in this scope [INFO] [stdout] --> src/to_lowercase.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | let result: String = to_lowercase("TeSt_TeSt"); [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] 8 + use crate::to_lowercase; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_uppercase` in this scope [INFO] [stdout] --> src/to_uppercase.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | let result = to_uppercase("test"); [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] 8 + use crate::to_uppercase; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_uppercase` in this scope [INFO] [stdout] --> src/to_uppercase.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | let result: String = to_uppercase("TeSt_TeSt"); [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] 8 + use crate::to_uppercase; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_stringz` (lib test) due to 17 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" "634fc59cf84fe18c9e2d543d6053b8411508fbff2bec8dde127b0712387e226c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "634fc59cf84fe18c9e2d543d6053b8411508fbff2bec8dde127b0712387e226c", kill_on_drop: false }` [INFO] [stdout] 634fc59cf84fe18c9e2d543d6053b8411508fbff2bec8dde127b0712387e226c