[INFO] fetching crate lenia_ca 0.1.1... [INFO] testing lenia_ca-0.1.1 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate lenia_ca 0.1.1 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate lenia_ca 0.1.1 [INFO] finished tweaking crates.io crate lenia_ca 0.1.1 [INFO] tweaked toml for crates.io crate lenia_ca 0.1.1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate lenia_ca 0.1.1 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 26 packages to latest compatible versions [INFO] [stderr] Adding ndarray v0.15.6 (available: v0.17.2) [INFO] [stderr] Adding png v0.17.16 (available: v0.18.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded primal-check v0.3.4 [INFO] [stderr] Downloaded strength_reduce v0.2.4 [INFO] [stderr] Downloaded transpose v0.2.3 [INFO] [stderr] Downloaded matrixmultiply v0.3.10 [INFO] [stderr] Downloaded rustfft v6.4.1 [INFO] [stderr] Downloaded ndarray v0.15.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 636de4ba9d9ee804cf0b9227360e551974653d5ddb1d8089dbd4d1ffb3a7e735 [INFO] running `Command { std: "docker" "start" "-a" "636de4ba9d9ee804cf0b9227360e551974653d5ddb1d8089dbd4d1ffb3a7e735", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "636de4ba9d9ee804cf0b9227360e551974653d5ddb1d8089dbd4d1ffb3a7e735", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "636de4ba9d9ee804cf0b9227360e551974653d5ddb1d8089dbd4d1ffb3a7e735", kill_on_drop: false }` [INFO] [stdout] 636de4ba9d9ee804cf0b9227360e551974653d5ddb1d8089dbd4d1ffb3a7e735 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 80fccfa62f23e53ad47f302a0f3cc9f28541c8c5a81f7140b7a9d7f45f207763 [INFO] running `Command { std: "docker" "start" "-a" "80fccfa62f23e53ad47f302a0f3cc9f28541c8c5a81f7140b7a9d7f45f207763", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling simd-adler32 v0.3.9 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling strength_reduce v0.2.4 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling flate2 v1.1.9 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling primal-check v0.3.4 [INFO] [stderr] Compiling transpose v0.2.3 [INFO] [stderr] Compiling rustfft v6.4.1 [INFO] [stderr] Compiling ndarray v0.15.6 [INFO] [stderr] Compiling lenia_ca v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/fft.rs:177:67 [INFO] [stdout] | [INFO] [stdout] 177 | .for_each_with(self.fft_instances[axis].clone(), |mut fft, mut row| { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/fft.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | let mut data_lane = data.lanes_mut(ndarray::Axis(axis)); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/fft.rs:174:17 [INFO] [stdout] | [INFO] [stdout] 174 | let mut fft_lane = &mut self.fft_instances[axis]; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:272:63 [INFO] [stdout] | [INFO] [stdout] 272 | if folder_path.is_empty() { &"./" } else { folder_path.clone() }, [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lenias.rs:544:34 [INFO] [stdout] | [INFO] [stdout] 544 | weights = new_weights.clone().to_vec(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[f64]` does not implement `Clone`, so calling `clone` on `&[f64]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.70s [INFO] running `Command { std: "docker" "inspect" "80fccfa62f23e53ad47f302a0f3cc9f28541c8c5a81f7140b7a9d7f45f207763", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80fccfa62f23e53ad47f302a0f3cc9f28541c8c5a81f7140b7a9d7f45f207763", kill_on_drop: false }` [INFO] [stdout] 80fccfa62f23e53ad47f302a0f3cc9f28541c8c5a81f7140b7a9d7f45f207763 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ce86e290bb7996fb61604fe8e7ff38ace93a97840166b7e304d03424e58e02f5 [INFO] running `Command { std: "docker" "start" "-a" "ce86e290bb7996fb61604fe8e7ff38ace93a97840166b7e304d03424e58e02f5", kill_on_drop: false }` [INFO] [stderr] Compiling lenia_ca v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/fft.rs:177:67 [INFO] [stdout] | [INFO] [stdout] 177 | .for_each_with(self.fft_instances[axis].clone(), |mut fft, mut row| { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/fft.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | let mut data_lane = data.lanes_mut(ndarray::Axis(axis)); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/fft.rs:174:17 [INFO] [stdout] | [INFO] [stdout] 174 | let mut fft_lane = &mut self.fft_instances[axis]; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:272:63 [INFO] [stdout] | [INFO] [stdout] 272 | if folder_path.is_empty() { &"./" } else { folder_path.clone() }, [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lenias.rs:544:34 [INFO] [stdout] | [INFO] [stdout] 544 | weights = new_weights.clone().to_vec(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[f64]` does not implement `Clone`, so calling `clone` on `&[f64]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/fft.rs:177:67 [INFO] [stdout] | [INFO] [stdout] 177 | .for_each_with(self.fft_instances[axis].clone(), |mut fft, mut row| { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/fft.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | let mut data_lane = data.lanes_mut(ndarray::Axis(axis)); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/fft.rs:174:17 [INFO] [stdout] | [INFO] [stdout] 174 | let mut fft_lane = &mut self.fft_instances[axis]; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:272:63 [INFO] [stdout] | [INFO] [stdout] 272 | if folder_path.is_empty() { &"./" } else { folder_path.clone() }, [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lenias.rs:544:34 [INFO] [stdout] | [INFO] [stdout] 544 | weights = new_weights.clone().to_vec(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[f64]` does not implement `Clone`, so calling `clone` on `&[f64]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.66s [INFO] running `Command { std: "docker" "inspect" "ce86e290bb7996fb61604fe8e7ff38ace93a97840166b7e304d03424e58e02f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce86e290bb7996fb61604fe8e7ff38ace93a97840166b7e304d03424e58e02f5", kill_on_drop: false }` [INFO] [stdout] ce86e290bb7996fb61604fe8e7ff38ace93a97840166b7e304d03424e58e02f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ef7d5e7404d96f82ca3e14a6f0541a77230292d871b1ead3dbd6b3b393b5fc4d [INFO] running `Command { std: "docker" "start" "-a" "ef7d5e7404d96f82ca3e14a6f0541a77230292d871b1ead3dbd6b3b393b5fc4d", kill_on_drop: false }` [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/fft.rs:177:67 [INFO] [stderr] | [INFO] [stderr] 177 | .for_each_with(self.fft_instances[axis].clone(), |mut fft, mut row| { [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/fft.rs:173:17 [INFO] [stderr] | [INFO] [stderr] 173 | let mut data_lane = data.lanes_mut(ndarray::Axis(axis)); [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/fft.rs:174:17 [INFO] [stderr] | [INFO] [stderr] 174 | let mut fft_lane = &mut self.fft_instances[axis]; [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/lib.rs:272:63 [INFO] [stderr] | [INFO] [stderr] 272 | if folder_path.is_empty() { &"./" } else { folder_path.clone() }, [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/lenias.rs:544:34 [INFO] [stderr] | [INFO] [stderr] 544 | weights = new_weights.clone().to_vec(); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `[f64]` does not implement `Clone`, so calling `clone` on `&[f64]` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: `lenia_ca` (lib) generated 5 warnings (run `cargo fix --lib -p lenia_ca` to apply 5 suggestions) [INFO] [stderr] warning: `lenia_ca` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/lenia_ca-f9501289d5c8ddc4) [INFO] [stderr] Doc-tests lenia_ca [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] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lenias.rs - lenias::StandardLenia (line 24) ... FAILED [INFO] [stdout] test src/lib.rs - (line 12) ... FAILED [INFO] [stdout] test src/lenias.rs - lenias::ExpandedLenia (line 228) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lenias.rs - lenias::StandardLenia (line 24) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `Simulator` in this scope [INFO] [stdout] --> src/lenias.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | let mut simulator = Simulator::::new(&channel_shape); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Simulator` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 24 + use lenia_ca::Simulator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `StandardLenia` in this scope [INFO] [stdout] --> src/lenias.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | let mut simulator = Simulator::::new(&channel_shape); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 24 + use lenia_ca::lenias::StandardLenia; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] warning: denote infinite loops with `loop { ... }` [INFO] [stdout] --> src/lenias.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | while true { [INFO] [stdout] | ^^^^^^^^^^ help: use `loop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(while_true)]` on by default [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_channel_as_ref` in this scope [INFO] [stdout] --> src/lenias.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | display(get_channel_as_ref(0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `display` in this scope [INFO] [stdout] --> src/lenias.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | display(get_channel_as_ref(0)); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 12) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `Simulator` in this scope [INFO] [stdout] --> src/lib.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | let mut simulator = Simulator::::new(&channel_shape); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Simulator` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 12 + use lenia_ca::Simulator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `StandardLenia` in this scope [INFO] [stdout] --> src/lib.rs:15:33 [INFO] [stdout] | [INFO] [stdout] 15 | let mut simulator = Simulator::::new(&channel_shape); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 12 + use lenia_ca::lenias::StandardLenia; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] warning: denote infinite loops with `loop { ... }` [INFO] [stdout] --> src/lib.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | while true { [INFO] [stdout] | ^^^^^^^^^^ help: use `loop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(while_true)]` on by default [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_channel_as_ref` in this scope [INFO] [stdout] --> src/lib.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | display(get_channel_as_ref(0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `display` in this scope [INFO] [stdout] --> src/lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | display(get_channel_as_ref(0)); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lenias.rs - lenias::ExpandedLenia (line 228) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `Simulator` in this scope [INFO] [stdout] --> src/lenias.rs:233:21 [INFO] [stdout] | [INFO] [stdout] 233 | let mut simulator = Simulator::::new(&channel_shape); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Simulator` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 228 + use lenia_ca::Simulator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `ExpandedLenia` in this scope [INFO] [stdout] --> src/lenias.rs:233:33 [INFO] [stdout] | [INFO] [stdout] 233 | let mut simulator = Simulator::::new(&channel_shape); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 228 + use lenia_ca::lenias::ExpandedLenia; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `kernels` in this scope [INFO] [stdout] --> src/lenias.rs:240:22 [INFO] [stdout] | [INFO] [stdout] 240 | simulator.set_kernel(kernels::gaussian_donut_2d(14, 0.15), 0); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `kernels` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/kernels.rs, use `mod kernels` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 228 + mod kernels; [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 228 + use lenia_ca::kernels; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `kernels` in this scope [INFO] [stdout] --> src/lenias.rs:241:22 [INFO] [stdout] | [INFO] [stdout] 241 | simulator.set_kernel(kernels::polynomial_nd(25, 2, &vec![4.0, 1.0, 0.333]), 1); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `kernels` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/kernels.rs, use `mod kernels` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 228 + mod kernels; [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 228 + use lenia_ca::kernels; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `kernels` in this scope [INFO] [stdout] --> src/lenias.rs:242:22 [INFO] [stdout] | [INFO] [stdout] 242 | simulator.set_kernel(kernels::polynomial_nd(21, 2, &vec![4.0, 0.0, 1.0]), 2); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `kernels` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/kernels.rs, use `mod kernels` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 228 + mod kernels; [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 228 + use lenia_ca::kernels; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `growth_functions` in this scope [INFO] [stdout] --> src/lenias.rs:243:31 [INFO] [stdout] | [INFO] [stdout] 243 | simulator.set_growth_function(growth_functions::standard_lenia, vec![0.15, 0.02], 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `growth_functions` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/growth_functions.rs, use `mod growth_functions` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 228 + mod growth_functions; [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 228 + use lenia_ca::growth_functions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `growth_functions` in this scope [INFO] [stdout] --> src/lenias.rs:244:31 [INFO] [stdout] | [INFO] [stdout] 244 | simulator.set_growth_function(growth_functions::polynomial, vec![0.25, 0.03, 4.0], 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `growth_functions` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/growth_functions.rs, use `mod growth_functions` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 228 + mod growth_functions; [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 228 + use lenia_ca::growth_functions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `growth_functions` in this scope [INFO] [stdout] --> src/lenias.rs:245:31 [INFO] [stdout] | [INFO] [stdout] 245 | simulator.set_growth_function(growth_functions::polynomial, vec![0.07, 0.026, 4.0], 2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `growth_functions` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/growth_functions.rs, use `mod growth_functions` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 228 + mod growth_functions; [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 228 + use lenia_ca::growth_functions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] warning: denote infinite loops with `loop { ... }` [INFO] [stdout] --> src/lenias.rs:252:1 [INFO] [stdout] | [INFO] [stdout] 252 | while true { [INFO] [stdout] | ^^^^^^^^^^ help: use `loop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(while_true)]` on by default [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_channel_as_ref` in this scope [INFO] [stdout] --> src/lenias.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | display(get_channel_as_ref(0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `display` in this scope [INFO] [stdout] --> src/lenias.rs:254:5 [INFO] [stdout] | [INFO] [stdout] 254 | display(get_channel_as_ref(0)); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_channel_as_ref` in this scope [INFO] [stdout] --> src/lenias.rs:255:13 [INFO] [stdout] | [INFO] [stdout] 255 | display(get_channel_as_ref(1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `display` in this scope [INFO] [stdout] --> src/lenias.rs:255:5 [INFO] [stdout] | [INFO] [stdout] 255 | display(get_channel_as_ref(1)); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lenias.rs - lenias::ExpandedLenia (line 228) [INFO] [stdout] src/lenias.rs - lenias::StandardLenia (line 24) [INFO] [stdout] src/lib.rs - (line 12) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.27s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "ef7d5e7404d96f82ca3e14a6f0541a77230292d871b1ead3dbd6b3b393b5fc4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef7d5e7404d96f82ca3e14a6f0541a77230292d871b1ead3dbd6b3b393b5fc4d", kill_on_drop: false }` [INFO] [stdout] ef7d5e7404d96f82ca3e14a6f0541a77230292d871b1ead3dbd6b3b393b5fc4d