[INFO] cloning repository https://github.com/Kelossus/utilities
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kelossus/utilities" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKelossus%2Futilities", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKelossus%2Futilities'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5b38bb3bcd7d8f22edeac28fcef1362200fe49e0
[INFO] checking Kelossus/utilities/5b38bb3bcd7d8f22edeac28fcef1362200fe49e0 against master#568b11762723b001bfa693d0f21c5dad01d4e813 for pr-148190
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKelossus%2Futilities" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Kelossus/utilities
[INFO] finished tweaking git repo https://github.com/Kelossus/utilities
[INFO] tweaked toml for git repo https://github.com/Kelossus/utilities written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Kelossus/utilities on toolchain 568b11762723b001bfa693d0f21c5dad01d4e813
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+568b11762723b001bfa693d0f21c5dad01d4e813" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Kelossus/utilities 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" "+568b11762723b001bfa693d0f21c5dad01d4e813" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: path `src/util.rs` was erroneously implicitly accepted for library `util`,
[INFO] [stderr] please rename the file to `src/lib.rs` or set lib.path in Cargo.toml
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+568b11762723b001bfa693d0f21c5dad01d4e813" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 93167373d609aa20f49d136f5c3234cc32510c35b998341c88660868cd5e0d56
[INFO] running `Command { std: "docker" "start" "-a" "93167373d609aa20f49d136f5c3234cc32510c35b998341c88660868cd5e0d56", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "93167373d609aa20f49d136f5c3234cc32510c35b998341c88660868cd5e0d56", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "93167373d609aa20f49d136f5c3234cc32510c35b998341c88660868cd5e0d56", kill_on_drop: false }`
[INFO] [stdout] 93167373d609aa20f49d136f5c3234cc32510c35b998341c88660868cd5e0d56
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+568b11762723b001bfa693d0f21c5dad01d4e813" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 91e9e40e397405c0c27fa6f826d8e2bc79cc5e80fbcabb0f725c1ceca9f26877
[INFO] running `Command { std: "docker" "start" "-a" "91e9e40e397405c0c27fa6f826d8e2bc79cc5e80fbcabb0f725c1ceca9f26877", kill_on_drop: false }`
[INFO] [stderr] warning: path `src/util.rs` was erroneously implicitly accepted for library `util`,
[INFO] [stderr] please rename the file to `src/lib.rs` or set lib.path in Cargo.toml
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Checking utilities v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/util.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub extern fn read_line_with_timeout(timeout: u32) -> String {
[INFO] [stdout]    |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(missing_abi)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/util.rs:71:1
[INFO] [stdout]    |
[INFO] [stdout] 71 | extern fn KMP_shifts(pattern: String) -> Vec<i32> {
[INFO] [stdout]    | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep`
[INFO] [stdout]   --> src/util.rs:48:17
[INFO] [stdout]    |
[INFO] [stdout] 48 |         thread::sleep_ms(timeout);
[INFO] [stdout]    |                 ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/util.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub extern fn read_line_with_timeout(timeout: u32) -> String {
[INFO] [stdout]    |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(missing_abi)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/util.rs:71:1
[INFO] [stdout]    |
[INFO] [stdout] 71 | extern fn KMP_shifts(pattern: String) -> Vec<i32> {
[INFO] [stdout]    | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep`
[INFO] [stdout]   --> src/util.rs:48:17
[INFO] [stdout]    |
[INFO] [stdout] 48 |         thread::sleep_ms(timeout);
[INFO] [stdout]    |                 ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/util.rs:75:9
[INFO] [stdout]    |
[INFO] [stdout] 75 |     let mut pattern: Vec<char> =  pattern.chars().collect();
[INFO] [stdout]    |         ----^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `String`, which is not FFI-safe
[INFO] [stdout]   --> src/util.rs:21:55
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub extern fn read_line_with_timeout(timeout: u32) -> String {
[INFO] [stdout]    |                                                       ^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct
[INFO] [stdout]    = note: this struct has unspecified layout
[INFO] [stdout]    = note: `#[warn(improper_ctypes_definitions)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `String`, which is not FFI-safe
[INFO] [stdout]   --> src/util.rs:71:31
[INFO] [stdout]    |
[INFO] [stdout] 71 | extern fn KMP_shifts(pattern: String) -> Vec<i32> {
[INFO] [stdout]    |                               ^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct
[INFO] [stdout]    = note: this struct has unspecified layout
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `Vec<i32>`, which is not FFI-safe
[INFO] [stdout]   --> src/util.rs:71:42
[INFO] [stdout]    |
[INFO] [stdout] 71 | extern fn KMP_shifts(pattern: String) -> Vec<i32> {
[INFO] [stdout]    |                                          ^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct
[INFO] [stdout]    = note: this struct has unspecified layout
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/util.rs:75:9
[INFO] [stdout]    |
[INFO] [stdout] 75 |     let mut pattern: Vec<char> =  pattern.chars().collect();
[INFO] [stdout]    |         ----^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `String`, which is not FFI-safe
[INFO] [stdout]   --> src/util.rs:21:55
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub extern fn read_line_with_timeout(timeout: u32) -> String {
[INFO] [stdout]    |                                                       ^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct
[INFO] [stdout]    = note: this struct has unspecified layout
[INFO] [stdout]    = note: `#[warn(improper_ctypes_definitions)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `String`, which is not FFI-safe
[INFO] [stdout]   --> src/util.rs:71:31
[INFO] [stdout]    |
[INFO] [stdout] 71 | extern fn KMP_shifts(pattern: String) -> Vec<i32> {
[INFO] [stdout]    |                               ^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct
[INFO] [stdout]    = note: this struct has unspecified layout
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `Vec<i32>`, which is not FFI-safe
[INFO] [stdout]   --> src/util.rs:71:42
[INFO] [stdout]    |
[INFO] [stdout] 71 | extern fn KMP_shifts(pattern: String) -> Vec<i32> {
[INFO] [stdout]    |                                          ^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct
[INFO] [stdout]    = note: this struct has unspecified layout
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `KMP_shifts` in this scope
[INFO] [stdout]   --> tests/tests.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let a = KMP_shifts("aaabaaooaafsjmskjaakka a".to_string());
[INFO] [stdout]    |             ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `utilities` (test "tests") due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "91e9e40e397405c0c27fa6f826d8e2bc79cc5e80fbcabb0f725c1ceca9f26877", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "91e9e40e397405c0c27fa6f826d8e2bc79cc5e80fbcabb0f725c1ceca9f26877", kill_on_drop: false }`
[INFO] [stdout] 91e9e40e397405c0c27fa6f826d8e2bc79cc5e80fbcabb0f725c1ceca9f26877
