[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 try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [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 ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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-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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1dd9c5da13f98888040a6709c4128dfc07fc64e81670e6900e4b97b409fe46db [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" "1dd9c5da13f98888040a6709c4128dfc07fc64e81670e6900e4b97b409fe46db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1dd9c5da13f98888040a6709c4128dfc07fc64e81670e6900e4b97b409fe46db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1dd9c5da13f98888040a6709c4128dfc07fc64e81670e6900e4b97b409fe46db", kill_on_drop: false }` [INFO] [stdout] 1dd9c5da13f98888040a6709c4128dfc07fc64e81670e6900e4b97b409fe46db [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e8630d556eef77f152c448d19cf6167cdd4defaa12a3f58a73b9bd7055cee001 [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" "e8630d556eef77f152c448d19cf6167cdd4defaa12a3f58a73b9bd7055cee001", 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 slab v0.4.1 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling proc-macro2 v0.4.17 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling httparse v1.3.2 [INFO] [stderr] Compiling openssl v0.10.11 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling string v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.1 [INFO] [stderr] Compiling failure_derive v0.1.2 [INFO] [stderr] Compiling serde v1.0.76 [INFO] [stderr] Compiling try-lock v0.2.2 [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 foreign-types v0.3.2 [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 crossbeam-epoch v0.5.2 [INFO] [stderr] Compiling openssl-sys v0.9.35 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling http v0.1.10 [INFO] [stderr] Compiling crossbeam-deque v0.6.1 [INFO] [stderr] Compiling mio-uds v0.6.6 [INFO] [stderr] Compiling parking_lot_core v0.3.0 [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-current-thread v0.1.1 [INFO] [stderr] Compiling tokio-timer v0.2.6 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling backtrace v0.3.9 [INFO] [stderr] Compiling tokio-codec v0.1.0 [INFO] [stderr] Compiling tokio-reactor v0.1.5 [INFO] [stderr] Compiling tokio-fs v0.1.3 [INFO] [stderr] Compiling tokio-uds v0.2.1 [INFO] [stderr] Compiling tokio-udp v0.1.2 [INFO] [stderr] Compiling tokio-tcp v0.1.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 28s [INFO] running `Command { std: "docker" "inspect" "e8630d556eef77f152c448d19cf6167cdd4defaa12a3f58a73b9bd7055cee001", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8630d556eef77f152c448d19cf6167cdd4defaa12a3f58a73b9bd7055cee001", kill_on_drop: false }` [INFO] [stdout] e8630d556eef77f152c448d19cf6167cdd4defaa12a3f58a73b9bd7055cee001 [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4dedeab2d3eaac4b75005e7dd3ad8dd60e37e885193863fb52eda345337aa077 [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" "4dedeab2d3eaac4b75005e7dd3ad8dd60e37e885193863fb52eda345337aa077", kill_on_drop: false }` [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] 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: 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_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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 11.12s [INFO] running `Command { std: "docker" "inspect" "4dedeab2d3eaac4b75005e7dd3ad8dd60e37e885193863fb52eda345337aa077", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4dedeab2d3eaac4b75005e7dd3ad8dd60e37e885193863fb52eda345337aa077", kill_on_drop: false }` [INFO] [stdout] 4dedeab2d3eaac4b75005e7dd3ad8dd60e37e885193863fb52eda345337aa077 [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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] 2918ca124288f8beaa065fc1abf8e18b637239ca787b1ae3381257cb6faa751a [INFO] running `Command { std: "docker" "start" "-a" "2918ca124288f8beaa065fc1abf8e18b637239ca787b1ae3381257cb6faa751a", 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_panic)]` on by default [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 150 | Err(e) => panic!("{}", e) [INFO] [stdout] [INFO] [stderr] | ^^^^^ [INFO] [stdout] running 17 tests [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.10s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/working_samples-35e06b4c67bd9b0e) [INFO] [stdout] test hn_client::playground::de_list_test ... ok [INFO] [stdout] test word_count::test::count_word_test ... ok [INFO] [stdout] test word_count::test::count_word_fn_test ... ok [INFO] [stdout] test traitsamples::test::sheeptest::talk_test ... ok [INFO] [stdout] test traitsamples::test::dogtest::talk_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 ownership_demo::tests::struct_containing_ref ... 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-35e06b4c67bd9b0e` (signal: 11, SIGSEGV: invalid memory reference) [INFO] running `Command { std: "docker" "inspect" "2918ca124288f8beaa065fc1abf8e18b637239ca787b1ae3381257cb6faa751a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2918ca124288f8beaa065fc1abf8e18b637239ca787b1ae3381257cb6faa751a", kill_on_drop: false }` [INFO] [stdout] 2918ca124288f8beaa065fc1abf8e18b637239ca787b1ae3381257cb6faa751a