[INFO] cloning repository https://github.com/korvahannu/dwebpa [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/korvahannu/dwebpa" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkorvahannu%2Fdwebpa", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkorvahannu%2Fdwebpa'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 84803f2f6bb0503c6cc9f83b5bdecfb1f11800b7 [INFO] testing korvahannu/dwebpa against 1.99.0-beta.1+cargoflags=--release for beta-release-1.99-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkorvahannu%2Fdwebpa" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/korvahannu/dwebpa [INFO] finished tweaking git repo https://github.com/korvahannu/dwebpa [INFO] tweaked toml for git repo https://github.com/korvahannu/dwebpa written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/korvahannu/dwebpa on toolchain 1.99.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/korvahannu/dwebpa 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" "+1.99.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] testing korvahannu/dwebpa against 1.99.0-beta.1+cargoflags=--release for beta-release-1.99-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkorvahannu%2Fdwebpa" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/korvahannu/dwebpa [INFO] finished tweaking git repo https://github.com/korvahannu/dwebpa [INFO] tweaked toml for git repo https://github.com/korvahannu/dwebpa written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/korvahannu/dwebpa on toolchain 1.99.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/korvahannu/dwebpa 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" "+1.99.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] d16572ea30777c7bd90f5522242ac1013875fb4c1e23606c79c43a94539222b1 [INFO] running `Command { std: "docker" "start" "d16572ea30777c7bd90f5522242ac1013875fb4c1e23606c79c43a94539222b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d16572ea30777c7bd90f5522242ac1013875fb4c1e23606c79c43a94539222b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d16572ea30777c7bd90f5522242ac1013875fb4c1e23606c79c43a94539222b1" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d16572ea30777c7bd90f5522242ac1013875fb4c1e23606c79c43a94539222b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d16572ea30777c7bd90f5522242ac1013875fb4c1e23606c79c43a94539222b1" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling dwebpa v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.86s [INFO] running `Command { std: "docker" "inspect" "d16572ea30777c7bd90f5522242ac1013875fb4c1e23606c79c43a94539222b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d16572ea30777c7bd90f5522242ac1013875fb4c1e23606c79c43a94539222b1" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling dwebpa v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.18s [INFO] running `Command { std: "docker" "inspect" "d16572ea30777c7bd90f5522242ac1013875fb4c1e23606c79c43a94539222b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d16572ea30777c7bd90f5522242ac1013875fb4c1e23606c79c43a94539222b1" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "test" "--frozen" "--release", kill_on_drop: false }` [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.01s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/release/deps/dwebpa-98a96d5b8e1d8fc5) [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] [stderr] Running unittests src/main.rs (/opt/rustwide/target/release/deps/dwebpa-088f477deae88c4a) [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] [stderr] Doc-tests dwebpa [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test src/converter.rs - converter::Converter (line 26) ... FAILED [INFO] [stdout] test src/fileutils.rs - fileutils::delete_files (line 10) ... FAILED [INFO] [stdout] test src/fileutils.rs - fileutils::run_command (line 33) ... FAILED [INFO] [stdout] test src/fileutils.rs - fileutils::get_all_files (line 110) ... FAILED [INFO] [stdout] test src/fileutils.rs - fileutils::get_all_directories (line 130) ... FAILED [INFO] [stdout] test src/fileutils.rs - fileutils::get_non_webp_files (line 88) ... FAILED [INFO] [stdout] test src/fileutils.rs - fileutils::get_webp_files (line 51) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/converter.rs - converter::Converter (line 26) stdout ---- [INFO] [stdout] error: expected item, found keyword `let` [INFO] [stdout] --> src/converter.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | let converter = Converter::new().unwrap(); [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | `let` cannot be used for global variables [INFO] [stdout] | help: consider using `static` or `const` instead of `let` [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/fileutils.rs - fileutils::delete_files (line 10) stdout ---- [INFO] [stdout] error[E0425]: cannot find type `PathBuf` in this scope [INFO] [stdout] --> src/fileutils.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | let files : Vec = vec![PathBuf::new("./example1.png"), PathBuf::new("./example2.png")]; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 + use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `PathBuf` in this scope [INFO] [stdout] --> src/fileutils.rs:11:33 [INFO] [stdout] | [INFO] [stdout] 11 | let files : Vec = vec![PathBuf::new("./example1.png"), PathBuf::new("./example2.png")]; [INFO] [stdout] | ^^^^^^^ use of undeclared type `PathBuf` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 + use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `PathBuf` in this scope [INFO] [stdout] --> src/fileutils.rs:11:65 [INFO] [stdout] | [INFO] [stdout] 11 | let files : Vec = vec![PathBuf::new("./example1.png"), PathBuf::new("./example2.png")]; [INFO] [stdout] | ^^^^^^^ use of undeclared type `PathBuf` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 + use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `delete_files` in this scope [INFO] [stdout] --> src/fileutils.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | delete_files(&files); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/fileutils.rs - fileutils::run_command (line 33) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `run_command` in this scope [INFO] [stdout] --> src/fileutils.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | run_command(&String::from("rm -rf ./*")); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/fileutils.rs - fileutils::get_all_files (line 110) stdout ---- [INFO] [stdout] error[E0425]: cannot find type `PathBuf` in this scope [INFO] [stdout] --> src/fileutils.rs:111:20 [INFO] [stdout] | [INFO] [stdout] 111 | let all_files: Vec = get_all_files(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 110 + use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_all_files` in this scope [INFO] [stdout] --> src/fileutils.rs:111:31 [INFO] [stdout] | [INFO] [stdout] 111 | let all_files: Vec = get_all_files(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/fileutils.rs - fileutils::get_all_directories (line 130) stdout ---- [INFO] [stdout] error[E0425]: cannot find type `PathBuf` in this scope [INFO] [stdout] --> src/fileutils.rs:131:26 [INFO] [stdout] | [INFO] [stdout] 131 | let all_directories: Vec = get_all_directories("/home/example"); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 130 + use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_all_directories` in this scope [INFO] [stdout] --> src/fileutils.rs:131:37 [INFO] [stdout] | [INFO] [stdout] 131 | let all_directories: Vec = get_all_directories("/home/example"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/fileutils.rs - fileutils::get_non_webp_files (line 88) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `get_non_webp_files` in this scope [INFO] [stdout] --> src/fileutils.rs:89:34 [INFO] [stdout] | [INFO] [stdout] 89 | let non_web_files: Vec = get_non_webp_files(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/fileutils.rs - fileutils::get_webp_files (line 51) stdout ---- [INFO] [stdout] error[E0425]: cannot find type `PathBuf` in this scope [INFO] [stdout] --> src/fileutils.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 52 | let web_files: Vec = get_webp_files("/home/example", false); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 51 + use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_webp_files` in this scope [INFO] [stdout] --> src/fileutils.rs:52:31 [INFO] [stdout] | [INFO] [stdout] 52 | let web_files: Vec = get_webp_files("/home/example", false); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/converter.rs - converter::Converter (line 26) [INFO] [stdout] src/fileutils.rs - fileutils::delete_files (line 10) [INFO] [stdout] src/fileutils.rs - fileutils::get_all_directories (line 130) [INFO] [stdout] src/fileutils.rs - fileutils::get_all_files (line 110) [INFO] [stdout] src/fileutils.rs - fileutils::get_non_webp_files (line 88) [INFO] [stdout] src/fileutils.rs - fileutils::get_webp_files (line 51) [INFO] [stdout] src/fileutils.rs - fileutils::run_command (line 33) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "d16572ea30777c7bd90f5522242ac1013875fb4c1e23606c79c43a94539222b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d16572ea30777c7bd90f5522242ac1013875fb4c1e23606c79c43a94539222b1", kill_on_drop: false }` [INFO] [stdout] d16572ea30777c7bd90f5522242ac1013875fb4c1e23606c79c43a94539222b1