[INFO] fetching crate kiddo 0.1.2... [INFO] checking kiddo-0.1.2 against master#a5f164faad4a2fed606b8160fd7ecd2d5cbba381 for pr-84920 [INFO] extracting crate kiddo 0.1.2 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate kiddo 0.1.2 on toolchain a5f164faad4a2fed606b8160fd7ecd2d5cbba381 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate kiddo 0.1.2 [INFO] finished tweaking crates.io crate kiddo 0.1.2 [INFO] tweaked toml for crates.io crate kiddo 0.1.2 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "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] 151702760e5f4df8e2c104438f985777ac160794bdacd05c6fe3c3fe70b52360 [INFO] running `Command { std: "docker" "start" "-a" "151702760e5f4df8e2c104438f985777ac160794bdacd05c6fe3c3fe70b52360", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "151702760e5f4df8e2c104438f985777ac160794bdacd05c6fe3c3fe70b52360", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "151702760e5f4df8e2c104438f985777ac160794bdacd05c6fe3c3fe70b52360", kill_on_drop: false }` [INFO] [stdout] 151702760e5f4df8e2c104438f985777ac160794bdacd05c6fe3c3fe70b52360 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e2d7cd1c81fd189a409102f23167f35a7c890613edae19e13d2b426c033cfce8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e2d7cd1c81fd189a409102f23167f35a7c890613edae19e13d2b426c033cfce8", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking generic-array v0.13.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking as-slice v0.1.5 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling memoffset v0.6.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Compiling cast v0.2.5 [INFO] [stderr] Checking aligned v0.3.4 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Checking crossbeam-epoch v0.9.4 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking criterion-plot v0.4.3 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking plotters v0.3.0 [INFO] [stderr] Checking kiddo v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde` [INFO] [stdout] --> src/custom_serde.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{ [INFO] [stdout] | ^^^^^ use of undeclared crate or module `serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde` [INFO] [stdout] --> src/custom_serde.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | use serde::{ [INFO] [stdout] | ^^^^^ use of undeclared crate or module `serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/custom_serde.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{ [INFO] [stdout] | ^^^^^ use of undeclared crate or module `serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde` [INFO] [stdout] --> src/custom_serde.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | use serde::ser::SerializeSeq; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/custom_serde.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | use serde::{ [INFO] [stdout] | ^^^^^ use of undeclared crate or module `serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/kiddo.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | #[serde(with = "vec_arrays")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/kiddo.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[serde(with = "arrays")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/kiddo.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[serde(with = "arrays")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Visitor` in this scope [INFO] [stdout] --> src/custom_serde.rs:23:34 [INFO] [stdout] | [INFO] [stdout] 23 | impl<'de, T, const N: usize> Visitor<'de> for ArrayVisitor [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `SeqAccess` in this scope [INFO] [stdout] --> src/custom_serde.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | A: SeqAccess<'de>, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde` [INFO] [stdout] --> src/custom_serde.rs:43:51 [INFO] [stdout] | [INFO] [stdout] 43 | None => return Err(serde::de::Error::invalid_length(N, &self)), [INFO] [stdout] | ^^^^^ not found in `serde::de` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 2 | use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Visitor` in this scope [INFO] [stdout] --> src/custom_serde.rs:86:34 [INFO] [stdout] | [INFO] [stdout] 86 | impl<'de, T, const N: usize> Visitor<'de> for VecArrayVisitor [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `SeqAccess` in this scope [INFO] [stdout] --> src/custom_serde.rs:99:20 [INFO] [stdout] | [INFO] [stdout] 99 | A: SeqAccess<'de>, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde` [INFO] [stdout] --> src/custom_serde.rs:115:55 [INFO] [stdout] | [INFO] [stdout] 115 | None => return Err(serde::de::Error::invalid_length(N, &self)), [INFO] [stdout] | ^^^^^ not found in `serde::de` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 62 | use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 62 | use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 62 | use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 62 | use std::io::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_generics` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(const_generics)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] = note: see issue #44580 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::custom_serde::*` [INFO] [stdout] --> src/kiddo.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::custom_serde::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kiddo` [INFO] [stdout] Some errors have detailed explanations: E0405, E0432, E0433. [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e2d7cd1c81fd189a409102f23167f35a7c890613edae19e13d2b426c033cfce8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2d7cd1c81fd189a409102f23167f35a7c890613edae19e13d2b426c033cfce8", kill_on_drop: false }` [INFO] [stdout] e2d7cd1c81fd189a409102f23167f35a7c890613edae19e13d2b426c033cfce8