[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 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdialogbox%2Frust-working-samples" "/workspace/builds/worker-36/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-36/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dialogbox/rust-working-samples on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-36/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" "+1.60.0" "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 serde_derive v1.0.76 [INFO] [stderr] Downloaded proc-macro2 v0.4.17 [INFO] [stderr] Downloaded cc v1.0.23 [INFO] [stderr] Downloaded serde v1.0.76 [INFO] [stderr] Downloaded hyper v0.12.9 [INFO] [stderr] Downloaded parking_lot_core v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 842c7fcbce9e957ef370a0162b98f84293c0afe476c45759fd3e45dae2d72f09 [INFO] running `Command { std: "docker" "start" "-a" "842c7fcbce9e957ef370a0162b98f84293c0afe476c45759fd3e45dae2d72f09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "842c7fcbce9e957ef370a0162b98f84293c0afe476c45759fd3e45dae2d72f09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "842c7fcbce9e957ef370a0162b98f84293c0afe476c45759fd3e45dae2d72f09", kill_on_drop: false }` [INFO] [stdout] 842c7fcbce9e957ef370a0162b98f84293c0afe476c45759fd3e45dae2d72f09 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/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=warn" "-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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da0c3232191a4c7946206227664dbcdbff4bdbed0596b0495ed2b3ab28103d66 [INFO] running `Command { std: "docker" "start" "-a" "da0c3232191a4c7946206227664dbcdbff4bdbed0596b0495ed2b3ab28103d66", 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 cc v1.0.23 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling byteorder v1.2.6 [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 pkg-config v0.3.14 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling proc-macro2 v0.4.17 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling itoa v0.4.2 [INFO] [stderr] Compiling httparse v1.3.2 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.11 [INFO] [stderr] Compiling string v0.1.1 [INFO] [stderr] Compiling failure_derive v0.1.2 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling indexmap v1.0.1 [INFO] [stderr] Compiling native-tls v0.2.1 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling ryu v0.2.6 [INFO] [stderr] Compiling serde v1.0.76 [INFO] [stderr] Compiling rustc-demangle v0.1.9 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling tokio-executor v0.1.4 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling time v0.1.40 [INFO] [stderr] Compiling log v0.4.5 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling openssl-sys v0.9.35 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling tokio-current-thread v0.1.1 [INFO] [stderr] Compiling tokio-timer v0.2.6 [INFO] [stderr] Compiling bytes v0.4.9 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling want v0.0.6 [INFO] [stderr] Compiling lock_api v0.1.3 [INFO] [stderr] Compiling mio v0.6.15 [INFO] [stderr] Compiling smallvec v0.6.5 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Compiling crossbeam-epoch v0.5.2 [INFO] [stderr] Compiling serde_json v1.0.26 [INFO] [stderr] Compiling backtrace v0.3.9 [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 tokio-io v0.1.8 [INFO] [stderr] Compiling http v0.1.10 [INFO] [stderr] Compiling tokio-threadpool v0.1.6 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling mio-uds v0.6.6 [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-tcp v0.1.1 [INFO] [stderr] Compiling tokio-uds v0.2.1 [INFO] [stderr] Compiling tokio-udp v0.1.2 [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_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: field is never read: `id` [INFO] [stdout] --> src/hn_client.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | id: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `HNItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/hn_client.rs:106:23 [INFO] [stdout] | [INFO] [stdout] 106 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `by` [INFO] [stdout] --> src/hn_client.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | by: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `HNItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/hn_client.rs:106:23 [INFO] [stdout] | [INFO] [stdout] 106 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `kids` [INFO] [stdout] --> src/hn_client.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | kids: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `HNItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/hn_client.rs:106:23 [INFO] [stdout] | [INFO] [stdout] 106 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `title` [INFO] [stdout] --> src/hn_client.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | title: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `HNItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/hn_client.rs:106:23 [INFO] [stdout] | [INFO] [stdout] 106 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `item_type` [INFO] [stdout] --> src/hn_client.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | item_type: HNItemType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `HNItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/hn_client.rs:106:23 [INFO] [stdout] | [INFO] [stdout] 106 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 15s [INFO] running `Command { std: "docker" "inspect" "da0c3232191a4c7946206227664dbcdbff4bdbed0596b0495ed2b3ab28103d66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da0c3232191a4c7946206227664dbcdbff4bdbed0596b0495ed2b3ab28103d66", kill_on_drop: false }` [INFO] [stdout] da0c3232191a4c7946206227664dbcdbff4bdbed0596b0495ed2b3ab28103d66 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/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=warn" "-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" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cda7ba3ba9bd8e0ee596da0bf61332fe56697b6675f577fb5c7767f0dbe7657e [INFO] running `Command { std: "docker" "start" "-a" "cda7ba3ba9bd8e0ee596da0bf61332fe56697b6675f577fb5c7767f0dbe7657e", kill_on_drop: false }` [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/hn_client.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | id: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `HNItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/hn_client.rs:106:23 [INFO] [stdout] | [INFO] [stdout] 106 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `by` [INFO] [stdout] --> src/hn_client.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | by: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `HNItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/hn_client.rs:106:23 [INFO] [stdout] | [INFO] [stdout] 106 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `kids` [INFO] [stdout] --> src/hn_client.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | kids: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `HNItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/hn_client.rs:106:23 [INFO] [stdout] | [INFO] [stdout] 106 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling working-samples v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `title` [INFO] [stdout] --> src/hn_client.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | title: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `HNItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/hn_client.rs:106:23 [INFO] [stdout] | [INFO] [stdout] 106 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `item_type` [INFO] [stdout] --> src/hn_client.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | item_type: HNItemType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `HNItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/hn_client.rs:106:23 [INFO] [stdout] | [INFO] [stdout] 106 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/hn_client.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | id: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `HNItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/hn_client.rs:106:23 [INFO] [stdout] | [INFO] [stdout] 106 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `by` [INFO] [stdout] --> src/hn_client.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | by: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `HNItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/hn_client.rs:106:23 [INFO] [stdout] | [INFO] [stdout] 106 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `kids` [INFO] [stdout] --> src/hn_client.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | kids: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `HNItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/hn_client.rs:106:23 [INFO] [stdout] | [INFO] [stdout] 106 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `item_type` [INFO] [stdout] --> src/hn_client.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | item_type: HNItemType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `HNItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/hn_client.rs:106:23 [INFO] [stdout] | [INFO] [stdout] 106 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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] [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: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2m 31s [INFO] running `Command { std: "docker" "inspect" "cda7ba3ba9bd8e0ee596da0bf61332fe56697b6675f577fb5c7767f0dbe7657e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cda7ba3ba9bd8e0ee596da0bf61332fe56697b6675f577fb5c7767f0dbe7657e", kill_on_drop: false }` [INFO] [stdout] cda7ba3ba9bd8e0ee596da0bf61332fe56697b6675f577fb5c7767f0dbe7657e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/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=warn" "-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" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6ba596f104721214af7cbc786fa91b6e2eeda0d22ff886247deb1333eb16780a [INFO] running `Command { std: "docker" "start" "-a" "6ba596f104721214af7cbc786fa91b6e2eeda0d22ff886247deb1333eb16780a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: field is never read: `id` [INFO] [stdout] [INFO] [stderr] --> src/hn_client.rs:108:5 [INFO] [stdout] running 17 tests [INFO] [stderr] | [INFO] [stdout] test hn_client::playground::de_list_test ... ok [INFO] [stderr] 108 | id: u64, [INFO] [stdout] test ownership_demo::tests::distinct_lifttime ... ok [INFO] [stderr] | ^^^^^^^ [INFO] [stdout] test ownership_demo::tests::move_out_from_vec ... ok [INFO] [stderr] | [INFO] [stdout] test ownership_demo::tests::struct_containing_ref ... ok [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] test traitsamples::test::dogtest::talk_test ... ok [INFO] [stderr] note: `HNItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] test traitsamples::test::sheeptest::talk_test ... ok [INFO] [stderr] --> src/hn_client.rs:106:23 [INFO] [stdout] test traitsamples::test::bothtest::talk_test ... ok [INFO] [stderr] | [INFO] [stdout] test ownership_demo::tests::return_ref ... ok [INFO] [stderr] 106 | #[derive(Deserialize, Debug)] [INFO] [stdout] test word_count::test::count_word_fn_test ... ok [INFO] [stderr] | ^^^^^ [INFO] [stdout] test word_count::test::count_word_test ... ok [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `by` [INFO] [stderr] --> src/hn_client.rs:109:5 [INFO] [stderr] | [INFO] [stderr] 109 | by: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `HNItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/hn_client.rs:106:23 [INFO] [stderr] | [INFO] [stderr] 106 | #[derive(Deserialize, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `kids` [INFO] [stderr] --> src/hn_client.rs:110:5 [INFO] [stderr] | [INFO] [stderr] 110 | kids: Option>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `HNItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/hn_client.rs:106:23 [INFO] [stderr] | [INFO] [stderr] 106 | #[derive(Deserialize, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `title` [INFO] [stderr] --> src/hn_client.rs:111:5 [INFO] [stderr] | [INFO] [stderr] 111 | title: String, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `HNItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/hn_client.rs:106:23 [INFO] [stderr] | [INFO] [stderr] 106 | #[derive(Deserialize, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `item_type` [INFO] [stderr] --> src/hn_client.rs:114:5 [INFO] [stderr] | [INFO] [stderr] 114 | item_type: HNItemType, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `HNItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/hn_client.rs:106:23 [INFO] [stderr] | [INFO] [stderr] 106 | #[derive(Deserialize, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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] 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: `working-samples` (lib) generated 6 warnings [INFO] [stderr] warning: `working-samples` (lib test) generated 6 warnings (5 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.05s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/working_samples-257c3a5d2fc92e9c) [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-257c3a5d2fc92e9c` (signal: 11, SIGSEGV: invalid memory reference) [INFO] running `Command { std: "docker" "inspect" "6ba596f104721214af7cbc786fa91b6e2eeda0d22ff886247deb1333eb16780a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ba596f104721214af7cbc786fa91b6e2eeda0d22ff886247deb1333eb16780a", kill_on_drop: false }` [INFO] [stdout] 6ba596f104721214af7cbc786fa91b6e2eeda0d22ff886247deb1333eb16780a