[INFO] cloning repository https://github.com/dialogbox/rust-working-samples [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dialogbox/rust-working-samples" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdialogbox%2Frust-working-samples", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdialogbox%2Frust-working-samples'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9a95136d92277a7601147e25f9d76dd728dc0906 [INFO] testing dialogbox/rust-working-samples against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdialogbox%2Frust-working-samples" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dialogbox/rust-working-samples on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dialogbox/rust-working-samples [INFO] finished tweaking git repo https://github.com/dialogbox/rust-working-samples [INFO] tweaked toml for git repo https://github.com/dialogbox/rust-working-samples written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/dialogbox/rust-working-samples already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v0.4.17 [INFO] [stderr] Downloaded hyper v0.12.9 [INFO] [stderr] Downloaded serde v1.0.76 [INFO] [stderr] Downloaded serde_derive v1.0.76 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b22d0700ff027ff2c6f880738e32a39c9e93fdc8d75020595812cec1ca9d9972 [INFO] running `Command { std: "docker" "start" "-a" "b22d0700ff027ff2c6f880738e32a39c9e93fdc8d75020595812cec1ca9d9972", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b22d0700ff027ff2c6f880738e32a39c9e93fdc8d75020595812cec1ca9d9972", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b22d0700ff027ff2c6f880738e32a39c9e93fdc8d75020595812cec1ca9d9972", kill_on_drop: false }` [INFO] [stdout] b22d0700ff027ff2c6f880738e32a39c9e93fdc8d75020595812cec1ca9d9972 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6a3c385a7681aef30356e0bb4088eb876f7d964c9042ca519a1f544475d92de7 [INFO] running `Command { std: "docker" "start" "-a" "6a3c385a7681aef30356e0bb4088eb876f7d964c9042ca519a1f544475d92de7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Compiling cfg-if v0.1.5 [INFO] [stderr] Compiling futures v0.1.24 [INFO] [stderr] Compiling version_check v0.1.4 [INFO] [stderr] Compiling byteorder v1.2.6 [INFO] [stderr] Compiling cc v1.0.23 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling rand_core v0.2.1 [INFO] [stderr] Compiling crossbeam-utils v0.5.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling slab v0.4.1 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling lazycell v0.6.0 [INFO] [stderr] Compiling proc-macro2 v0.4.17 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling itoa v0.4.2 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.11 [INFO] [stderr] Compiling httparse v1.3.2 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling string v0.1.1 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling native-tls v0.2.1 [INFO] [stderr] Compiling ryu v0.2.6 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling failure_derive v0.1.2 [INFO] [stderr] Compiling serde v1.0.76 [INFO] [stderr] Compiling indexmap v1.0.1 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling rustc-demangle v0.1.9 [INFO] [stderr] Compiling log v0.4.5 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling smallvec v0.6.5 [INFO] [stderr] Compiling lock_api v0.1.3 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling time v0.1.40 [INFO] [stderr] Compiling bytes v0.4.9 [INFO] [stderr] Compiling mio v0.6.15 [INFO] [stderr] Compiling http v0.1.10 [INFO] [stderr] Compiling crossbeam-epoch v0.5.2 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Compiling openssl-sys v0.9.35 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling parking_lot_core v0.3.0 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling crossbeam-deque v0.6.1 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling mio-uds v0.6.6 [INFO] [stderr] Compiling tokio-executor v0.1.4 [INFO] [stderr] Compiling tokio-io v0.1.8 [INFO] [stderr] Compiling want v0.0.6 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling tokio-threadpool v0.1.6 [INFO] [stderr] Compiling tokio-timer v0.2.6 [INFO] [stderr] Compiling tokio-current-thread v0.1.1 [INFO] [stderr] Compiling tokio-codec v0.1.0 [INFO] [stderr] Compiling tokio-reactor v0.1.5 [INFO] [stderr] Compiling tokio-uds v0.2.1 [INFO] [stderr] Compiling tokio-tcp v0.1.1 [INFO] [stderr] Compiling tokio-udp v0.1.2 [INFO] [stderr] Compiling tokio-fs v0.1.3 [INFO] [stderr] Compiling tokio v0.1.8 [INFO] [stderr] Compiling backtrace v0.3.9 [INFO] [stderr] Compiling h2 v0.1.12 [INFO] [stderr] Compiling synstructure v0.9.0 [INFO] [stderr] Compiling hyper v0.12.9 [INFO] [stderr] Compiling serde_json v1.0.26 [INFO] [stderr] Compiling serde_derive v1.0.76 [INFO] [stderr] Compiling hyper-tls v0.3.0 [INFO] [stderr] Compiling failure v0.1.2 [INFO] [stderr] Compiling working-samples v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `shear` [INFO] [stdout] --> src/traitsamples.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | fn shear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 29.61s [INFO] running `Command { std: "docker" "inspect" "6a3c385a7681aef30356e0bb4088eb876f7d964c9042ca519a1f544475d92de7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a3c385a7681aef30356e0bb4088eb876f7d964c9042ca519a1f544475d92de7", kill_on_drop: false }` [INFO] [stdout] 6a3c385a7681aef30356e0bb4088eb876f7d964c9042ca519a1f544475d92de7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f38d66b8472684f42fc7a53bf0f662cc5aaa32992aae53c48cb0a3150d6dc9a [INFO] running `Command { std: "docker" "start" "-a" "3f38d66b8472684f42fc7a53bf0f662cc5aaa32992aae53c48cb0a3150d6dc9a", kill_on_drop: false }` [INFO] [stderr] Compiling working-samples v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `shear` [INFO] [stdout] --> src/traitsamples.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | fn shear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `shear` [INFO] [stdout] --> src/traitsamples.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | fn shear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/hn_client.rs:150:30 [INFO] [stdout] | [INFO] [stdout] 150 | Err(e) => panic!(e) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 150 | Err(e) => panic!("{}", e) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 150 | Err(e) => std::panic::panic_any(e) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 7.62s [INFO] running `Command { std: "docker" "inspect" "3f38d66b8472684f42fc7a53bf0f662cc5aaa32992aae53c48cb0a3150d6dc9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f38d66b8472684f42fc7a53bf0f662cc5aaa32992aae53c48cb0a3150d6dc9a", kill_on_drop: false }` [INFO] [stdout] 3f38d66b8472684f42fc7a53bf0f662cc5aaa32992aae53c48cb0a3150d6dc9a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0edd088cce4fe63448413913dd8c590133cf2b844de5cedf313ab9948e232bd6 [INFO] running `Command { std: "docker" "start" "-a" "0edd088cce4fe63448413913dd8c590133cf2b844de5cedf313ab9948e232bd6", kill_on_drop: false }` [INFO] [stderr] warning: associated function is never used: `shear` [INFO] [stderr] --> src/traitsamples.rs:28:12 [INFO] [stderr] | [INFO] [stderr] 28 | fn shear(&mut self) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `shear` [INFO] [stderr] --> src/traitsamples.rs:28:12 [INFO] [stderr] | [INFO] [stderr] 28 | fn shear(&mut self) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/hn_client.rs:150:30 [INFO] [stderr] | [INFO] [stderr] 150 | Err(e) => panic!(e) [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 150 | Err(e) => panic!("{}", e) [INFO] [stderr] | ^^^^^ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 150 | Err(e) => std::panic::panic_any(e) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/working_samples-92da3b85c7cccb87) [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test hn_client::playground::de_list_test ... ok [INFO] [stdout] test ownership_demo::tests::distinct_lifttime ... ok [INFO] [stdout] test word_count::test::count_word_test ... ok [INFO] [stdout] test traitsamples::test::sheeptest::talk_test ... ok [INFO] [stdout] test traitsamples::test::dogtest::talk_test ... ok [INFO] [stdout] test ownership_demo::tests::return_ref ... ok [INFO] [stdout] test traitsamples::test::bothtest::talk_test ... ok [INFO] [stdout] test ownership_demo::tests::struct_containing_ref ... ok [INFO] [stdout] test ownership_demo::tests::move_out_from_vec ... ok [INFO] [stdout] test word_count::test::count_word_fn_test ... ok [INFO] [stderr] error: test failed, to rerun pass '--lib' [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/deps/working_samples-92da3b85c7cccb87` (signal: 11, SIGSEGV: invalid memory reference) [INFO] running `Command { std: "docker" "inspect" "0edd088cce4fe63448413913dd8c590133cf2b844de5cedf313ab9948e232bd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0edd088cce4fe63448413913dd8c590133cf2b844de5cedf313ab9948e232bd6", kill_on_drop: false }` [INFO] [stdout] 0edd088cce4fe63448413913dd8c590133cf2b844de5cedf313ab9948e232bd6