[INFO] updating cached repository https://github.com/shulhi/gitsha [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] becbef5baec32c92fee0b3b243025a514c7108f0 [INFO] testing shulhi/gitsha against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshulhi%2Fgitsha" "/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/shulhi/gitsha on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/shulhi/gitsha [INFO] finished tweaking git repo https://github.com/shulhi/gitsha [INFO] tweaked toml for git repo https://github.com/shulhi/gitsha written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/shulhi/gitsha already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a6c8ccab246e40652a52b5145e0b5a37862c95912f35c993f26e149cc639437 [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" "9a6c8ccab246e40652a52b5145e0b5a37862c95912f35c993f26e149cc639437", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a6c8ccab246e40652a52b5145e0b5a37862c95912f35c993f26e149cc639437", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a6c8ccab246e40652a52b5145e0b5a37862c95912f35c993f26e149cc639437", kill_on_drop: false }` [INFO] [stdout] 9a6c8ccab246e40652a52b5145e0b5a37862c95912f35c993f26e149cc639437 [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e334fe791f0935477ad063090fe91144b61695578b395eca465b2909da69866 [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" "4e334fe791f0935477ad063090fe91144b61695578b395eca465b2909da69866", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling rayon-core v1.4.0 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling gcc v0.3.54 [INFO] [stderr] Compiling untrusted v0.5.1 [INFO] [stderr] Compiling safemem v0.2.0 [INFO] [stderr] Compiling lazycell v0.6.0 [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling version_check v0.1.3 [INFO] [stderr] Compiling slab v0.4.0 [INFO] [stderr] Compiling scoped-tls v0.1.0 [INFO] [stderr] Compiling smallvec v0.2.1 [INFO] [stderr] Compiling take v0.1.0 [INFO] [stderr] Compiling httparse v1.2.4 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling dtoa v0.4.2 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling bitflags v1.0.1 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling vec_map v0.8.0 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling log v0.4.1 [INFO] [stderr] Compiling net2 v0.2.31 [INFO] [stderr] Compiling base64 v0.6.0 [INFO] [stderr] Compiling base64 v0.9.0 [INFO] [stderr] Compiling bytes v0.4.6 [INFO] [stderr] Compiling textwrap v0.9.0 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Compiling serde_json v1.0.9 [INFO] [stderr] Compiling crossbeam-epoch v0.3.0 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling backtrace v0.3.5 [INFO] [stderr] Compiling clap v2.30.0 [INFO] [stderr] Compiling unicase v2.1.0 [INFO] [stderr] Compiling mio v0.6.13 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling tokio-io v0.1.5 [INFO] [stderr] Compiling mime v0.3.5 [INFO] [stderr] Compiling rayon v0.8.2 [INFO] [stderr] Compiling tokio-core v0.1.12 [INFO] [stderr] Compiling tokio-proto v0.1.1 [INFO] [stderr] Compiling ring v0.12.1 [INFO] [stderr] Compiling hyper v0.11.18 [INFO] [stderr] Compiling webpki v0.17.0 [INFO] [stderr] Compiling sct v0.2.0 [INFO] [stderr] Compiling ct-logs v0.2.0 [INFO] [stderr] Compiling rustls v0.11.0 [INFO] [stderr] Compiling webpki-roots v0.13.0 [INFO] [stderr] Compiling tokio-rustls v0.4.0 [INFO] [stderr] Compiling hyper-rustls v0.11.0 [INFO] [stderr] Compiling github-rs v0.6.1 [INFO] [stderr] Compiling gitsha v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated item 'std::env::home_dir': This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/main.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 62 | match env::home_dir() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::env::home_dir': This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/main.rs:101:15 [INFO] [stdout] | [INFO] [stdout] 101 | match env::home_dir() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:77:41 [INFO] [stdout] | [INFO] [stdout] 77 | ... why.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:114:86 [INFO] [stdout] | [INFO] [stdout] 114 | Err(why) => panic!("couldn't create {}: {}", path.display(), why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:119:86 [INFO] [stdout] | [INFO] [stdout] 119 | Err(why) => panic!("Couldn't create {}: {}", path.display(), why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `slice_patterns` has been stable since 1.42.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(slice_patterns)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 17s [INFO] running `Command { std: "docker" "inspect" "4e334fe791f0935477ad063090fe91144b61695578b395eca465b2909da69866", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e334fe791f0935477ad063090fe91144b61695578b395eca465b2909da69866", kill_on_drop: false }` [INFO] [stdout] 4e334fe791f0935477ad063090fe91144b61695578b395eca465b2909da69866 [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9aa7380dec7a3e241df21f889fdf191308d8e714665f228c7753f1e338248f0c [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" "9aa7380dec7a3e241df21f889fdf191308d8e714665f228c7753f1e338248f0c", kill_on_drop: false }` [INFO] [stderr] Compiling gitsha v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated item 'std::env::home_dir': This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/main.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 62 | match env::home_dir() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::env::home_dir': This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/main.rs:101:15 [INFO] [stdout] | [INFO] [stdout] 101 | match env::home_dir() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:77:41 [INFO] [stdout] | [INFO] [stdout] 77 | ... why.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:114:86 [INFO] [stdout] | [INFO] [stdout] 114 | Err(why) => panic!("couldn't create {}: {}", path.display(), why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:119:86 [INFO] [stdout] | [INFO] [stdout] 119 | Err(why) => panic!("Couldn't create {}: {}", path.display(), why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `slice_patterns` has been stable since 1.42.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(slice_patterns)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.47s [INFO] running `Command { std: "docker" "inspect" "9aa7380dec7a3e241df21f889fdf191308d8e714665f228c7753f1e338248f0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9aa7380dec7a3e241df21f889fdf191308d8e714665f228c7753f1e338248f0c", kill_on_drop: false }` [INFO] [stdout] 9aa7380dec7a3e241df21f889fdf191308d8e714665f228c7753f1e338248f0c [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b250821698782517bddd11454ccf7894350e734524ef9883be46fd3155055f16 [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" "b250821698782517bddd11454ccf7894350e734524ef9883be46fd3155055f16", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated item 'std::env::home_dir': This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stderr] --> src/main.rs:62:19 [INFO] [stderr] | [INFO] [stderr] 62 | match env::home_dir() { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::env::home_dir': This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stderr] --> src/main.rs:101:15 [INFO] [stderr] | [INFO] [stderr] 101 | match env::home_dir() { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/main.rs:77:41 [INFO] [stderr] | [INFO] [stderr] 77 | ... why.description() [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/main.rs:114:86 [INFO] [stderr] | [INFO] [stderr] 114 | Err(why) => panic!("couldn't create {}: {}", path.display(), why.description()), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/main.rs:119:86 [INFO] [stderr] | [INFO] [stderr] 119 | Err(why) => panic!("Couldn't create {}: {}", path.display(), why.description()), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `name` [INFO] [stderr] --> src/main.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | name: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the feature `slice_patterns` has been stable since 1.42.0 and no longer requires an attribute to enable [INFO] [stderr] --> src/main.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(slice_patterns)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 7 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.26s [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/gitsha-1388ab2da27c665f [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b250821698782517bddd11454ccf7894350e734524ef9883be46fd3155055f16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b250821698782517bddd11454ccf7894350e734524ef9883be46fd3155055f16", kill_on_drop: false }` [INFO] [stdout] b250821698782517bddd11454ccf7894350e734524ef9883be46fd3155055f16