[INFO] fetching crate crate_lib_test 0.1.0... [INFO] testing crate_lib_test-0.1.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate crate_lib_test 0.1.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate crate_lib_test 0.1.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate crate_lib_test 0.1.0 [INFO] tweaked toml for crates.io crate crate_lib_test 0.1.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate crate_lib_test 0.1.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate crate_lib_test 0.1.0 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0fcb5cdcb4babd32649a4b439111a76691f155492dccf4dd43e834980021fec1 [INFO] running `Command { std: "docker" "start" "-a" "0fcb5cdcb4babd32649a4b439111a76691f155492dccf4dd43e834980021fec1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0fcb5cdcb4babd32649a4b439111a76691f155492dccf4dd43e834980021fec1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fcb5cdcb4babd32649a4b439111a76691f155492dccf4dd43e834980021fec1", kill_on_drop: false }` [INFO] [stdout] 0fcb5cdcb4babd32649a4b439111a76691f155492dccf4dd43e834980021fec1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d7880ffc8515dcdec0d74520cec68cf6d831dcbc1e3f35a3d808b14fddd2b2fd [INFO] running `Command { std: "docker" "start" "-a" "d7880ffc8515dcdec0d74520cec68cf6d831dcbc1e3f35a3d808b14fddd2b2fd", kill_on_drop: false }` [INFO] [stderr] Compiling crate_lib_test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `factory` [INFO] [stdout] --> src/spores.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn produce_spore(factory: &mut Sporangium) -> Spore { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_factory` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spore` [INFO] [stdout] --> src/spores.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) fn genes(spore: &Spore) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_spore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent` [INFO] [stdout] --> src/spores.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | fn recombine(parent: &mut Cell) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Sporangium` is more private than the item `produce_spore` [INFO] [stdout] --> src/spores.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn produce_spore(factory: &mut Sporangium) -> Spore { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `produce_spore` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Sporangium` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/spores.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | struct Sporangium{} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Gene` is more private than the item `genes` [INFO] [stdout] --> src/spores.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) fn genes(spore: &Spore) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `genes` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Gene` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/spores.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | struct Gene{} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Gene` is never constructed [INFO] [stdout] --> src/spores.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct Gene{} [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `genes` is never used [INFO] [stdout] --> src/spores.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) fn genes(spore: &Spore) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `recombine` is never used [INFO] [stdout] --> src/spores.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn recombine(parent: &mut Cell) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.43s [INFO] running `Command { std: "docker" "inspect" "d7880ffc8515dcdec0d74520cec68cf6d831dcbc1e3f35a3d808b14fddd2b2fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7880ffc8515dcdec0d74520cec68cf6d831dcbc1e3f35a3d808b14fddd2b2fd", kill_on_drop: false }` [INFO] [stdout] d7880ffc8515dcdec0d74520cec68cf6d831dcbc1e3f35a3d808b14fddd2b2fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b4f7ed3193d205505f8a4d28067c766af8130339247f09edab02d4bb8380b55 [INFO] running `Command { std: "docker" "start" "-a" "8b4f7ed3193d205505f8a4d28067c766af8130339247f09edab02d4bb8380b55", kill_on_drop: false }` [INFO] [stderr] Compiling crate_lib_test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `factory` [INFO] [stdout] --> src/spores.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn produce_spore(factory: &mut Sporangium) -> Spore { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_factory` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spore` [INFO] [stdout] --> src/spores.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) fn genes(spore: &Spore) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_spore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent` [INFO] [stdout] --> src/spores.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | fn recombine(parent: &mut Cell) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Sporangium` is more private than the item `produce_spore` [INFO] [stdout] --> src/spores.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn produce_spore(factory: &mut Sporangium) -> Spore { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `produce_spore` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Sporangium` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/spores.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | struct Sporangium{} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Gene` is more private than the item `genes` [INFO] [stdout] --> src/spores.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) fn genes(spore: &Spore) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `genes` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Gene` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/spores.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | struct Gene{} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Gene` is never constructed [INFO] [stdout] --> src/spores.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct Gene{} [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `genes` is never used [INFO] [stdout] --> src/spores.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) fn genes(spore: &Spore) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `recombine` is never used [INFO] [stdout] --> src/spores.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn recombine(parent: &mut Cell) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `factory` [INFO] [stdout] --> src/spores.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn produce_spore(factory: &mut Sporangium) -> Spore { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_factory` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spore` [INFO] [stdout] --> src/spores.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) fn genes(spore: &Spore) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_spore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent` [INFO] [stdout] --> src/spores.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | fn recombine(parent: &mut Cell) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Sporangium` is more private than the item `produce_spore` [INFO] [stdout] --> src/spores.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn produce_spore(factory: &mut Sporangium) -> Spore { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `produce_spore` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Sporangium` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/spores.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | struct Sporangium{} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Gene` is more private than the item `genes` [INFO] [stdout] --> src/spores.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) fn genes(spore: &Spore) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `genes` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Gene` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/spores.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | struct Gene{} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Gene` is never constructed [INFO] [stdout] --> src/spores.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct Gene{} [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `genes` is never used [INFO] [stdout] --> src/spores.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) fn genes(spore: &Spore) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `recombine` is never used [INFO] [stdout] --> src/spores.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn recombine(parent: &mut Cell) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.53s [INFO] running `Command { std: "docker" "inspect" "8b4f7ed3193d205505f8a4d28067c766af8130339247f09edab02d4bb8380b55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b4f7ed3193d205505f8a4d28067c766af8130339247f09edab02d4bb8380b55", kill_on_drop: false }` [INFO] [stdout] 8b4f7ed3193d205505f8a4d28067c766af8130339247f09edab02d4bb8380b55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4d2d59a1c4da68a8a07ea5a6206b56a83384cb72761ed9fc1dcd02758264af32 [INFO] running `Command { std: "docker" "start" "-a" "4d2d59a1c4da68a8a07ea5a6206b56a83384cb72761ed9fc1dcd02758264af32", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `factory` [INFO] [stderr] --> src/spores.rs:15:22 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn produce_spore(factory: &mut Sporangium) -> Spore { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_factory` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `spore` [INFO] [stderr] --> src/spores.rs:19:21 [INFO] [stderr] | [INFO] [stderr] 19 | pub(crate) fn genes(spore: &Spore) -> Vec { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_spore` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `parent` [INFO] [stderr] --> src/spores.rs:23:17 [INFO] [stderr] | [INFO] [stderr] 23 | fn recombine(parent: &mut Cell) { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent` [INFO] [stderr] [INFO] [stderr] warning: type `Sporangium` is more private than the item `produce_spore` [INFO] [stderr] --> src/spores.rs:15:1 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn produce_spore(factory: &mut Sporangium) -> Spore { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `produce_spore` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `Sporangium` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/spores.rs:13:1 [INFO] [stderr] | [INFO] [stderr] 13 | struct Sporangium{} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(private_interfaces)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type `Gene` is more private than the item `genes` [INFO] [stderr] --> src/spores.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | pub(crate) fn genes(spore: &Spore) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `genes` is reachable at visibility `pub(crate)` [INFO] [stderr] | [INFO] [stderr] note: but type `Gene` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/spores.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | struct Gene{} [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Gene` is never constructed [INFO] [stderr] --> src/spores.rs:11:8 [INFO] [stderr] | [INFO] [stderr] 11 | struct Gene{} [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `genes` is never used [INFO] [stderr] --> src/spores.rs:19:15 [INFO] [stderr] | [INFO] [stderr] 19 | pub(crate) fn genes(spore: &Spore) -> Vec { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `recombine` is never used [INFO] [stderr] --> src/spores.rs:23:4 [INFO] [stderr] | [INFO] [stderr] 23 | fn recombine(parent: &mut Cell) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `crate_lib_test` (lib) generated 8 warnings (run `cargo fix --lib -p crate_lib_test` to apply 3 suggestions) [INFO] [stderr] warning: `crate_lib_test` (lib test) generated 8 warnings (8 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/crate_lib_test-ab8e9fc84860dec8) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test fern::tests::explicit_radix ... FAILED [INFO] [stdout] test fern::tests::test_grow ... ok [INFO] [stdout] test fern::tests::test_divide_by_zero_error - should panic ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- fern::tests::explicit_radix stdout ---- [INFO] [stdout] Error: ParseIntError { kind: InvalidDigit } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] fern::tests::explicit_radix [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "4d2d59a1c4da68a8a07ea5a6206b56a83384cb72761ed9fc1dcd02758264af32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d2d59a1c4da68a8a07ea5a6206b56a83384cb72761ed9fc1dcd02758264af32", kill_on_drop: false }` [INFO] [stdout] 4d2d59a1c4da68a8a07ea5a6206b56a83384cb72761ed9fc1dcd02758264af32