[INFO] fetching crate peapod 0.1.9... [INFO] testing peapod-0.1.9 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate peapod 0.1.9 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate peapod 0.1.9 [INFO] finished tweaking crates.io crate peapod 0.1.9 [INFO] tweaked toml for crates.io crate peapod 0.1.9 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate peapod 0.1.9 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate peapod 0.1.9 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded phenotype-macro v0.1.4 [INFO] [stderr] Downloaded phenotype-internal v0.2.0 [INFO] [stderr] Downloaded wyz v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c0e9c2537e28fb0939108800a7bd4fbc3b68d5fcb9752668b110a1811360fb99 [INFO] running `Command { std: "docker" "start" "-a" "c0e9c2537e28fb0939108800a7bd4fbc3b68d5fcb9752668b110a1811360fb99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c0e9c2537e28fb0939108800a7bd4fbc3b68d5fcb9752668b110a1811360fb99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0e9c2537e28fb0939108800a7bd4fbc3b68d5fcb9752668b110a1811360fb99", kill_on_drop: false }` [INFO] [stdout] c0e9c2537e28fb0939108800a7bd4fbc3b68d5fcb9752668b110a1811360fb99 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff8747009b3965f8f7124220e2b447e8747bfdf4655d4da85cde04394ea4f90d [INFO] running `Command { std: "docker" "start" "-a" "ff8747009b3965f8f7124220e2b447e8747bfdf4655d4da85cde04394ea4f90d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling phenotype-internal v0.2.0 [INFO] [stderr] Compiling wyz v0.5.0 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling phenotype-macro v0.1.4 [INFO] [stderr] Compiling peapod v0.1.9 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `elem` [INFO] [stdout] --> src/array.rs:57:34 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn force_push(&mut self, elem: T) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_elem` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FixedPod` is never constructed [INFO] [stdout] --> src/array.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct FixedPod { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/array.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 15 | / impl FixedPod [INFO] [stdout] 16 | | where [INFO] [stdout] 17 | | T: Phenotype, [INFO] [stdout] | |_________________- associated items in this implementation [INFO] [stdout] 18 | { [INFO] [stdout] 19 | const UNINIT: MaybeUninit = MaybeUninit::uninit(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 20 | [INFO] [stdout] 21 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn push(&mut self, elem: T) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn force_push(&mut self, elem: T) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | fn check_init(&self, index: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | fn set_init(&mut self, index: usize) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | fn get_tag(&self, index: usize) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | fn set_tag(&mut self, index: usize, tag: usize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.74s [INFO] running `Command { std: "docker" "inspect" "ff8747009b3965f8f7124220e2b447e8747bfdf4655d4da85cde04394ea4f90d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff8747009b3965f8f7124220e2b447e8747bfdf4655d4da85cde04394ea4f90d", kill_on_drop: false }` [INFO] [stdout] ff8747009b3965f8f7124220e2b447e8747bfdf4655d4da85cde04394ea4f90d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9520f18f935d2e6cfdf549f9e647106d6999e970ece198e6e8a8e17d627acf29 [INFO] running `Command { std: "docker" "start" "-a" "9520f18f935d2e6cfdf549f9e647106d6999e970ece198e6e8a8e17d627acf29", kill_on_drop: false }` [INFO] [stdout] warning: unused variable: `elem` [INFO] [stdout] --> src/array.rs:57:34 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn force_push(&mut self, elem: T) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_elem` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FixedPod` is never constructed [INFO] [stdout] --> src/array.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct FixedPod { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/array.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 15 | / impl FixedPod [INFO] [stdout] 16 | | where [INFO] [stdout] 17 | | T: Phenotype, [INFO] [stdout] | |_________________- associated items in this implementation [INFO] [stdout] 18 | { [INFO] [stdout] 19 | const UNINIT: MaybeUninit = MaybeUninit::uninit(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 20 | [INFO] [stdout] 21 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn push(&mut self, elem: T) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn force_push(&mut self, elem: T) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | fn check_init(&self, index: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | fn set_init(&mut self, index: usize) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | fn get_tag(&self, index: usize) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | fn set_tag(&mut self, index: usize, tag: usize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling peapod v0.1.9 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `elem` [INFO] [stdout] --> src/array.rs:57:34 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn force_push(&mut self, elem: T) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_elem` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FixedPod` is never constructed [INFO] [stdout] --> src/array.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct FixedPod { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/array.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 15 | / impl FixedPod [INFO] [stdout] 16 | | where [INFO] [stdout] 17 | | T: Phenotype, [INFO] [stdout] | |_________________- associated items in this implementation [INFO] [stdout] 18 | { [INFO] [stdout] 19 | const UNINIT: MaybeUninit = MaybeUninit::uninit(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 20 | [INFO] [stdout] 21 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn push(&mut self, elem: T) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn force_push(&mut self, elem: T) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | fn check_init(&self, index: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | fn set_init(&mut self, index: usize) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | fn get_tag(&self, index: usize) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | fn set_tag(&mut self, index: usize, tag: usize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.51s [INFO] running `Command { std: "docker" "inspect" "9520f18f935d2e6cfdf549f9e647106d6999e970ece198e6e8a8e17d627acf29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9520f18f935d2e6cfdf549f9e647106d6999e970ece198e6e8a8e17d627acf29", kill_on_drop: false }` [INFO] [stdout] 9520f18f935d2e6cfdf549f9e647106d6999e970ece198e6e8a8e17d627acf29 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 04d756fbd03650eb6ff0926c575a6d56f5fcb4709a7b9aad70f9364890493f7a [INFO] running `Command { std: "docker" "start" "-a" "04d756fbd03650eb6ff0926c575a6d56f5fcb4709a7b9aad70f9364890493f7a", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `elem` [INFO] [stderr] --> src/array.rs:57:34 [INFO] [stderr] | [INFO] [stderr] 57 | pub fn force_push(&mut self, elem: T) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_elem` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `FixedPod` is never constructed [INFO] [stderr] --> src/array.rs:6:12 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct FixedPod { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: multiple associated items are never used [INFO] [stderr] --> src/array.rs:19:11 [INFO] [stderr] | [INFO] [stderr] 15 | / impl FixedPod [INFO] [stderr] 16 | | where [INFO] [stderr] 17 | | T: Phenotype, [INFO] [stderr] | |_________________- associated items in this implementation [INFO] [stderr] 18 | { [INFO] [stderr] 19 | const UNINIT: MaybeUninit = MaybeUninit::uninit(); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 20 | [INFO] [stderr] 21 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 29 | fn len(&self) -> usize { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 38 | pub fn push(&mut self, elem: T) -> bool { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 57 | pub fn force_push(&mut self, elem: T) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 62 | fn check_init(&self, index: usize) -> bool { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 67 | fn set_init(&mut self, index: usize) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 72 | fn get_tag(&self, index: usize) -> usize { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 78 | fn set_tag(&mut self, index: usize, tag: usize) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `peapod` (lib) generated 3 warnings [INFO] [stderr] warning: `peapod` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/peapod-35729f916a7ed29a) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test peapod_vec::tests::clear_clears_empty ... ok [INFO] [stdout] test peapod_vec::tests::clear_clears_nonempty ... ok [INFO] [stdout] test peapod_vec::tests::double_ended_iterator ... ok [INFO] [stdout] test peapod_vec::tests::new_is_empty ... ok [INFO] [stdout] test peapod_vec::tests::pop_works ... ok [INFO] [stdout] test peapod_vec::tests::exact_size_iterator ... ok [INFO] [stdout] test peapod_vec::tests::push_increases_len ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/peapod-a367cda2db76d133) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests peapod [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test src/lib.rs - (line 129) ... FAILED [INFO] [stdout] test src/lib.rs - (line 95) ... FAILED [INFO] [stdout] test src/lib.rs - (line 77) ... ok [INFO] [stdout] test src/lib.rs - (line 149) ... FAILED [INFO] [stdout] test src/lib.rs - (line 181) ... FAILED [INFO] [stdout] test src/lib.rs - (line 215) ... FAILED [INFO] [stdout] test src/lib.rs - (line 26) ... ok [INFO] [stdout] test src/peapod_vec.rs - peapod_vec::peapod (line 24) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 129) stdout ---- [INFO] [stdout] error: expected one of `where` or `{`, found keyword `fn` [INFO] [stdout] --> src/lib.rs:132:1 [INFO] [stdout] | [INFO] [stdout] 2 | fn cleave(self) -> (usize, Self::Value) [INFO] [stdout] | - expected one of `where` or `{` [INFO] [stdout] 3 | fn reknit(tag: usize, value: Self::Value) -> Self [INFO] [stdout] | ^^ unexpected token [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 95) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `:` [INFO] [stdout] --> src/lib.rs:96:6 [INFO] [stdout] | [INFO] [stdout] 1 | Scale: 1 - == 1 byte [INFO] [stdout] | ^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 149) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `ManuallyDrop` in this scope [INFO] [stdout] --> src/lib.rs:172:18 [INFO] [stdout] | [INFO] [stdout] 25 | NamedFields: ManuallyDrop<__PhenotypeInternalThreeTypesNamedFieldsData>, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::mem::ManuallyDrop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ManuallyDrop` in this scope [INFO] [stdout] --> src/lib.rs:173:12 [INFO] [stdout] | [INFO] [stdout] 26 | Tuple: ManuallyDrop<__PhenotypeInternalThreeTypesTupleData>, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::mem::ManuallyDrop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 181) stdout ---- [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/lib.rs:182:11 [INFO] [stdout] | [INFO] [stdout] 3 | fn cleave(self) -> (usize, Self::Value) { [INFO] [stdout] | ^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ManuallyDrop` [INFO] [stdout] --> src/lib.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 4 | match &*ManuallyDrop::new(self) { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ManuallyDrop` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::mem::ManuallyDrop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `__PhenotypeInternalThreeTypesData` in this scope [INFO] [stdout] --> src/lib.rs:184:39 [INFO] [stdout] | [INFO] [stdout] 5 | ThreeTypes::Empty => (2usize, __PhenotypeInternalThreeTypesData { Empty: () }), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `__PhenotypeInternalThreeTypesData` in this scope [INFO] [stdout] --> src/lib.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 8 | __PhenotypeInternalThreeTypesData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ManuallyDrop` [INFO] [stdout] --> src/lib.rs:188:24 [INFO] [stdout] | [INFO] [stdout] 9 | Tuple: ManuallyDrop::new(__PhenotypeInternalThreeTypesTupleData( [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ManuallyDrop` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::mem::ManuallyDrop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `__PhenotypeInternalThreeTypesData` in this scope [INFO] [stdout] --> src/lib.rs:196:13 [INFO] [stdout] | [INFO] [stdout] 17 | __PhenotypeInternalThreeTypesData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ManuallyDrop` [INFO] [stdout] --> src/lib.rs:197:30 [INFO] [stdout] | [INFO] [stdout] 18 | NamedFields: ManuallyDrop::new(__PhenotypeInternalThreeTypesNamedFieldsData::< [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ManuallyDrop` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::mem::ManuallyDrop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `__PhenotypeInternalThreeTypesNamedFieldsData` in this scope [INFO] [stdout] --> src/lib.rs:197:48 [INFO] [stdout] | [INFO] [stdout] 18 | NamedFields: ManuallyDrop::new(__PhenotypeInternalThreeTypesNamedFieldsData::< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> src/lib.rs:198:21 [INFO] [stdout] | [INFO] [stdout] 19 | T, [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3 | fn cleave(self) -> (usize, Self::Value) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `__PhenotypeInternalThreeTypesTupleData` in this scope [INFO] [stdout] --> src/lib.rs:188:42 [INFO] [stdout] | [INFO] [stdout] 9 | Tuple: ManuallyDrop::new(__PhenotypeInternalThreeTypesTupleData( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: `Self` is only available in impls, traits, and type definitions [INFO] [stdout] --> src/lib.rs:182:28 [INFO] [stdout] | [INFO] [stdout] 3 | fn cleave(self) -> (usize, Self::Value) { [INFO] [stdout] | ^^^^ `Self` is only available in impls, traits, and type definitions [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ThreeTypes` [INFO] [stdout] --> src/lib.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 5 | ThreeTypes::Empty => (2usize, __PhenotypeInternalThreeTypesData { Empty: () }), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ThreeTypes` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ThreeTypes` [INFO] [stdout] --> src/lib.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 6 | ThreeTypes::Tuple(_0, _1) => ( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ThreeTypes` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ThreeTypes` [INFO] [stdout] --> src/lib.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 15 | ThreeTypes::NamedFields { one, two } => ( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ThreeTypes` [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 215) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `ThreeTypes` in this scope [INFO] [stdout] --> src/lib.rs:216:46 [INFO] [stdout] | [INFO] [stdout] 3 | fn reknit(tag: usize, value: Self::Value) -> ThreeTypes { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> src/lib.rs:216:57 [INFO] [stdout] | [INFO] [stdout] 3 | fn reknit(tag: usize, value: Self::Value) -> ThreeTypes { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3 | fn reknit(tag: usize, value: Self::Value) -> ThreeTypes { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ManuallyDrop` [INFO] [stdout] --> src/lib.rs:221:17 [INFO] [stdout] | [INFO] [stdout] 8 | ManuallyDrop::<__PhenotypeInternalThreeTypesTupleData>::into_inner(unsafe { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ManuallyDrop` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::mem::ManuallyDrop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `__PhenotypeInternalThreeTypesTupleData` in this scope [INFO] [stdout] --> src/lib.rs:221:32 [INFO] [stdout] | [INFO] [stdout] 8 | ManuallyDrop::<__PhenotypeInternalThreeTypesTupleData>::into_inner(unsafe { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3 | fn reknit<__PhenotypeInternalThreeTypesTupleData>(tag: usize, value: Self::Value) -> ThreeTypes { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ManuallyDrop` [INFO] [stdout] --> src/lib.rs:228:17 [INFO] [stdout] | [INFO] [stdout] 15 | ManuallyDrop::<__PhenotypeInternalThreeTypesNamedFieldsData>::into_inner( [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ManuallyDrop` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::mem::ManuallyDrop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `__PhenotypeInternalThreeTypesNamedFieldsData` in this scope [INFO] [stdout] --> src/lib.rs:228:32 [INFO] [stdout] | [INFO] [stdout] 15 | ManuallyDrop::<__PhenotypeInternalThreeTypesNamedFieldsData>::into_inner( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> src/lib.rs:228:77 [INFO] [stdout] | [INFO] [stdout] 15 | ManuallyDrop::<__PhenotypeInternalThreeTypesNamedFieldsData>::into_inner( [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3 | fn reknit(tag: usize, value: Self::Value) -> ThreeTypes { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ThreeTypes` [INFO] [stdout] --> src/lib.rs:218:19 [INFO] [stdout] | [INFO] [stdout] 5 | 2usize => ThreeTypes::Empty, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ThreeTypes` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ThreeTypes` [INFO] [stdout] --> src/lib.rs:224:13 [INFO] [stdout] | [INFO] [stdout] 11 | ThreeTypes::Tuple(data.0, data.1) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ThreeTypes` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: `Self` is only available in impls, traits, and type definitions [INFO] [stdout] --> src/lib.rs:216:30 [INFO] [stdout] | [INFO] [stdout] 3 | fn reknit(tag: usize, value: Self::Value) -> ThreeTypes { [INFO] [stdout] | ^^^^ `Self` is only available in impls, traits, and type definitions [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ThreeTypes` [INFO] [stdout] --> src/lib.rs:231:13 [INFO] [stdout] | [INFO] [stdout] 18 | ThreeTypes::NamedFields { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ThreeTypes` [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 129) [INFO] [stdout] src/lib.rs - (line 149) [INFO] [stdout] src/lib.rs - (line 181) [INFO] [stdout] src/lib.rs - (line 215) [INFO] [stdout] src/lib.rs - (line 95) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 3 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.49s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "04d756fbd03650eb6ff0926c575a6d56f5fcb4709a7b9aad70f9364890493f7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04d756fbd03650eb6ff0926c575a6d56f5fcb4709a7b9aad70f9364890493f7a", kill_on_drop: false }` [INFO] [stdout] 04d756fbd03650eb6ff0926c575a6d56f5fcb4709a7b9aad70f9364890493f7a