[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] testing Kelossus/utilities against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKelossus%2Futilities" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Kelossus/utilities on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-5/source/Cargo.toml [INFO] crate git repo https://github.com/Kelossus/utilities already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: path `/workspace/builds/worker-5/source/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] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 2c26f8ff5cf3164497a067c1b467c4792f7963ca8b62e266c2ef3d4cef673b97 [INFO] running `Command { std: "docker" "start" "-a" "2c26f8ff5cf3164497a067c1b467c4792f7963ca8b62e266c2ef3d4cef673b97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2c26f8ff5cf3164497a067c1b467c4792f7963ca8b62e266c2ef3d4cef673b97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c26f8ff5cf3164497a067c1b467c4792f7963ca8b62e266c2ef3d4cef673b97", kill_on_drop: false }` [INFO] [stdout] 2c26f8ff5cf3164497a067c1b467c4792f7963ca8b62e266c2ef3d4cef673b97 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b2bcf27d9da3f1d23cb12462ff3edfe12fbdb7f7f8ec32acb4dfad177563ae01 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b2bcf27d9da3f1d23cb12462ff3edfe12fbdb7f7f8ec32acb4dfad177563ae01", kill_on_drop: false }` [INFO] [stderr] warning: path `/opt/rustwide/workdir/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] Compiling utilities v0.1.0 (/opt/rustwide/workdir) [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 = pattern.chars().collect(); [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: `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] = note: `#[warn(improper_ctypes_definitions)]` on by default [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 `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 { [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`, which is not FFI-safe [INFO] [stdout] --> src/util.rs:71:42 [INFO] [stdout] | [INFO] [stdout] 71 | extern fn KMP_shifts(pattern: String) -> Vec { [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: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.07s [INFO] running `Command { std: "docker" "inspect" "b2bcf27d9da3f1d23cb12462ff3edfe12fbdb7f7f8ec32acb4dfad177563ae01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2bcf27d9da3f1d23cb12462ff3edfe12fbdb7f7f8ec32acb4dfad177563ae01", kill_on_drop: false }` [INFO] [stdout] b2bcf27d9da3f1d23cb12462ff3edfe12fbdb7f7f8ec32acb4dfad177563ae01 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c7cab0cb3ba32b57f31b8d41521b0c3276e87e4281f077a6de85ac0c69293f9b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c7cab0cb3ba32b57f31b8d41521b0c3276e87e4281f077a6de85ac0c69293f9b", kill_on_drop: false }` [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] [stderr] warning: path `/opt/rustwide/workdir/src/util.rs` was erroneously implicitly accepted for library `util`, [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 = pattern.chars().collect(); [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] [stderr] please rename the file to `src/lib.rs` or set lib.path in Cargo.toml [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] = note: `#[warn(improper_ctypes_definitions)]` on by default [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] [stderr] Compiling utilities v0.1.0 (/opt/rustwide/workdir) [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 { [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`, which is not FFI-safe [INFO] [stdout] --> src/util.rs:71:42 [INFO] [stdout] | [INFO] [stdout] 71 | extern fn KMP_shifts(pattern: String) -> Vec { [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: 5 warnings emitted [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 = pattern.chars().collect(); [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: `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] = note: `#[warn(improper_ctypes_definitions)]` on by default [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 `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 { [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`, which is not FFI-safe [INFO] [stdout] --> src/util.rs:71:42 [INFO] [stdout] | [INFO] [stdout] 71 | extern fn KMP_shifts(pattern: String) -> Vec { [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] error: aborting due to previous error [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` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c7cab0cb3ba32b57f31b8d41521b0c3276e87e4281f077a6de85ac0c69293f9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7cab0cb3ba32b57f31b8d41521b0c3276e87e4281f077a6de85ac0c69293f9b", kill_on_drop: false }` [INFO] [stdout] c7cab0cb3ba32b57f31b8d41521b0c3276e87e4281f077a6de85ac0c69293f9b