[INFO] fetching crate lenia_ca 0.1.1... [INFO] testing lenia_ca-0.1.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate lenia_ca 0.1.1 into /workspace/builds/worker-0-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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate lenia_ca 0.1.1 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 26 packages to latest compatible versions [INFO] [stderr] Adding ndarray v0.15.6 (available: v0.16.1) [INFO] [stderr] Adding png v0.17.16 (available: v0.18.0) [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-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5f9bc1e7c6e8443a7a732a6536b3cbe4f9fd9ae7753c02e11bff517b48ff7d87 [INFO] running `Command { std: "docker" "start" "-a" "5f9bc1e7c6e8443a7a732a6536b3cbe4f9fd9ae7753c02e11bff517b48ff7d87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5f9bc1e7c6e8443a7a732a6536b3cbe4f9fd9ae7753c02e11bff517b48ff7d87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f9bc1e7c6e8443a7a732a6536b3cbe4f9fd9ae7753c02e11bff517b48ff7d87", kill_on_drop: false }` [INFO] [stdout] 5f9bc1e7c6e8443a7a732a6536b3cbe4f9fd9ae7753c02e11bff517b48ff7d87 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f2b2618bed15261eec9a64800443291776a84f9733f4ae16e97e6017cb361973 [INFO] running `Command { std: "docker" "start" "-a" "f2b2618bed15261eec9a64800443291776a84f9733f4ae16e97e6017cb361973", kill_on_drop: false }` [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling strength_reduce v0.2.4 [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 transpose v0.2.3 [INFO] [stderr] Compiling primal-check v0.3.4 [INFO] [stderr] Compiling ndarray v0.15.6 [INFO] [stderr] Compiling rustfft v6.4.0 [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 17.33s [INFO] running `Command { std: "docker" "inspect" "f2b2618bed15261eec9a64800443291776a84f9733f4ae16e97e6017cb361973", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2b2618bed15261eec9a64800443291776a84f9733f4ae16e97e6017cb361973", kill_on_drop: false }` [INFO] [stdout] f2b2618bed15261eec9a64800443291776a84f9733f4ae16e97e6017cb361973 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 52a32e20573d5a51ff06c6442e72d179d92bb1dbc10a3ee4a7b82fa3537b5fe2 [INFO] running `Command { std: "docker" "start" "-a" "52a32e20573d5a51ff06c6442e72d179d92bb1dbc10a3ee4a7b82fa3537b5fe2", kill_on_drop: false }` [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] 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 `test` profile [unoptimized + debuginfo] target(s) in 0.81s [INFO] running `Command { std: "docker" "inspect" "52a32e20573d5a51ff06c6442e72d179d92bb1dbc10a3ee4a7b82fa3537b5fe2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52a32e20573d5a51ff06c6442e72d179d92bb1dbc10a3ee4a7b82fa3537b5fe2", kill_on_drop: false }` [INFO] [stdout] 52a32e20573d5a51ff06c6442e72d179d92bb1dbc10a3ee4a7b82fa3537b5fe2 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 57b4e250da7a9dc2006a25129938e9da3548f8be858103ee9b576fe4be34170a [INFO] running `Command { std: "docker" "start" "-a" "57b4e250da7a9dc2006a25129938e9da3548f8be858103ee9b576fe4be34170a", 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.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/lenia_ca-5513b8f41c5564b0) [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 lenia_ca [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - (line 12) ... FAILED [INFO] [stdout] test src/lenias.rs - lenias::ExpandedLenia (line 228) ... FAILED [INFO] [stdout] test src/lenias.rs - lenias::StandardLenia (line 24) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 12) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Simulator` [INFO] [stdout] --> src/lib.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 5 | 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] 2 + use lenia_ca::Simulator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StandardLenia` in this scope [INFO] [stdout] --> src/lib.rs:15:33 [INFO] [stdout] | [INFO] [stdout] 5 | 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] 2 + 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] 7 | 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] 9 | 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] 9 | 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: E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lenias.rs - lenias::ExpandedLenia (line 228) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Simulator` [INFO] [stdout] --> src/lenias.rs:233:21 [INFO] [stdout] | [INFO] [stdout] 7 | 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] 2 + use lenia_ca::Simulator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ExpandedLenia` in this scope [INFO] [stdout] --> src/lenias.rs:233:33 [INFO] [stdout] | [INFO] [stdout] 7 | 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] 2 + use lenia_ca::lenias::ExpandedLenia; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kernels` [INFO] [stdout] --> src/lenias.rs:240:22 [INFO] [stdout] | [INFO] [stdout] 14 | 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] 2 + mod kernels; [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use lenia_ca::kernels; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kernels` [INFO] [stdout] --> src/lenias.rs:241:22 [INFO] [stdout] | [INFO] [stdout] 15 | 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] 2 + mod kernels; [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use lenia_ca::kernels; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kernels` [INFO] [stdout] --> src/lenias.rs:242:22 [INFO] [stdout] | [INFO] [stdout] 16 | 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] 2 + mod kernels; [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use lenia_ca::kernels; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `growth_functions` [INFO] [stdout] --> src/lenias.rs:243:31 [INFO] [stdout] | [INFO] [stdout] 17 | 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] 2 + mod growth_functions; [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use lenia_ca::growth_functions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `growth_functions` [INFO] [stdout] --> src/lenias.rs:244:31 [INFO] [stdout] | [INFO] [stdout] 18 | 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] 2 + mod growth_functions; [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use lenia_ca::growth_functions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `growth_functions` [INFO] [stdout] --> src/lenias.rs:245:31 [INFO] [stdout] | [INFO] [stdout] 19 | 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] 2 + mod growth_functions; [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + 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] 26 | 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] 28 | 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] 28 | 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] 29 | 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] 29 | 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: E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lenias.rs - lenias::StandardLenia (line 24) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Simulator` [INFO] [stdout] --> src/lenias.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 5 | 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] 2 + use lenia_ca::Simulator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StandardLenia` in this scope [INFO] [stdout] --> src/lenias.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 5 | 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] 2 + 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] 7 | 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] 9 | 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] 9 | 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: E0412, E0425, 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/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.23s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "57b4e250da7a9dc2006a25129938e9da3548f8be858103ee9b576fe4be34170a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57b4e250da7a9dc2006a25129938e9da3548f8be858103ee9b576fe4be34170a", kill_on_drop: false }` [INFO] [stdout] 57b4e250da7a9dc2006a25129938e9da3548f8be858103ee9b576fe4be34170a