[INFO] cloning repository https://github.com/Hugal31/validate-commit [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Hugal31/validate-commit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHugal31%2Fvalidate-commit", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHugal31%2Fvalidate-commit'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 92e51ed415fc6b754d6c4871fa60a0d2c4e54e5e [INFO] testing Hugal31/validate-commit 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%2FHugal31%2Fvalidate-commit" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Hugal31/validate-commit 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/Hugal31/validate-commit [INFO] finished tweaking git repo https://github.com/Hugal31/validate-commit [INFO] tweaked toml for git repo https://github.com/Hugal31/validate-commit written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/Hugal31/validate-commit 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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] ce73aab9dc5041e8b924c955f71e3650c56b05bc5f4ef5cdd722bd785408fe32 [INFO] running `Command { std: "docker" "start" "-a" "ce73aab9dc5041e8b924c955f71e3650c56b05bc5f4ef5cdd722bd785408fe32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ce73aab9dc5041e8b924c955f71e3650c56b05bc5f4ef5cdd722bd785408fe32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce73aab9dc5041e8b924c955f71e3650c56b05bc5f4ef5cdd722bd785408fe32", kill_on_drop: false }` [INFO] [stdout] ce73aab9dc5041e8b924c955f71e3650c56b05bc5f4ef5cdd722bd785408fe32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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] c8427d1eaf5a61cb127ca03183e0dace9abebc5b8bdf65114d8d856bdd1d855e [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" "c8427d1eaf5a61cb127ca03183e0dace9abebc5b8bdf65114d8d856bdd1d855e", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.9 [INFO] [stderr] Compiling libc v0.2.40 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling rustc-demangle v0.1.7 [INFO] [stderr] Compiling synstructure v0.6.1 [INFO] [stderr] Compiling failure_derive v0.1.1 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Compiling backtrace v0.3.5 [INFO] [stderr] Compiling failure v0.1.1 [INFO] [stderr] Compiling validate-commit v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:31:32 [INFO] [stdout] | [INFO] [stdout] 31 | fn cause(&self) -> Option<&Fail> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 - fn cause(&self) -> Option<&Fail> { [INFO] [stdout] 31 + fn cause(&self) -> Option<&dyn Fail> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/parse.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | s == s.trim_left() [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/parse.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | s == s.trim_right() [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 31.41s [INFO] running `Command { std: "docker" "inspect" "c8427d1eaf5a61cb127ca03183e0dace9abebc5b8bdf65114d8d856bdd1d855e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8427d1eaf5a61cb127ca03183e0dace9abebc5b8bdf65114d8d856bdd1d855e", kill_on_drop: false }` [INFO] [stdout] c8427d1eaf5a61cb127ca03183e0dace9abebc5b8bdf65114d8d856bdd1d855e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 56026018d8c746d7b4ea3583b709e85de5fa9135fcd6c3d43ab0a6bb659a1d23 [INFO] running `Command { std: "docker" "start" "-a" "56026018d8c746d7b4ea3583b709e85de5fa9135fcd6c3d43ab0a6bb659a1d23", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling validate-commit v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:31:32 [INFO] [stdout] | [INFO] [stdout] 31 | fn cause(&self) -> Option<&Fail> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 - fn cause(&self) -> Option<&Fail> { [INFO] [stdout] 31 + fn cause(&self) -> Option<&dyn Fail> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/parse.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | s == s.trim_left() [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/parse.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | s == s.trim_right() [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:31:32 [INFO] [stdout] | [INFO] [stdout] 31 | fn cause(&self) -> Option<&Fail> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 - fn cause(&self) -> Option<&Fail> { [INFO] [stdout] 31 + fn cause(&self) -> Option<&dyn Fail> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/parse.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | s == s.trim_left() [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/parse.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | s == s.trim_right() [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.26s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/validate_commit-bcce1cc2547ca6e9) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/validate_commit-c1b2746ecaa0ea8a) [INFO] running `Command { std: "docker" "inspect" "56026018d8c746d7b4ea3583b709e85de5fa9135fcd6c3d43ab0a6bb659a1d23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56026018d8c746d7b4ea3583b709e85de5fa9135fcd6c3d43ab0a6bb659a1d23", kill_on_drop: false }` [INFO] [stdout] 56026018d8c746d7b4ea3583b709e85de5fa9135fcd6c3d43ab0a6bb659a1d23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6e14c81b6c2861f0ede193ac3712d3ca14ed00d974abb4943876b9d7542f4b7f [INFO] running `Command { std: "docker" "start" "-a" "6e14c81b6c2861f0ede193ac3712d3ca14ed00d974abb4943876b9d7542f4b7f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/errors.rs:31:32 [INFO] [stderr] | [INFO] [stderr] 31 | fn cause(&self) -> Option<&Fail> { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 31 - fn cause(&self) -> Option<&Fail> { [INFO] [stderr] 31 + fn cause(&self) -> Option<&dyn Fail> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stderr] --> src/parse.rs:58:12 [INFO] [stderr] | [INFO] [stderr] 58 | s == s.trim_left() [INFO] [stderr] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stderr] --> src/parse.rs:62:12 [INFO] [stderr] | [INFO] [stderr] 62 | s == s.trim_right() [INFO] [stderr] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stderr] [INFO] [stderr] warning: `validate-commit` (lib) generated 3 warnings [INFO] [stderr] warning: `validate-commit` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/validate_commit-bcce1cc2547ca6e9) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test parse::tests::discard_missing_whitespace ... ok [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/validate_commit-c1b2746ecaa0ea8a) [INFO] [stdout] test parse::tests::discard_not_trimmed_subject ... ok [INFO] [stdout] test parse::tests::test_discard_invalid_commit_type ... ok [INFO] [stdout] test parse::tests::test_fixup_or_squash ... ok [INFO] [stdout] test tests::discard_invalid_commit_type ... ok [INFO] [stdout] test tests::discard_too_long_lines ... ok [INFO] [stdout] test tests::discard_capitalized_subject ... ok [INFO] [stdout] test tests::ignore_wip_and_merge_message ... ok [INFO] [stdout] test tests::discard_missing_subject ... ok [INFO] [stdout] test parse::tests::test_parse_header ... ok [INFO] [stdout] test tests::discard_missing_whitespace_before_subject ... ok [INFO] [stdout] test parse::tests::test_second_line_empty ... ok [INFO] [stdout] test tests::validate_short_messages ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [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 validate-commit [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - validate_commit_message (line 114) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.87s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6e14c81b6c2861f0ede193ac3712d3ca14ed00d974abb4943876b9d7542f4b7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e14c81b6c2861f0ede193ac3712d3ca14ed00d974abb4943876b9d7542f4b7f", kill_on_drop: false }` [INFO] [stdout] 6e14c81b6c2861f0ede193ac3712d3ca14ed00d974abb4943876b9d7542f4b7f