[INFO] cloning repository https://github.com/ilslv/rust-incubator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ilslv/rust-incubator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Filslv%2Frust-incubator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Filslv%2Frust-incubator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6294833c3073b7239c37c83993931b800617587a [INFO] testing ilslv/rust-incubator against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Filslv%2Frust-incubator" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ilslv/rust-incubator 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/ilslv/rust-incubator [INFO] finished tweaking git repo https://github.com/ilslv/rust-incubator [INFO] tweaked toml for git repo https://github.com/ilslv/rust-incubator written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/ilslv/rust-incubator 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] Updating git repository `https://github.com/graphql-rust/juniper` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-rustls v0.12.3 [INFO] [stderr] Downloaded actix-server v1.0.3 [INFO] [stderr] Downloaded bson v1.1.0 [INFO] [stderr] Downloaded actix_derive v0.5.0 [INFO] [stderr] Downloaded futures-enum v0.1.14 [INFO] [stderr] Downloaded graphql-parser v0.3.0 [INFO] [stderr] Downloaded rand_xoshiro v0.4.0 [INFO] [stderr] Downloaded v_escape v0.7.4 [INFO] [stderr] Downloaded actix-files v0.2.2 [INFO] [stderr] Downloaded actix v0.9.0 [INFO] [stderr] Downloaded actix-identity v0.2.1 [INFO] [stderr] Downloaded v_htmlescape v0.4.5 [INFO] [stderr] Downloaded sqlx-macros v0.3.5 [INFO] [stderr] Downloaded structopt v0.3.17 [INFO] [stderr] Downloaded v_escape_derive v0.5.6 [INFO] [stderr] Downloaded derive_utils v0.10.0 [INFO] [stderr] Downloaded im v15.0.0 [INFO] [stderr] Downloaded sized-chunks v0.6.2 [INFO] [stderr] Downloaded sqlformat v0.1.0 [INFO] [stderr] Downloaded sqlx v0.3.5 [INFO] [stderr] Downloaded lexical-core v0.7.4 [INFO] [stderr] Downloaded humantime-serde v1.0.0 [INFO] [stderr] Downloaded bitmaps v2.1.0 [INFO] [stderr] Downloaded slog-async v2.5.0 [INFO] [stderr] Downloaded libsqlite3-sys v0.18.0 [INFO] [stderr] Downloaded actix-web-actors v2.0.0 [INFO] [stderr] Downloaded sqlx-core v0.3.5 [INFO] [stderr] Downloaded structopt-derive v0.4.10 [INFO] [stderr] Downloaded diesel v1.4.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", 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] d6717a7e2e8a8ac32356b92e0b702f285879b5be88b3754d18c8d3dcf2caa2c9 [INFO] running `Command { std: "docker" "start" "-a" "d6717a7e2e8a8ac32356b92e0b702f285879b5be88b3754d18c8d3dcf2caa2c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d6717a7e2e8a8ac32356b92e0b702f285879b5be88b3754d18c8d3dcf2caa2c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6717a7e2e8a8ac32356b92e0b702f285879b5be88b3754d18c8d3dcf2caa2c9", kill_on_drop: false }` [INFO] [stdout] d6717a7e2e8a8ac32356b92e0b702f285879b5be88b3754d18c8d3dcf2caa2c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", 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] 255f7a88c7f76729ff8029ee567b0c1c02c6ab0073cf9e0f5d906c15adb29cb5 [INFO] running `Command { std: "docker" "start" "-a" "255f7a88c7f76729ff8029ee567b0c1c02c6ab0073cf9e0f5d906c15adb29cb5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.20 [INFO] [stderr] Compiling syn v1.0.40 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling once_cell v1.4.1 [INFO] [stderr] Compiling arc-swap v0.4.7 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling futures v0.1.29 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling smallvec v1.4.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Compiling hashbrown v0.9.0 [INFO] [stderr] Compiling tinyvec v0.3.4 [INFO] [stderr] Compiling gimli v0.22.0 [INFO] [stderr] Compiling instant v0.1.6 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling either v1.6.0 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling encoding_rs v0.8.24 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling bindgen v0.48.1 [INFO] [stderr] Compiling lexical-core v0.7.4 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling slog v2.5.2 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling serde v0.8.23 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling ascii v0.9.3 [INFO] [stderr] Compiling rayon-core v1.8.0 [INFO] [stderr] Compiling v_htmlescape v0.4.5 [INFO] [stderr] Compiling anyhow v1.0.32 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling rust-ini v0.13.0 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling step_2_4 v0.1.0 (/opt/rustwide/workdir/2_idioms/2_4_generic_in_type_out) [INFO] [stderr] Compiling step_2_1 v0.1.0 (/opt/rustwide/workdir/2_idioms/2_1_type_safety) [INFO] [stderr] Compiling step_1_4 v0.1.0 (/opt/rustwide/workdir/1_concepts/1_4_cow) [INFO] [stderr] Compiling step_1_1 v0.1.0 (/opt/rustwide/workdir/1_concepts/1_1_default_clone_copy) [INFO] [stderr] Compiling step_1_2 v0.1.0 (/opt/rustwide/workdir/1_concepts/1_2_box_pin) [INFO] [stdout] warning: field is never read: `code` [INFO] [stdout] --> 2_idioms/2_4_generic_in_type_out/src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | code: Cow<'code, str>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> 2_idioms/2_4_generic_in_type_out/src/main.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(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: unused imports: `Body`, `Title` [INFO] [stdout] --> 2_idioms/2_1_type_safety/src/main.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::utils::post::{Body, Title}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling step_2 v0.1.0 (/opt/rustwide/workdir/2_idioms) [INFO] [stdout] warning: unused variable: `deleted_post` [INFO] [stdout] --> 2_idioms/2_1_type_safety/src/main.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | let deleted_post = post.publish().allow().delete(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_deleted_post` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `state` [INFO] [stdout] --> 2_idioms/2_1_type_safety/src/main.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | state: S, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Post` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> 2_idioms/2_1_type_safety/src/main.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `deny` [INFO] [stdout] --> 2_idioms/2_1_type_safety/src/main.rs:116:16 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn deny(self) -> Post { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_vec` [INFO] [stdout] --> 1_concepts/1_1_default_clone_copy/src/main.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn from_vec(vec: Vec) -> Polyline { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `len` [INFO] [stdout] --> 1_concepts/1_1_default_clone_copy/src/main.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> 1_concepts/1_2_box_pin/src/main.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn new(data: String) -> Pin> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling step_1_6 v0.1.0 (/opt/rustwide/workdir/1_concepts/1_6_dispatch) [INFO] [stderr] Compiling step_3_1 v0.1.0 (/opt/rustwide/workdir/3_ecosystem/3_1_testing) [INFO] [stderr] Compiling step_2_2 v0.1.0 (/opt/rustwide/workdir/2_idioms/2_2_mem_replace) [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling step_1_7 v0.1.0 (/opt/rustwide/workdir/1_concepts/1_7_sized) [INFO] [stdout] warning: unused variable: `machine` [INFO] [stdout] --> 2_idioms/src/main.rs:396:10 [INFO] [stdout] | [INFO] [stdout] 396 | let (machine, product, rest) = machine.get_product().unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_machine` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling step_2_3 v0.1.0 (/opt/rustwide/workdir/2_idioms/2_3_bound_impl) [INFO] [stdout] warning: associated function is never used: `inset_coins` [INFO] [stdout] --> 2_idioms/src/main.rs:170:16 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn inset_coins>(&mut self, coins: I) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling step_1_3 v0.1.0 (/opt/rustwide/workdir/1_concepts/1_3_rc_cell) [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> 1_concepts/1_6_dispatch/src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | id: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `User` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> 1_concepts/1_6_dispatch/src/main.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `email` [INFO] [stdout] --> 1_concepts/1_6_dispatch/src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | email: Cow<'static, str>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `User` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> 1_concepts/1_6_dispatch/src/main.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `activated` [INFO] [stdout] --> 1_concepts/1_6_dispatch/src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | activated: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `User` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> 1_concepts/1_6_dispatch/src/main.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_user` [INFO] [stdout] --> 1_concepts/1_6_dispatch/src/main.rs:74:16 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn update_user(&mut self, key: K, updated_user: User) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_user` [INFO] [stdout] --> 1_concepts/1_6_dispatch/src/main.rs:84:16 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn remove_user(&mut self, key: &K) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_user` [INFO] [stdout] --> 1_concepts/1_6_dispatch/src/main.rs:126:16 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn update_user(&mut self, key: K, updated_user: User) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_user` [INFO] [stdout] --> 1_concepts/1_6_dispatch/src/main.rs:136:16 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn remove_user(&mut self, key: &K) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> 1_concepts/1_7_sized/src/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | id: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `User` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> 1_concepts/1_7_sized/src/main.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `email` [INFO] [stdout] --> 1_concepts/1_7_sized/src/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | email: Cow<'static, str>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `User` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> 1_concepts/1_7_sized/src/main.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `activated` [INFO] [stdout] --> 1_concepts/1_7_sized/src/main.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | activated: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `User` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> 1_concepts/1_7_sized/src/main.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tracing-core v0.1.16 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling rayon v1.4.0 [INFO] [stderr] Compiling im v15.0.0 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling lock_api v0.4.1 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling miniz_oxide v0.4.1 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling clang-sys v0.26.4 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling libsqlite3-sys v0.18.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling net2 v0.2.35 [INFO] [stderr] Compiling signal-hook-registry v1.2.1 [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling tracing v0.1.19 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling hashbrown v0.1.8 [INFO] [stderr] Compiling serde_test v0.8.23 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling bitmaps v2.1.0 [INFO] [stderr] Compiling addr2line v0.13.0 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Compiling flate2 v1.0.17 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling cc v1.0.59 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/bhcomp.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 62 | let bytes = bits / Limb::BITS; [INFO] [stdout] | ^^^^^^^^^^ expected `usize`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stdout] error[E0277]: cannot divide `usize` by `u32` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/bhcomp.rs:62:22 [INFO] [stdout] | [INFO] [stdout] 62 | let bytes = bits / Limb::BITS; [INFO] [stdout] | ^ no implementation for `usize / u32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Div` is not implemented for `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/bigcomp.rs:157:55 [INFO] [stdout] | [INFO] [stdout] 157 | let nlz = den.leading_zeros().wrapping_sub(wlz) & (u32::BITS - 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `usize`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: no implementation for `usize & u32` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/bigcomp.rs:157:53 [INFO] [stdout] | [INFO] [stdout] 157 | let nlz = den.leading_zeros().wrapping_sub(wlz) & (u32::BITS - 1); [INFO] [stdout] | ^ no implementation for `usize & u32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `BitAnd` is not implemented for `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/bigcomp.rs:175:40 [INFO] [stdout] | [INFO] [stdout] 175 | let (q, r) = shift.ceil_divmod(Limb::BITS); [INFO] [stdout] | ^^^^^^^^^^ expected `usize`, found `u32` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 175 | let (q, r) = shift.ceil_divmod(Limb::BITS.try_into().unwrap()); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/math.rs:2065:27 [INFO] [stdout] | [INFO] [stdout] 2065 | let rs = Limb::BITS - s; [INFO] [stdout] | ^ expected `u32`, found `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot subtract `usize` from `u32` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/math.rs:2065:25 [INFO] [stdout] | [INFO] [stdout] 2065 | let rs = Limb::BITS - s; [INFO] [stdout] | ^ no implementation for `u32 - usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sub` is not implemented for `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/math.rs:1043:42 [INFO] [stdout] | [INFO] [stdout] 1043 | let mut count = index.saturating_mul(Limb::BITS); [INFO] [stdout] | ^^^^^^^^^^ expected `usize`, found `u32` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 1043 | let mut count = index.saturating_mul(Limb::BITS.try_into().unwrap()); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/math.rs:1058:28 [INFO] [stdout] | [INFO] [stdout] 1058 | Limb::BITS.checked_mul(x.len()) [INFO] [stdout] | ^^^^^^^ expected `u32`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `usize` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 1058 | Limb::BITS.checked_mul(x.len().try_into().unwrap()) [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/math.rs:1059:22 [INFO] [stdout] | [INFO] [stdout] 1059 | .map(|v| v - nlz) [INFO] [stdout] | ^^^ expected `u32`, found `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot subtract `usize` from `u32` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/math.rs:1059:20 [INFO] [stdout] | [INFO] [stdout] 1059 | .map(|v| v - nlz) [INFO] [stdout] | ^ no implementation for `u32 - usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sub` is not implemented for `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/math.rs:1060:20 [INFO] [stdout] | [INFO] [stdout] 1060 | .unwrap_or(usize::max_value()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected `u32`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `usize` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 1060 | .unwrap_or(usize::max_value().try_into().unwrap()) [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/math.rs:1058:5 [INFO] [stdout] | [INFO] [stdout] 1054 | pub fn bit_length(x: &[Limb]) -> usize { [INFO] [stdout] | ----- expected `usize` because of return type [INFO] [stdout] ... [INFO] [stdout] 1058 | / Limb::BITS.checked_mul(x.len()) [INFO] [stdout] 1059 | | .map(|v| v - nlz) [INFO] [stdout] 1060 | | .unwrap_or(usize::max_value()) [INFO] [stdout] | |______________________________________^ expected `usize`, found `u32` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 1060 | .unwrap_or(usize::max_value()).try_into().unwrap() [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/math.rs:1085:23 [INFO] [stdout] | [INFO] [stdout] 1085 | debug_assert!(n < bits && n != 0); [INFO] [stdout] | ^^^^ expected `usize`, found `u32` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 1085 | debug_assert!(n < bits.try_into().unwrap() && n != 0); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/math.rs:1092:25 [INFO] [stdout] | [INFO] [stdout] 1092 | let lshift = bits - n; [INFO] [stdout] | ^ expected `u32`, found `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot subtract `usize` from `u32` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/math.rs:1092:23 [INFO] [stdout] | [INFO] [stdout] 1092 | let lshift = bits - n; [INFO] [stdout] | ^ no implementation for `u32 - usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sub` is not implemented for `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/math.rs:1134:19 [INFO] [stdout] | [INFO] [stdout] 1134 | let rem = n % bits; [INFO] [stdout] | ^^^^ expected `usize`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot mod `usize` by `u32` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/math.rs:1134:17 [INFO] [stdout] | [INFO] [stdout] 1134 | let rem = n % bits; [INFO] [stdout] | ^ no implementation for `usize % u32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Rem` is not implemented for `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/math.rs:1135:19 [INFO] [stdout] | [INFO] [stdout] 1135 | let div = n / bits; [INFO] [stdout] | ^^^^ expected `usize`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot divide `usize` by `u32` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/math.rs:1135:17 [INFO] [stdout] | [INFO] [stdout] 1135 | let div = n / bits; [INFO] [stdout] | ^ no implementation for `usize / u32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Div` is not implemented for `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/math.rs:1191:23 [INFO] [stdout] | [INFO] [stdout] 1191 | debug_assert!(n < bits); [INFO] [stdout] | ^^^^ expected `usize`, found `u32` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 1191 | debug_assert!(n < bits.try_into().unwrap()); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/math.rs:1201:25 [INFO] [stdout] | [INFO] [stdout] 1201 | let rshift = bits - n; [INFO] [stdout] | ^ expected `u32`, found `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot subtract `usize` from `u32` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/math.rs:1201:23 [INFO] [stdout] | [INFO] [stdout] 1201 | let rshift = bits - n; [INFO] [stdout] | ^ no implementation for `u32 - usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sub` is not implemented for `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/math.rs:1253:19 [INFO] [stdout] | [INFO] [stdout] 1253 | let rem = n % bits; [INFO] [stdout] | ^^^^ expected `usize`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot mod `usize` by `u32` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/math.rs:1253:17 [INFO] [stdout] | [INFO] [stdout] 1253 | let rem = n % bits; [INFO] [stdout] | ^ no implementation for `usize % u32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Rem` is not implemented for `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/math.rs:1254:19 [INFO] [stdout] | [INFO] [stdout] 1254 | let div = n / bits; [INFO] [stdout] | ^^^^ expected `usize`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot divide `usize` by `u32` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/math.rs:1254:17 [INFO] [stdout] | [INFO] [stdout] 1254 | let div = n / bits; [INFO] [stdout] | ^ no implementation for `usize / u32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Div` is not implemented for `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling parking_lot v0.11.0 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stdout] error: aborting due to 27 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lexical-core` due to 28 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "255f7a88c7f76729ff8029ee567b0c1c02c6ab0073cf9e0f5d906c15adb29cb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "255f7a88c7f76729ff8029ee567b0c1c02c6ab0073cf9e0f5d906c15adb29cb5", kill_on_drop: false }` [INFO] [stdout] 255f7a88c7f76729ff8029ee567b0c1c02c6ab0073cf9e0f5d906c15adb29cb5