[INFO] cloning repository https://github.com/KisaragiEffective/rust-generic-dp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KisaragiEffective/rust-generic-dp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKisaragiEffective%2Frust-generic-dp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKisaragiEffective%2Frust-generic-dp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1363d18d723211ebec4cf647303e644e72f04e41 [INFO] checking KisaragiEffective/rust-generic-dp/1363d18d723211ebec4cf647303e644e72f04e41 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKisaragiEffective%2Frust-generic-dp" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/KisaragiEffective/rust-generic-dp on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/KisaragiEffective/rust-generic-dp [INFO] finished tweaking git repo https://github.com/KisaragiEffective/rust-generic-dp [INFO] tweaked toml for git repo https://github.com/KisaragiEffective/rust-generic-dp written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/KisaragiEffective/rust-generic-dp 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8a36d5746ae2e5b245bd093f93b60b9dce047e0bfaab235637bc14ed4b25da22 [INFO] running `Command { std: "docker" "start" "-a" "8a36d5746ae2e5b245bd093f93b60b9dce047e0bfaab235637bc14ed4b25da22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a36d5746ae2e5b245bd093f93b60b9dce047e0bfaab235637bc14ed4b25da22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a36d5746ae2e5b245bd093f93b60b9dce047e0bfaab235637bc14ed4b25da22", kill_on_drop: false }` [INFO] [stdout] 8a36d5746ae2e5b245bd093f93b60b9dce047e0bfaab235637bc14ed4b25da22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 519b78d1c8949f3bf32e1dd335019310db6a40c9d91f9bbd03edffda3df250c5 [INFO] running `Command { std: "docker" "start" "-a" "519b78d1c8949f3bf32e1dd335019310db6a40c9d91f9bbd03edffda3df250c5", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Checking non-empty-vec v0.2.3 [INFO] [stderr] Checking untitled12345 v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/dp/state.rs (1 fix) [INFO] [stderr] Fixed src/test/fib_perf.rs (8 fixes) [INFO] [stdout] warning: function `simple_dp` is never used [INFO] [stdout] --> src/dp.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn simple_dp<'dp, I: Copy, R: Copy, M: Copy + Magma, Solver: ProblemProxy, PartialAnswer>, PartialAnswer>( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Intermediate` and `Base` are never constructed [INFO] [stdout] --> src/dp/complex.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum State { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 26 | Intermediate { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | Base { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/dp/complex.rs:51:19 [INFO] [stdout] | [INFO] [stdout] 44 | / impl< [INFO] [stdout] 45 | | I, [INFO] [stdout] 46 | | ProbAnswer, [INFO] [stdout] 47 | | SRI, [INFO] [stdout] 48 | | PartialProblemAnswerCombiner, [INFO] [stdout] 49 | | Solver [INFO] [stdout] 50 | | > ComplexDP { [INFO] [stdout] | |_____________________________________________________________________- associated function in this implementation [INFO] [stdout] 51 | pub(crate) fn new(solver: Solver) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Base` and `Intermediate` are never constructed [INFO] [stdout] --> src/dp/simple.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 61 | pub enum State { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 62 | Base { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | Intermediate { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SolverFactory` is never constructed [INFO] [stdout] --> src/dp/get_state.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct SolverFactory; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `function` and `function_with_cache` are never used [INFO] [stdout] --> src/dp/get_state.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl SolverFactory { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] 29 | pub fn function, PartialAnswer>(f: impl Fn(Input) -> State) -> impl ProblemProxy src/dp/get_state.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | struct Function State, Input, State: StateExtractor, PA>(F, PhantomData<(Input, State, PA)>); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FunctionWithCache` is never constructed [INFO] [stdout] --> src/dp/get_state.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | struct FunctionWithCache State, CP: ArbitraryScopeCachePolicy, Input, State, PartialAnswer> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Commutative` is never used [INFO] [stdout] --> src/collecting.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait Commutative {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Monoid` is never used [INFO] [stdout] --> src/collecting.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | pub trait Monoid: Magma { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/collecting.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 30 | impl Sum { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 31 | pub(crate) fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get` and `set` are never used [INFO] [stdout] --> src/cache.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub trait ScopedCachePolicy<'a, K, V> { [INFO] [stdout] | ----------------- methods in this trait [INFO] [stdout] 22 | fn get(&'a self, k: &K) -> Option<&'a V>; [INFO] [stdout] | ^^^ [INFO] [stdout] 23 | fn set(&'a mut self, k: K, v: V); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/cache.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl CacheAll { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 31 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `new_with_capacity` are never used [INFO] [stdout] --> src/cache.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl CacheVec { [INFO] [stdout] | -------------------- associated functions in this implementation [INFO] [stdout] 63 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn new_with_capacity(initial_capacity: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_print_time` is never used [INFO] [stdout] --> src/test.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn run_print_time<'a, F: 'a + FnOnce() -> T, T>(message: &'a (impl Display + ?Sized), f: F) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_dp` is never used [INFO] [stdout] --> src/test.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn run_dp<'a, Index, Output: 'a + Display>(index: Index, dp: &'a (impl DP<'a, Index, Output> + 'a)) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inner_test` is never used [INFO] [stdout] --> src/test/yukicoder/p44.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn inner_test(index: usize) -> u64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Option::::map_or` that must be used [INFO] [stdout] --> src/dp/get_state.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | / v.get_value().map_or((), |pa| { [INFO] [stdout] 80 | | self.update_cache(input, pa); [INFO] [stdout] 81 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the returned value, use `if let` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 79 | let _ = v.get_value().map_or((), |pa| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ne_vec` in this scope [INFO] [stdout] --> src/test/fib_perf.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | dependent: ne_vec![k - 1, k - 2], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use non_empty_vec::ne_vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ne_vec` in this scope [INFO] [stdout] --> src/test/fib_perf.rs:130:40 [INFO] [stdout] | [INFO] [stdout] 130 | ... dependent: ne_vec![k - 1, k - 2] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use non_empty_vec::ne_vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ne_vec` in this scope [INFO] [stdout] --> src/test/fib_perf.rs:107:40 [INFO] [stdout] | [INFO] [stdout] 107 | ... dependent: ne_vec![k - 1, k - 2] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use non_empty_vec::ne_vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ne_vec` in this scope [INFO] [stdout] --> src/test/fib_perf.rs:85:40 [INFO] [stdout] | [INFO] [stdout] 85 | ... dependent: ne_vec![k - 1, k - 2] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use non_empty_vec::ne_vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ne_vec` in this scope [INFO] [stdout] --> src/test/fib_perf.rs:64:40 [INFO] [stdout] | [INFO] [stdout] 64 | ... dependent: ne_vec![k - 1, k - 2] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use non_empty_vec::ne_vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ne_vec` in this scope [INFO] [stdout] --> src/test/fib_perf.rs:43:40 [INFO] [stdout] | [INFO] [stdout] 43 | ... dependent: ne_vec![k - 1, k - 2] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use non_empty_vec::ne_vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NonEmpty` in this scope [INFO] [stdout] --> src/test/fib_perf.rs:13:35 [INFO] [stdout] | [INFO] [stdout] 13 | composer: |a: NonEmpty| a.iter().sum(), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use non_empty_vec::NonEmpty; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `run_dp` in this scope [INFO] [stdout] --> src/test/fib_perf.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | run_dp( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::test::run_dp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ComplexDP` [INFO] [stdout] --> src/test/fib_perf.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | &ComplexDP::new( [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ComplexDP` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::dp::complex::ComplexDP; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SolverFactory` [INFO] [stdout] --> src/test/fib_perf.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | SolverFactory::function(f) [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `SolverFactory` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::dp::get_state::SolverFactory; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `run_dp` in this scope [INFO] [stdout] --> src/test/fib_perf.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | run_dp( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::test::run_dp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ComplexDP` [INFO] [stdout] --> src/test/fib_perf.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | &ComplexDP::new( [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ComplexDP` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::dp::complex::ComplexDP; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SolverFactory` [INFO] [stdout] --> src/test/fib_perf.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | SolverFactory::function_with_cache(f, CacheAll::new()) [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `SolverFactory` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::dp::get_state::SolverFactory; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CacheAll` [INFO] [stdout] --> src/test/fib_perf.rs:28:51 [INFO] [stdout] | [INFO] [stdout] 28 | SolverFactory::function_with_cache(f, CacheAll::new()) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `CacheAll` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::cache::CacheAll; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `simple_dp` in this scope [INFO] [stdout] --> src/test/fib_perf.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | let dp = simple_dp( [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::dp::simple_dp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SolverFactory` [INFO] [stdout] --> src/test/fib_perf.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | SolverFactory::function( [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `SolverFactory` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::dp::get_state::SolverFactory; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Sum` [INFO] [stdout] --> src/test/fib_perf.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | Sum::new(), [INFO] [stdout] | ^^^ use of undeclared type `Sum` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use crate::collecting::Sum; [INFO] [stdout] | [INFO] [stdout] 2 + use std::iter::Sum; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `run_print_time` in this scope [INFO] [stdout] --> src/test/fib_perf.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | println!("{}", run_print_time("simple dp w/o memoize, Sum struct", || dp.dp(30))); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::test::run_print_time; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `simple_dp` in this scope [INFO] [stdout] --> src/test/fib_perf.rs:55:18 [INFO] [stdout] | [INFO] [stdout] 55 | let dp = simple_dp( [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::dp::simple_dp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SolverFactory` [INFO] [stdout] --> src/test/fib_perf.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | SolverFactory::function( [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `SolverFactory` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::dp::get_state::SolverFactory; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `run_print_time` in this scope [INFO] [stdout] --> src/test/fib_perf.rs:71:24 [INFO] [stdout] | [INFO] [stdout] 71 | println!("{}", run_print_time("simple dp w/o memoize, function reducer", || dp.dp(30))); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::test::run_print_time; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `simple_dp` in this scope [INFO] [stdout] --> src/test/fib_perf.rs:76:18 [INFO] [stdout] | [INFO] [stdout] 76 | let dp = simple_dp( [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::dp::simple_dp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SolverFactory` [INFO] [stdout] --> src/test/fib_perf.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | SolverFactory::function_with_cache( [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `SolverFactory` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::dp::get_state::SolverFactory; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CacheAll` [INFO] [stdout] --> src/test/fib_perf.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | CacheAll::new() [INFO] [stdout] | ^^^^^^^^ use of undeclared type `CacheAll` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::cache::CacheAll; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Sum` [INFO] [stdout] --> src/test/fib_perf.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | Sum::new(), [INFO] [stdout] | ^^^ use of undeclared type `Sum` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use crate::collecting::Sum; [INFO] [stdout] | [INFO] [stdout] 2 + use std::iter::Sum; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `run_print_time` in this scope [INFO] [stdout] --> src/test/fib_perf.rs:93:24 [INFO] [stdout] | [INFO] [stdout] 93 | println!("{}", run_print_time("simple dp w/ cache by hashmap", || dp.dp(30))); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::test::run_print_time; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `simple_dp` in this scope [INFO] [stdout] --> src/test/fib_perf.rs:98:18 [INFO] [stdout] | [INFO] [stdout] 98 | let dp = simple_dp( [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::dp::simple_dp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SolverFactory` [INFO] [stdout] --> src/test/fib_perf.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | SolverFactory::function_with_cache( [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `SolverFactory` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::dp::get_state::SolverFactory; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CacheVec` [INFO] [stdout] --> src/test/fib_perf.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | CacheVec::new() [INFO] [stdout] | ^^^^^^^^ use of undeclared type `CacheVec` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::cache::CacheVec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Sum` [INFO] [stdout] --> src/test/fib_perf.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | Sum::new(), [INFO] [stdout] | ^^^ use of undeclared type `Sum` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use crate::collecting::Sum; [INFO] [stdout] | [INFO] [stdout] 2 + use std::iter::Sum; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `run_print_time` in this scope [INFO] [stdout] --> src/test/fib_perf.rs:115:24 [INFO] [stdout] | [INFO] [stdout] 115 | println!("{}", run_print_time("simple dp w/ cache by vec", || dp.dp(30))); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::test::run_print_time; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `simple_dp` in this scope [INFO] [stdout] --> src/test/fib_perf.rs:121:18 [INFO] [stdout] | [INFO] [stdout] 121 | let dp = simple_dp( [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::dp::simple_dp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SolverFactory` [INFO] [stdout] --> src/test/fib_perf.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | SolverFactory::function_with_cache( [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `SolverFactory` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::dp::get_state::SolverFactory; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CacheArray` [INFO] [stdout] --> src/test/fib_perf.rs:134:17 [INFO] [stdout] | [INFO] [stdout] 134 | CacheArray::<_, 31>::new() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `CacheArray` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::cache::CacheArray; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Sum` [INFO] [stdout] --> src/test/fib_perf.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | Sum::new(), [INFO] [stdout] | ^^^ use of undeclared type `Sum` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use crate::collecting::Sum; [INFO] [stdout] | [INFO] [stdout] 2 + use std::iter::Sum; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `run_print_time` in this scope [INFO] [stdout] --> src/test/fib_perf.rs:138:24 [INFO] [stdout] | [INFO] [stdout] 138 | println!("{}", run_print_time("simple dp w/ cache by array", || dp.dp(30))); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::test::run_print_time; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `run_print_time` in this scope [INFO] [stdout] --> src/test/fib_perf.rs:142:19 [INFO] [stdout] | [INFO] [stdout] 142 | let res = run_print_time("honest dp w/ cache by array", || { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::test::run_print_time; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 37 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `untitled12345` (bin "untitled12345" test) due to 38 previous errors [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "519b78d1c8949f3bf32e1dd335019310db6a40c9d91f9bbd03edffda3df250c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "519b78d1c8949f3bf32e1dd335019310db6a40c9d91f9bbd03edffda3df250c5", kill_on_drop: false }` [INFO] [stdout] 519b78d1c8949f3bf32e1dd335019310db6a40c9d91f9bbd03edffda3df250c5