[INFO] cloning repository https://github.com/eoinkelly/rgit [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eoinkelly/rgit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feoinkelly%2Frgit", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feoinkelly%2Frgit'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9d5c4aace5309d6e23e39be94f42a8e94cfb92e6 [INFO] testing eoinkelly/rgit against master#0d13f6afeba4935499abe0c9a07426c94492c94e for pr-96025 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feoinkelly%2Frgit" "/workspace/builds/worker-46/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-46/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/eoinkelly/rgit on toolchain 0d13f6afeba4935499abe0c9a07426c94492c94e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d13f6afeba4935499abe0c9a07426c94492c94e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/eoinkelly/rgit [INFO] finished tweaking git repo https://github.com/eoinkelly/rgit [INFO] tweaked toml for git repo https://github.com/eoinkelly/rgit written to /workspace/builds/worker-46/source/Cargo.toml [INFO] crate git repo https://github.com/eoinkelly/rgit already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d13f6afeba4935499abe0c9a07426c94492c94e" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thread_local v0.3.3 [INFO] [stderr] Downloaded num-rational v0.1.35 [INFO] [stderr] Downloaded num-bigint v0.1.35 [INFO] [stderr] Downloaded regex v0.2.1 [INFO] [stderr] Downloaded aho-corasick v0.6.2 [INFO] [stderr] Downloaded num-complex v0.1.35 [INFO] [stderr] Downloaded rand v0.3.15 [INFO] [stderr] Downloaded regex-syntax v0.4.0 [INFO] [stderr] Downloaded utf8-ranges v1.0.0 [INFO] [stderr] Downloaded compress v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-46/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-46/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+0d13f6afeba4935499abe0c9a07426c94492c94e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 16f3a2c145abbb0d0333bd481c13708b013bd0766a54b45c8e287c5d5702e02d [INFO] running `Command { std: "docker" "start" "-a" "16f3a2c145abbb0d0333bd481c13708b013bd0766a54b45c8e287c5d5702e02d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "16f3a2c145abbb0d0333bd481c13708b013bd0766a54b45c8e287c5d5702e02d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16f3a2c145abbb0d0333bd481c13708b013bd0766a54b45c8e287c5d5702e02d", kill_on_drop: false }` [INFO] [stdout] 16f3a2c145abbb0d0333bd481c13708b013bd0766a54b45c8e287c5d5702e02d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-46/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-46/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+0d13f6afeba4935499abe0c9a07426c94492c94e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4dcf7a3ce834f2efbc879f6b58c3a00f27da63bb525c20d1c51b1e099fca5d46 [INFO] running `Command { std: "docker" "start" "-a" "4dcf7a3ce834f2efbc879f6b58c3a00f27da63bb525c20d1c51b1e099fca5d46", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.20 [INFO] [stderr] Compiling num-traits v0.1.36 [INFO] [stderr] Compiling rustc-serialize v0.3.22 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling log v0.3.6 [INFO] [stderr] Compiling byteorder v0.4.2 [INFO] [stderr] Compiling regex-syntax v0.4.0 [INFO] [stderr] Compiling lazy_static v0.2.2 [INFO] [stderr] Compiling unreachable v0.1.1 [INFO] [stderr] Compiling rand v0.3.15 [INFO] [stderr] Compiling memchr v1.0.1 [INFO] [stderr] Compiling thread-id v3.0.0 [INFO] [stderr] Compiling thread_local v0.3.3 [INFO] [stderr] Compiling aho-corasick v0.6.2 [INFO] [stderr] Compiling num-integer v0.1.32 [INFO] [stderr] Compiling num-iter v0.1.32 [INFO] [stderr] Compiling regex v0.2.1 [INFO] [stderr] Compiling num-bigint v0.1.35 [INFO] [stderr] Compiling num-complex v0.1.35 [INFO] [stderr] Compiling num-rational v0.1.35 [INFO] [stderr] Compiling num v0.1.36 [INFO] [stderr] Compiling compress v0.1.2 [INFO] [stderr] Compiling rgit v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/git_sha.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref SHA_REGEX: regex::Regex = regex::Regex::new(r"\A[a-fA-F0-9]{40,40}\z").unwrap(); [INFO] [stdout] 5 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/git_sha.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref SHA_REGEX: regex::Regex = regex::Regex::new(r"\A[a-fA-F0-9]{40,40}\z").unwrap(); [INFO] [stdout] 5 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 55s [INFO] running `Command { std: "docker" "inspect" "4dcf7a3ce834f2efbc879f6b58c3a00f27da63bb525c20d1c51b1e099fca5d46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4dcf7a3ce834f2efbc879f6b58c3a00f27da63bb525c20d1c51b1e099fca5d46", kill_on_drop: false }` [INFO] [stdout] 4dcf7a3ce834f2efbc879f6b58c3a00f27da63bb525c20d1c51b1e099fca5d46 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-46/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-46/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+0d13f6afeba4935499abe0c9a07426c94492c94e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d06fbedf3cb6857036053f50d9a8093616bdd33ae84558b8bbc405557c3d64f6 [INFO] running `Command { std: "docker" "start" "-a" "d06fbedf3cb6857036053f50d9a8093616bdd33ae84558b8bbc405557c3d64f6", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling rgit v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/git_sha.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref SHA_REGEX: regex::Regex = regex::Regex::new(r"\A[a-fA-F0-9]{40,40}\z").unwrap(); [INFO] [stdout] 5 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/git_sha.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | static ref SHA_REGEX: regex::Regex = regex::Regex::new(r"\A[a-fA-F0-9]{40,40}\z").unwrap(); [INFO] [stdout] 5 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 6.87s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/rgit-748b0548ded22745) [INFO] running `Command { std: "docker" "inspect" "d06fbedf3cb6857036053f50d9a8093616bdd33ae84558b8bbc405557c3d64f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d06fbedf3cb6857036053f50d9a8093616bdd33ae84558b8bbc405557c3d64f6", kill_on_drop: false }` [INFO] [stdout] d06fbedf3cb6857036053f50d9a8093616bdd33ae84558b8bbc405557c3d64f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-46/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-46/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+0d13f6afeba4935499abe0c9a07426c94492c94e" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f303efa4846a9d589bebb183a0955342bbd8c0561e0201dee3442104c8c1632f [INFO] running `Command { std: "docker" "start" "-a" "f303efa4846a9d589bebb183a0955342bbd8c0561e0201dee3442104c8c1632f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/git_sha.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / lazy_static! { [INFO] [stderr] 4 | | static ref SHA_REGEX: regex::Regex = regex::Regex::new(r"\A[a-fA-F0-9]{40,40}\z").unwrap(); [INFO] [stderr] 5 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/git_sha.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / lazy_static! { [INFO] [stderr] 4 | | static ref SHA_REGEX: regex::Regex = regex::Regex::new(r"\A[a-fA-F0-9]{40,40}\z").unwrap(); [INFO] [stderr] 5 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `rgit` (bin "rgit" test) generated 2 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.05s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rgit-748b0548ded22745) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test git_object_finder::tests::test_split_vec_on_byte_works_with_one_matching_byte ... ok [INFO] [stdout] test git_object_finder::tests::test_split_vec_on_byte_works_with_multiple_matching_bytes ... ok [INFO] [stdout] test git_sha::tests::test_from_creates_gitsha_given_valid_arg ... ok [INFO] [stdout] test git_object_finder::tests::test_find_finds_object_which_exists ... ok [INFO] [stdout] test git_sha::tests::test_from_panics_if_sha_contains_unexpected_chars - should panic ... ok [INFO] [stdout] test git_sha::tests::test_from_panics_if_sha_is_too_short - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.17s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f303efa4846a9d589bebb183a0955342bbd8c0561e0201dee3442104c8c1632f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f303efa4846a9d589bebb183a0955342bbd8c0561e0201dee3442104c8c1632f", kill_on_drop: false }` [INFO] [stdout] f303efa4846a9d589bebb183a0955342bbd8c0561e0201dee3442104c8c1632f