[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 against master#a42d94ebb883116f2867cbe3016d9bde9ca6d3f7 for pr-117593 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKisaragiEffective%2Frust-generic-dp" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/KisaragiEffective/rust-generic-dp on toolchain a42d94ebb883116f2867cbe3016d9bde9ca6d3f7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a42d94ebb883116f2867cbe3016d9bde9ca6d3f7" "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-6-tc1/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" "+a42d94ebb883116f2867cbe3016d9bde9ca6d3f7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking KisaragiEffective/rust-generic-dp against try#031b389f0c31c0f91c9464d26313ae513dbe8d36 for pr-117593 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKisaragiEffective%2Frust-generic-dp" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/KisaragiEffective/rust-generic-dp on toolchain 031b389f0c31c0f91c9464d26313ae513dbe8d36 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+031b389f0c31c0f91c9464d26313ae513dbe8d36" "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-6-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" "+031b389f0c31c0f91c9464d26313ae513dbe8d36" "fetch" "--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 [ERROR] error running command: no output for 300 seconds [INFO] checking KisaragiEffective/rust-generic-dp against try#031b389f0c31c0f91c9464d26313ae513dbe8d36 for pr-117593 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKisaragiEffective%2Frust-generic-dp" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/KisaragiEffective/rust-generic-dp on toolchain 031b389f0c31c0f91c9464d26313ae513dbe8d36 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+031b389f0c31c0f91c9464d26313ae513dbe8d36" "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-6-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" "+031b389f0c31c0f91c9464d26313ae513dbe8d36" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded non-empty-vec v0.2.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+031b389f0c31c0f91c9464d26313ae513dbe8d36" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 882738a9fd659195c47cb852ecc5486506cbc8010cbe1ab5d53654fc1726da03 [INFO] running `Command { std: "docker" "start" "-a" "882738a9fd659195c47cb852ecc5486506cbc8010cbe1ab5d53654fc1726da03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "882738a9fd659195c47cb852ecc5486506cbc8010cbe1ab5d53654fc1726da03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "882738a9fd659195c47cb852ecc5486506cbc8010cbe1ab5d53654fc1726da03", kill_on_drop: false }` [INFO] [stdout] 882738a9fd659195c47cb852ecc5486506cbc8010cbe1ab5d53654fc1726da03 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+031b389f0c31c0f91c9464d26313ae513dbe8d36" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9408603307dd771335f44bb8d63bf8d404b3dc45d029a25c10f3b4171fe62c56 [INFO] running `Command { std: "docker" "start" "-a" "9408603307dd771335f44bb8d63bf8d404b3dc45d029a25c10f3b4171fe62c56", kill_on_drop: false }` [INFO] [stderr] Checking non-empty-vec v0.2.3 [INFO] [stderr] Checking untitled12345 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `NonEmpty`, `ne_vec` [INFO] [stdout] --> src/test/fib_perf.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use non_empty_vec::{ne_vec, NonEmpty}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CacheAll`, `CacheArray`, `CacheVec` [INFO] [stdout] --> src/test/fib_perf.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::cache::{CacheAll, CacheArray, CacheVec}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::collecting::Sum` [INFO] [stdout] --> src/test/fib_perf.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::collecting::Sum; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::dp::complex::ComplexDP` [INFO] [stdout] --> src/test/fib_perf.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::dp::complex::ComplexDP; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::dp::get_state::SolverFactory` [INFO] [stdout] --> src/test/fib_perf.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::dp::get_state::SolverFactory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::dp::simple_dp` [INFO] [stdout] --> src/test/fib_perf.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::dp::simple_dp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::dp::traits::DP` [INFO] [stdout] --> src/test/fib_perf.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::dp::traits::DP; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `run_dp`, `run_print_time` [INFO] [stdout] --> src/test/fib_perf.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::test::{run_dp, run_print_time}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [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/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: 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: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/dp/state.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | self.deref().deref().get_value() [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `State` does not implement `Deref`, so calling `deref` on `&State` 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: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_with_capacity` is never used [INFO] [stdout] --> src/cache.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl CacheVec { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn new_with_capacity(initial_capacity: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/dp/state.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | self.deref().deref().get_value() [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `State` does not implement `Deref`, so calling `deref` on `&State` 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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.26s [INFO] running `Command { std: "docker" "inspect" "9408603307dd771335f44bb8d63bf8d404b3dc45d029a25c10f3b4171fe62c56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9408603307dd771335f44bb8d63bf8d404b3dc45d029a25c10f3b4171fe62c56", kill_on_drop: false }` [INFO] [stdout] 9408603307dd771335f44bb8d63bf8d404b3dc45d029a25c10f3b4171fe62c56