[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#5d5ff84130da0d74c6ece368dbe821d8f83fa526 for pr-79296 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdialogbox%2Frust-working-samples" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dialogbox/rust-working-samples on toolchain 5d5ff84130da0d74c6ece368dbe821d8f83fa526 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "read-manifest" "--manifest-path" "Cargo.toml", 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-4/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" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 61abc9ca27a654186aea938339b581679fc02a36028a6c499b051fc6ac39e869 [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" "61abc9ca27a654186aea938339b581679fc02a36028a6c499b051fc6ac39e869", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "61abc9ca27a654186aea938339b581679fc02a36028a6c499b051fc6ac39e869", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61abc9ca27a654186aea938339b581679fc02a36028a6c499b051fc6ac39e869", kill_on_drop: false }` [INFO] [stdout] 61abc9ca27a654186aea938339b581679fc02a36028a6c499b051fc6ac39e869 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1b33baea3190c746e24e5eb0d0a21f46f8c8c95d338a86894e746789b7d31a3d [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" "1b33baea3190c746e24e5eb0d0a21f46f8c8c95d338a86894e746789b7d31a3d", 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 scopeguard v0.3.3 [INFO] [stderr] Compiling byteorder v1.2.6 [INFO] [stderr] Compiling cc v1.0.23 [INFO] [stderr] Compiling crossbeam-utils v0.5.0 [INFO] [stderr] Compiling rand_core v0.2.1 [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 itoa v0.4.2 [INFO] [stderr] Compiling httparse v1.3.2 [INFO] [stderr] Compiling openssl v0.10.11 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling native-tls v0.2.1 [INFO] [stderr] Compiling failure_derive v0.1.2 [INFO] [stderr] Compiling string v0.1.1 [INFO] [stderr] Compiling ryu v0.2.6 [INFO] [stderr] Compiling serde v1.0.76 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling indexmap v1.0.1 [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 unreachable v1.0.0 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling smallvec v0.6.5 [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 lazy_static v1.1.0 [INFO] [stderr] Compiling lock_api v0.1.3 [INFO] [stderr] Compiling bytes v0.4.9 [INFO] [stderr] Compiling mio v0.6.15 [INFO] [stderr] Compiling crossbeam-epoch v0.5.2 [INFO] [stderr] Compiling http v0.1.10 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Compiling crossbeam-deque v0.6.1 [INFO] [stderr] Compiling openssl-sys v0.9.35 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling parking_lot_core v0.3.0 [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 parking_lot v0.6.4 [INFO] [stderr] Compiling backtrace v0.3.9 [INFO] [stderr] Compiling tokio-reactor v0.1.5 [INFO] [stderr] Compiling tokio-codec v0.1.0 [INFO] [stderr] Compiling tokio-fs v0.1.3 [INFO] [stderr] Compiling tokio-udp v0.1.2 [INFO] [stderr] Compiling tokio-tcp v0.1.1 [INFO] [stderr] Compiling tokio-uds v0.2.1 [INFO] [stderr] Compiling tokio v0.1.8 [INFO] [stderr] Compiling h2 v0.1.12 [INFO] [stderr] Compiling synstructure v0.9.0 [INFO] [stderr] Compiling serde_json v1.0.26 [INFO] [stderr] Compiling serde_derive v1.0.76 [INFO] [stderr] Compiling hyper v0.12.9 [INFO] [stderr] Compiling failure v0.1.2 [INFO] [stderr] Compiling hyper-tls v0.3.0 [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 1m 33s [INFO] running `Command { std: "docker" "inspect" "1b33baea3190c746e24e5eb0d0a21f46f8c8c95d338a86894e746789b7d31a3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b33baea3190c746e24e5eb0d0a21f46f8c8c95d338a86894e746789b7d31a3d", kill_on_drop: false }` [INFO] [stdout] 1b33baea3190c746e24e5eb0d0a21f46f8c8c95d338a86894e746789b7d31a3d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4fa9928d13ee6f238d459416e8d17ec5aa870f9dc844345988d3cb5d8ff8fd6a [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" "4fa9928d13ee6f238d459416e8d17ec5aa870f9dc844345988d3cb5d8ff8fd6a", 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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 12.18s [INFO] running `Command { std: "docker" "inspect" "4fa9928d13ee6f238d459416e8d17ec5aa870f9dc844345988d3cb5d8ff8fd6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fa9928d13ee6f238d459416e8d17ec5aa870f9dc844345988d3cb5d8ff8fd6a", kill_on_drop: false }` [INFO] [stdout] 4fa9928d13ee6f238d459416e8d17ec5aa870f9dc844345988d3cb5d8ff8fd6a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9dd6f6566bec7367a24879e569fa5f4c4ca8ca4e8278bd5243bb0d45a095eff5 [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" "9dd6f6566bec7367a24879e569fa5f4c4ca8ca4e8278bd5243bb0d45a095eff5", 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: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/working_samples-31ac5a94117b7260 [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test hn_client::playground::de_list_test ... ok [INFO] [stdout] test word_count::test::count_word_test ... ok [INFO] [stdout] test traitsamples::test::bothtest::talk_test ... ok [INFO] [stdout] test ownership_demo::tests::distinct_lifttime ... ok [INFO] [stdout] test ownership_demo::tests::move_out_from_vec ... ok [INFO] [stdout] test ownership_demo::tests::return_ref ... ok [INFO] [stdout] test traitsamples::test::dogtest::talk_test ... ok [INFO] [stdout] test ownership_demo::tests::struct_containing_ref ... ok [INFO] [stdout] test traitsamples::test::sheeptest::talk_test ... 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-31ac5a94117b7260` (signal: 11, SIGSEGV: invalid memory reference) [INFO] running `Command { std: "docker" "inspect" "9dd6f6566bec7367a24879e569fa5f4c4ca8ca4e8278bd5243bb0d45a095eff5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9dd6f6566bec7367a24879e569fa5f4c4ca8ca4e8278bd5243bb0d45a095eff5", kill_on_drop: false }` [INFO] [stdout] 9dd6f6566bec7367a24879e569fa5f4c4ca8ca4e8278bd5243bb0d45a095eff5