[INFO] cloning repository https://github.com/HoolaBoola/tesseract-bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HoolaBoola/tesseract-bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHoolaBoola%2Ftesseract-bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHoolaBoola%2Ftesseract-bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b559a28b651e3bcc44b5ea2f5f52e008962c303b [INFO] testing HoolaBoola/tesseract-bot against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHoolaBoola%2Ftesseract-bot" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HoolaBoola/tesseract-bot on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/HoolaBoola/tesseract-bot [INFO] finished tweaking git repo https://github.com/HoolaBoola/tesseract-bot [INFO] tweaked toml for git repo https://github.com/HoolaBoola/tesseract-bot written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/HoolaBoola/tesseract-bot already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (serenity) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "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] 095b2c15edc35866736f92a6efbda82f4483ae64e6f180c0124cf272abecc610 [INFO] running `Command { std: "docker" "start" "-a" "095b2c15edc35866736f92a6efbda82f4483ae64e6f180c0124cf272abecc610", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "095b2c15edc35866736f92a6efbda82f4483ae64e6f180c0124cf272abecc610", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "095b2c15edc35866736f92a6efbda82f4483ae64e6f180c0124cf272abecc610", kill_on_drop: false }` [INFO] [stdout] 095b2c15edc35866736f92a6efbda82f4483ae64e6f180c0124cf272abecc610 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3c1e9a8b8542f35ef42f03d0b437bbefb3a517d7ac6569df00773b94908db958 [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" "3c1e9a8b8542f35ef42f03d0b437bbefb3a517d7ac6569df00773b94908db958", kill_on_drop: false }` [INFO] [stderr] warning: dependency (serenity) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling bindgen v0.50.1 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling dtoa v0.4.5 [INFO] [stderr] Compiling serenity v0.8.0 [INFO] [stderr] Compiling uwl v0.5.1 [INFO] [stderr] Compiling kankyo v0.3.0 [INFO] [stderr] Compiling ring v0.16.11 [INFO] [stderr] Compiling backtrace-sys v0.1.34 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling http v0.2.0 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling miniz_oxide v0.3.6 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling lock_api v0.3.3 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling regex v1.3.5 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling flate2 v1.0.13 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling input_buffer v0.2.0 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Compiling tokio v0.2.13 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling backtrace v0.3.45 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling failure v0.1.7 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling which v2.0.1 [INFO] [stderr] Compiling tungstenite v0.9.2 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling webpki v0.21.2 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling webpki-roots v0.18.0 [INFO] [stderr] Compiling rustls v0.17.0 [INFO] [stderr] Compiling ct-logs v0.6.0 [INFO] [stderr] Compiling rustls v0.16.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling pin-project-internal v0.4.8 [INFO] [stderr] Compiling command_attr v0.1.7 [INFO] [stderr] Compiling tokio-rustls v0.13.0 [INFO] [stderr] Compiling rustls-native-certs v0.3.0 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling leptonica-sys v0.2.1 [INFO] [stderr] Compiling tesseract-sys v0.4.1 [INFO] [stderr] Compiling pin-project v0.4.8 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling h2 v0.2.2 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling hyper v0.13.3 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling serde_json v1.0.48 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling hyper-rustls v0.20.0 [INFO] [stderr] Compiling reqwest v0.10.4 [INFO] [stderr] Compiling leptess v0.8.1 [INFO] [stderr] Compiling discordbot-tesseract v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/commands/read.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let mut pix = leptess::leptonica::pix_read(Path::new(filename)).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: unused `Result` that must be used [INFO] [stdout] --> src/commands/read.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | fs::remove_file(&filename); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 44s [INFO] running `Command { std: "docker" "inspect" "3c1e9a8b8542f35ef42f03d0b437bbefb3a517d7ac6569df00773b94908db958", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c1e9a8b8542f35ef42f03d0b437bbefb3a517d7ac6569df00773b94908db958", kill_on_drop: false }` [INFO] [stdout] 3c1e9a8b8542f35ef42f03d0b437bbefb3a517d7ac6569df00773b94908db958 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 507590bc18bae16047a42734f2a2bf9969143b98073e2ac43f2e018cc59a83b7 [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" "507590bc18bae16047a42734f2a2bf9969143b98073e2ac43f2e018cc59a83b7", kill_on_drop: false }` [INFO] [stderr] warning: dependency (serenity) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling discordbot-tesseract v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/commands/read.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let mut pix = leptess::leptonica::pix_read(Path::new(filename)).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: unused `Result` that must be used [INFO] [stdout] --> src/commands/read.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | fs::remove_file(&filename); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 8.17s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/discordbot_tesseract-d2d73d690bd8d6c1) [INFO] running `Command { std: "docker" "inspect" "507590bc18bae16047a42734f2a2bf9969143b98073e2ac43f2e018cc59a83b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "507590bc18bae16047a42734f2a2bf9969143b98073e2ac43f2e018cc59a83b7", kill_on_drop: false }` [INFO] [stdout] 507590bc18bae16047a42734f2a2bf9969143b98073e2ac43f2e018cc59a83b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ec23a3aadeaf866f0ad9ab83b7f69537f2dcbb95cd85d44a66177fe32192a5b8 [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" "ec23a3aadeaf866f0ad9ab83b7f69537f2dcbb95cd85d44a66177fe32192a5b8", kill_on_drop: false }` [INFO] [stderr] warning: dependency (serenity) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/commands/read.rs:70:9 [INFO] [stderr] | [INFO] [stderr] 70 | let mut pix = leptess::leptonica::pix_read(Path::new(filename)).unwrap(); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/commands/read.rs:47:13 [INFO] [stderr] | [INFO] [stderr] 47 | fs::remove_file(&filename); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: `discordbot-tesseract` (bin "discordbot-tesseract" test) generated 2 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/discordbot_tesseract-d2d73d690bd8d6c1) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ec23a3aadeaf866f0ad9ab83b7f69537f2dcbb95cd85d44a66177fe32192a5b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec23a3aadeaf866f0ad9ab83b7f69537f2dcbb95cd85d44a66177fe32192a5b8", kill_on_drop: false }` [INFO] [stdout] ec23a3aadeaf866f0ad9ab83b7f69537f2dcbb95cd85d44a66177fe32192a5b8