[INFO] fetching crate crate_lib_test 0.1.0... [INFO] testing crate_lib_test-0.1.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate crate_lib_test 0.1.0 into /workspace/builds/worker-2-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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate crate_lib_test 0.1.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c284ce89c8c668590389e440f17e0ac83d43e93854a5a809d274f2e1c3819392 [INFO] running `Command { std: "docker" "start" "-a" "c284ce89c8c668590389e440f17e0ac83d43e93854a5a809d274f2e1c3819392", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c284ce89c8c668590389e440f17e0ac83d43e93854a5a809d274f2e1c3819392", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c284ce89c8c668590389e440f17e0ac83d43e93854a5a809d274f2e1c3819392", kill_on_drop: false }` [INFO] [stdout] c284ce89c8c668590389e440f17e0ac83d43e93854a5a809d274f2e1c3819392 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e97ca373104a4b59211d6d5253a49de19e5e380a3a4c93e8a043a62093e4f5c0 [INFO] running `Command { std: "docker" "start" "-a" "e97ca373104a4b59211d6d5253a49de19e5e380a3a4c93e8a043a62093e4f5c0", 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.31s [INFO] running `Command { std: "docker" "inspect" "e97ca373104a4b59211d6d5253a49de19e5e380a3a4c93e8a043a62093e4f5c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e97ca373104a4b59211d6d5253a49de19e5e380a3a4c93e8a043a62093e4f5c0", kill_on_drop: false }` [INFO] [stdout] e97ca373104a4b59211d6d5253a49de19e5e380a3a4c93e8a043a62093e4f5c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 76c906cc665c9c7401a8f3b318884d406ee63f91fd3e13813db5350a8bf5e872 [INFO] running `Command { std: "docker" "start" "-a" "76c906cc665c9c7401a8f3b318884d406ee63f91fd3e13813db5350a8bf5e872", kill_on_drop: false }` [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] 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 `test` profile [unoptimized + debuginfo] target(s) in 0.52s [INFO] running `Command { std: "docker" "inspect" "76c906cc665c9c7401a8f3b318884d406ee63f91fd3e13813db5350a8bf5e872", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76c906cc665c9c7401a8f3b318884d406ee63f91fd3e13813db5350a8bf5e872", kill_on_drop: false }` [INFO] [stdout] 76c906cc665c9c7401a8f3b318884d406ee63f91fd3e13813db5350a8bf5e872 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e509e4329b6ae251038bcdafab971126fd222b4b0dc87bce676c7d94b988aa87 [INFO] running `Command { std: "docker" "start" "-a" "e509e4329b6ae251038bcdafab971126fd222b4b0dc87bce676c7d94b988aa87", 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 [INFO] [stderr] warning: `crate_lib_test` (lib test) generated 8 warnings (8 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [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.04s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "e509e4329b6ae251038bcdafab971126fd222b4b0dc87bce676c7d94b988aa87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e509e4329b6ae251038bcdafab971126fd222b4b0dc87bce676c7d94b988aa87", kill_on_drop: false }` [INFO] [stdout] e509e4329b6ae251038bcdafab971126fd222b4b0dc87bce676c7d94b988aa87