[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 beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdialogbox%2Frust-working-samples" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dialogbox/rust-working-samples on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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-8/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" "+beta-2022-02-22" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1e2ba27de41a76b19ae68126159c65126c306284d13a8f0698f82a28b40b5b8f [INFO] running `Command { std: "docker" "start" "-a" "1e2ba27de41a76b19ae68126159c65126c306284d13a8f0698f82a28b40b5b8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e2ba27de41a76b19ae68126159c65126c306284d13a8f0698f82a28b40b5b8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e2ba27de41a76b19ae68126159c65126c306284d13a8f0698f82a28b40b5b8f", kill_on_drop: false }` [INFO] [stdout] 1e2ba27de41a76b19ae68126159c65126c306284d13a8f0698f82a28b40b5b8f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e00dcdb348698def88f5a143ca6e6f3e68266c8fcc58f4967fad30a5431dad94 [INFO] running `Command { std: "docker" "start" "-a" "e00dcdb348698def88f5a143ca6e6f3e68266c8fcc58f4967fad30a5431dad94", 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 proc-macro2 v0.4.17 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling itoa v0.4.2 [INFO] [stderr] Compiling openssl v0.10.11 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling httparse v1.3.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 try-lock v0.2.2 [INFO] [stderr] Compiling indexmap v1.0.1 [INFO] [stderr] Compiling serde v1.0.76 [INFO] [stderr] Compiling string v0.1.1 [INFO] [stderr] Compiling failure_derive v0.1.2 [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 unreachable v1.0.0 [INFO] [stderr] Compiling owning_ref v0.3.3 [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 openssl-sys v0.9.35 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Compiling http v0.1.10 [INFO] [stderr] Compiling crossbeam-epoch v0.5.2 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling tokio-executor v0.1.4 [INFO] [stderr] Compiling tokio-io v0.1.8 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling want v0.0.6 [INFO] [stderr] Compiling mio-uds v0.6.6 [INFO] [stderr] Compiling crossbeam-deque v0.6.1 [INFO] [stderr] Compiling parking_lot_core v0.3.0 [INFO] [stderr] Compiling tokio-timer v0.2.6 [INFO] [stderr] Compiling tokio-current-thread v0.1.1 [INFO] [stderr] Compiling tokio-threadpool v0.1.6 [INFO] [stderr] Compiling tokio-codec v0.1.0 [INFO] [stderr] Compiling parking_lot v0.6.4 [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 backtrace v0.3.9 [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: 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 12.12s [INFO] running `Command { std: "docker" "inspect" "e00dcdb348698def88f5a143ca6e6f3e68266c8fcc58f4967fad30a5431dad94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e00dcdb348698def88f5a143ca6e6f3e68266c8fcc58f4967fad30a5431dad94", kill_on_drop: false }` [INFO] [stdout] e00dcdb348698def88f5a143ca6e6f3e68266c8fcc58f4967fad30a5431dad94 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa9e7cf599ddfeac4e92224a1b01eabe0249ab549f0e23643ed77fe11b742fce [INFO] running `Command { std: "docker" "start" "-a" "fa9e7cf599ddfeac4e92224a1b01eabe0249ab549f0e23643ed77fe11b742fce", kill_on_drop: false }` [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] [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 4.36s [INFO] running `Command { std: "docker" "inspect" "fa9e7cf599ddfeac4e92224a1b01eabe0249ab549f0e23643ed77fe11b742fce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa9e7cf599ddfeac4e92224a1b01eabe0249ab549f0e23643ed77fe11b742fce", kill_on_drop: false }` [INFO] [stdout] fa9e7cf599ddfeac4e92224a1b01eabe0249ab549f0e23643ed77fe11b742fce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 362fb04f3fb13186ae535ef27460ebd003e5432f2d41df4c94b5df39b0c28e78 [INFO] running `Command { std: "docker" "start" "-a" "362fb04f3fb13186ae535ef27460ebd003e5432f2d41df4c94b5df39b0c28e78", kill_on_drop: false }` [INFO] [stderr] warning: field is never read: `id` [INFO] [stderr] --> src/hn_client.rs:108:5 [INFO] [stderr] | [INFO] [stderr] 108 | id: u64, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [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: `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 0.04s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/working_samples-496d4c537ebb88b4) [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 ownership_demo::tests::return_ref ... 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 traitsamples::test::bothtest::talk_test ... ok [INFO] [stdout] test traitsamples::test::dogtest::talk_test ... ok [INFO] [stdout] test traitsamples::test::sheeptest::talk_test ... ok [INFO] [stdout] test word_count::test::count_word_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-496d4c537ebb88b4` (signal: 11, SIGSEGV: invalid memory reference) [INFO] running `Command { std: "docker" "inspect" "362fb04f3fb13186ae535ef27460ebd003e5432f2d41df4c94b5df39b0c28e78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "362fb04f3fb13186ae535ef27460ebd003e5432f2d41df4c94b5df39b0c28e78", kill_on_drop: false }` [INFO] [stdout] 362fb04f3fb13186ae535ef27460ebd003e5432f2d41df4c94b5df39b0c28e78