[INFO] fetching crate atex 0.3.0... [INFO] testing atex-0.3.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate atex 0.3.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate atex 0.3.0 [INFO] finished tweaking crates.io crate atex 0.3.0 [INFO] tweaked toml for crates.io crate atex 0.3.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate atex 0.3.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 25 packages to latest compatible versions [INFO] [stderr] Adding rusqlite v0.28.0 (available: v0.37.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c1431685b58e467a910baaa517c9140e3e6e90be8bbd1280e9a2bbe4f8d03230 [INFO] running `Command { std: "docker" "start" "-a" "c1431685b58e467a910baaa517c9140e3e6e90be8bbd1280e9a2bbe4f8d03230", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c1431685b58e467a910baaa517c9140e3e6e90be8bbd1280e9a2bbe4f8d03230", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1431685b58e467a910baaa517c9140e3e6e90be8bbd1280e9a2bbe4f8d03230", kill_on_drop: false }` [INFO] [stdout] c1431685b58e467a910baaa517c9140e3e6e90be8bbd1280e9a2bbe4f8d03230 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d278253038d6d4cf1892c2751b2eb57217194034fc7b64d7bc0b87927b7c5d2a [INFO] running `Command { std: "docker" "start" "-a" "d278253038d6d4cf1892c2751b2eb57217194034fc7b64d7bc0b87927b7c5d2a", kill_on_drop: false }` [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling atex v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::impls::stderr_logger::MockLogger` [INFO] [stdout] --> src/impls/builder.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::impls::stderr_logger::MockLogger; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NewRepoTask` is never constructed [INFO] [stdout] --> src/entities/task.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct NewRepoTask { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NewPeriodic` is never constructed [INFO] [stdout] --> src/entities/task.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | pub(crate) struct NewPeriodic { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TaskStarted` is never constructed [INFO] [stdout] --> src/entities/task.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | pub(crate) struct TaskStarted { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SLEEP_ON_EMPTY_CHANNEL` is never used [INFO] [stdout] --> src/impls/builder.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | const SLEEP_ON_EMPTY_CHANNEL: Duration = Duration::from_secs(2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `POOL_SIZE` is never used [INFO] [stdout] --> src/impls/builder.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | const POOL_SIZE: usize = 10; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SUCC_TASK_LIFETIME` is never used [INFO] [stdout] --> src/impls/builder.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | const SUCC_TASK_LIFETIME: u64 = 60 * 60 * 60; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_TASK_LIFETIME` is never used [INFO] [stdout] --> src/impls/builder.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | const ERR_TASK_LIFETIME: u64 = 60 * 60 * 60; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TaskManagerBuilderCtx` is never constructed [INFO] [stdout] --> src/impls/builder.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct TaskManagerBuilderCtx { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/impls/builder.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl TaskManagerBuilderCtx { [INFO] [stdout] | ------------------------------------------------------------------------------ methods in this implementation [INFO] [stdout] 76 | pub fn add_executor(mut self, ex: impl ITaskExecutor + 'static) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn set_pool_size(mut self, pool_size: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn set_sleep(mut self, sleep: Duration) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn set_succ_task_lifetime(mut self, lt: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn set_err_task_lifetime(mut self, lt: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn set_log_func(self, func: Box) -> TaskManagerBuilderCtx { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn build(self) -> Result, AtexError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FuncLogger` is never constructed [INFO] [stdout] --> src/impls/func_logger.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct FuncLogger { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pool` is never constructed [INFO] [stdout] --> src/impls/pool.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Pool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PoolFactory` is never constructed [INFO] [stdout] --> src/impls/pool.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct PoolFactory { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/impls/pool.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl Pool { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 17 | fn new(len: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/impls/pool.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl PoolFactory { [INFO] [stdout] | ---------------------------- associated function in this implementation [INFO] [stdout] 24 | pub fn new(len: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PrunePeriodic` is never constructed [INFO] [stdout] --> src/impls/prune_periodic.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) struct PrunePeriodic { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `a_execute` is never used [INFO] [stdout] --> src/impls/prune_periodic.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | async fn a_execute( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MockLogger` is never constructed [INFO] [stdout] --> src/impls/stderr_logger.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct MockLogger; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TaskManager` is never constructed [INFO] [stdout] --> src/impls/task_manager.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) struct TaskManager< [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TaskManagerData` is never constructed [INFO] [stdout] --> src/impls/task_manager.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | struct TaskManagerData>, R: ITaskRepo, L: ILogger> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MutCtx` is never constructed [INFO] [stdout] --> src/impls/task_manager.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | struct MutCtx>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/impls/task_manager.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 65 | / impl>, R: ITaskRepo, L: ILogger> [INFO] [stdout] 66 | | TaskManager [INFO] [stdout] | |________________________- associated function in this implementation [INFO] [stdout] 67 | { [INFO] [stdout] 68 | pub(crate) fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/impls/task_manager.rs:95:14 [INFO] [stdout] | [INFO] [stdout] 89 | / impl< [INFO] [stdout] 90 | | P: IPoolFactory> + 'static, [INFO] [stdout] 91 | | R: ITaskRepo + 'static, [INFO] [stdout] 92 | | L: ILogger + 'static, [INFO] [stdout] 93 | | > TaskManager [INFO] [stdout] | |__________________________- methods in this implementation [INFO] [stdout] 94 | { [INFO] [stdout] 95 | async fn a_create_task(self, task: NewTask) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | fn gen_lock(&self, task: &NewTask) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | async fn create_periodic(&self, task: NewPeriodic) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | async fn a_get(self, id: TaskId) -> Result, AtexError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | fn prepare(&self) -> MutCtx { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | async fn init_periodics(&self) -> Result<(), AtexError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | async fn a_run(self) -> Result<(), AtexError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | async fn loop_iteration(&self, ctx: &mut MutCtx) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | async fn clear_task_in_cell( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | async fn fill_empty_cells( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 286 | fn start_task( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 316 | async fn a_set_progress(self, id: TaskId, progress: u8) -> Result<(), AtexError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 322 | async fn a_execute_periodic_now(self, executor: &'static str) -> Result<(), AtexError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 332 | async fn a_manual_execute_periodic( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 344 | async fn a_manual_execute_task(self, task_id: TaskId) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 352 | async fn manual_exec_task(&self, task: Task) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 369 | fn name_to_task_key(&self, name: &str) -> Option<&'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 374 | async fn a_get_stats(self) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WrappedTaskExecutor` is never constructed [INFO] [stdout] --> src/impls/wrapped_task_executor.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct WrappedTaskExecutor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/impls/wrapped_task_executor.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl WrappedTaskExecutor { [INFO] [stdout] | ------------------------------------------------------------ associated function in this implementation [INFO] [stdout] 11 | pub fn new(logger: Arc, executor: E) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ITaskRepo` is never used [INFO] [stdout] --> src/proto.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | pub trait ITaskRepo: Send + Sync { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IPool` is never used [INFO] [stdout] --> src/proto.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | pub(crate) trait IPool: Send + Sync { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IPoolFactory` is never used [INFO] [stdout] --> src/proto.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | pub(crate) trait IPoolFactory: Send + Sync { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ILogger` is never used [INFO] [stdout] --> src/proto.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 50 | pub trait ILogger: Send + Sync { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IWrappedTaskExecutor` is never used [INFO] [stdout] --> src/proto.rs:91:18 [INFO] [stdout] | [INFO] [stdout] 91 | pub(crate) trait IWrappedTaskExecutor: Send + Sync { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `now` is never used [INFO] [stdout] --> src/utils.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn now() -> u64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/impls/task_manager.rs:270:41 [INFO] [stdout] | [INFO] [stdout] 270 | let executor = task.executor.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/impls/task_manager.rs:292:36 [INFO] [stdout] | [INFO] [stdout] 292 | let ex_name = task.executor.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] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/impls/task_manager.rs:353:36 [INFO] [stdout] | [INFO] [stdout] 353 | let ex_name = task.executor.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] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.20s [INFO] running `Command { std: "docker" "inspect" "d278253038d6d4cf1892c2751b2eb57217194034fc7b64d7bc0b87927b7c5d2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d278253038d6d4cf1892c2751b2eb57217194034fc7b64d7bc0b87927b7c5d2a", kill_on_drop: false }` [INFO] [stdout] d278253038d6d4cf1892c2751b2eb57217194034fc7b64d7bc0b87927b7c5d2a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d538facdbc2b538329acebdc957f79bb3fe1b323439daeaaf354ed3a11135e40 [INFO] running `Command { std: "docker" "start" "-a" "d538facdbc2b538329acebdc957f79bb3fe1b323439daeaaf354ed3a11135e40", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `crate::impls::stderr_logger::MockLogger` [INFO] [stdout] --> src/impls/builder.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::impls::stderr_logger::MockLogger; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NewRepoTask` is never constructed [INFO] [stdout] --> src/entities/task.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct NewRepoTask { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NewPeriodic` is never constructed [INFO] [stdout] --> src/entities/task.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | pub(crate) struct NewPeriodic { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TaskStarted` is never constructed [INFO] [stdout] --> src/entities/task.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | pub(crate) struct TaskStarted { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SLEEP_ON_EMPTY_CHANNEL` is never used [INFO] [stdout] --> src/impls/builder.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | const SLEEP_ON_EMPTY_CHANNEL: Duration = Duration::from_secs(2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `POOL_SIZE` is never used [INFO] [stdout] --> src/impls/builder.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | const POOL_SIZE: usize = 10; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SUCC_TASK_LIFETIME` is never used [INFO] [stdout] --> src/impls/builder.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | const SUCC_TASK_LIFETIME: u64 = 60 * 60 * 60; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_TASK_LIFETIME` is never used [INFO] [stdout] --> src/impls/builder.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | const ERR_TASK_LIFETIME: u64 = 60 * 60 * 60; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TaskManagerBuilderCtx` is never constructed [INFO] [stdout] --> src/impls/builder.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct TaskManagerBuilderCtx { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/impls/builder.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl TaskManagerBuilderCtx { [INFO] [stdout] | ------------------------------------------------------------------------------ methods in this implementation [INFO] [stdout] 76 | pub fn add_executor(mut self, ex: impl ITaskExecutor + 'static) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn set_pool_size(mut self, pool_size: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn set_sleep(mut self, sleep: Duration) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn set_succ_task_lifetime(mut self, lt: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn set_err_task_lifetime(mut self, lt: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn set_log_func(self, func: Box) -> TaskManagerBuilderCtx { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn build(self) -> Result, AtexError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FuncLogger` is never constructed [INFO] [stdout] --> src/impls/func_logger.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct FuncLogger { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pool` is never constructed [INFO] [stdout] --> src/impls/pool.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Pool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PoolFactory` is never constructed [INFO] [stdout] --> src/impls/pool.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct PoolFactory { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/impls/pool.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl Pool { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 17 | fn new(len: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/impls/pool.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl PoolFactory { [INFO] [stdout] | ---------------------------- associated function in this implementation [INFO] [stdout] 24 | pub fn new(len: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PrunePeriodic` is never constructed [INFO] [stdout] --> src/impls/prune_periodic.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) struct PrunePeriodic { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `a_execute` is never used [INFO] [stdout] --> src/impls/prune_periodic.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | async fn a_execute( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MockLogger` is never constructed [INFO] [stdout] --> src/impls/stderr_logger.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct MockLogger; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TaskManager` is never constructed [INFO] [stdout] --> src/impls/task_manager.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) struct TaskManager< [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TaskManagerData` is never constructed [INFO] [stdout] --> src/impls/task_manager.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | struct TaskManagerData>, R: ITaskRepo, L: ILogger> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MutCtx` is never constructed [INFO] [stdout] --> src/impls/task_manager.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | struct MutCtx>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/impls/task_manager.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 65 | / impl>, R: ITaskRepo, L: ILogger> [INFO] [stdout] 66 | | TaskManager [INFO] [stdout] | |________________________- associated function in this implementation [INFO] [stdout] 67 | { [INFO] [stdout] 68 | pub(crate) fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/impls/task_manager.rs:95:14 [INFO] [stdout] | [INFO] [stdout] 89 | / impl< [INFO] [stdout] 90 | | P: IPoolFactory> + 'static, [INFO] [stdout] 91 | | R: ITaskRepo + 'static, [INFO] [stdout] 92 | | L: ILogger + 'static, [INFO] [stdout] 93 | | > TaskManager [INFO] [stdout] | |__________________________- methods in this implementation [INFO] [stdout] 94 | { [INFO] [stdout] 95 | async fn a_create_task(self, task: NewTask) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | fn gen_lock(&self, task: &NewTask) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | async fn create_periodic(&self, task: NewPeriodic) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | async fn a_get(self, id: TaskId) -> Result, AtexError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | fn prepare(&self) -> MutCtx { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | async fn init_periodics(&self) -> Result<(), AtexError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | async fn a_run(self) -> Result<(), AtexError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | async fn loop_iteration(&self, ctx: &mut MutCtx) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | async fn clear_task_in_cell( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | async fn fill_empty_cells( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 286 | fn start_task( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 316 | async fn a_set_progress(self, id: TaskId, progress: u8) -> Result<(), AtexError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 322 | async fn a_execute_periodic_now(self, executor: &'static str) -> Result<(), AtexError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 332 | async fn a_manual_execute_periodic( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 344 | async fn a_manual_execute_task(self, task_id: TaskId) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 352 | async fn manual_exec_task(&self, task: Task) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 369 | fn name_to_task_key(&self, name: &str) -> Option<&'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 374 | async fn a_get_stats(self) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WrappedTaskExecutor` is never constructed [INFO] [stdout] --> src/impls/wrapped_task_executor.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct WrappedTaskExecutor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/impls/wrapped_task_executor.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl WrappedTaskExecutor { [INFO] [stdout] | ------------------------------------------------------------ associated function in this implementation [INFO] [stdout] 11 | pub fn new(logger: Arc, executor: E) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ITaskRepo` is never used [INFO] [stdout] --> src/proto.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | pub trait ITaskRepo: Send + Sync { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IPool` is never used [INFO] [stdout] --> src/proto.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | pub(crate) trait IPool: Send + Sync { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IPoolFactory` is never used [INFO] [stdout] --> src/proto.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | pub(crate) trait IPoolFactory: Send + Sync { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ILogger` is never used [INFO] [stdout] --> src/proto.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 50 | pub trait ILogger: Send + Sync { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IWrappedTaskExecutor` is never used [INFO] [stdout] --> src/proto.rs:91:18 [INFO] [stdout] | [INFO] [stdout] 91 | pub(crate) trait IWrappedTaskExecutor: Send + Sync { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `now` is never used [INFO] [stdout] --> src/utils.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn now() -> u64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/impls/task_manager.rs:270:41 [INFO] [stdout] | [INFO] [stdout] 270 | let executor = task.executor.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/impls/task_manager.rs:292:36 [INFO] [stdout] | [INFO] [stdout] 292 | let ex_name = task.executor.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] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/impls/task_manager.rs:353:36 [INFO] [stdout] | [INFO] [stdout] 353 | let ex_name = task.executor.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] [INFO] [stdout] [INFO] [stderr] Compiling atex v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::impls::stderr_logger::MockLogger` [INFO] [stdout] --> src/impls/builder.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::impls::stderr_logger::MockLogger; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_mem` found for struct `builder::TaskManagerBuilder` in the current scope [INFO] [stdout] --> src/tests/test_complex_in_mem.rs:129:35 [INFO] [stdout] | [INFO] [stdout] 129 | let man = TaskManagerBuilder::new_mem() [INFO] [stdout] | ^^^^^^^ function or associated item not found in `builder::TaskManagerBuilder` [INFO] [stdout] | [INFO] [stdout] ::: src/impls/builder.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct TaskManagerBuilder; [INFO] [stdout] | ----------------------------- function or associated item `new_mem` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/test_complex_in_mem.rs:140:19 [INFO] [stdout] | [INFO] [stdout] 140 | let prog_id = man [INFO] [stdout] | ___________________^ [INFO] [stdout] 141 | | .create_task(NewTask { [INFO] [stdout] 142 | | executor: "prog", [INFO] [stdout] 143 | | payload: "".to_string(), [INFO] [stdout] 144 | | }) [INFO] [stdout] 145 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/test_complex_in_mem.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 147 | / man.create_task(NewTask { [INFO] [stdout] 148 | | executor: "hi", [INFO] [stdout] 149 | | payload: "Alex".to_string(), [INFO] [stdout] 150 | | }) [INFO] [stdout] 151 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/test_complex_in_mem.rs:154:20 [INFO] [stdout] | [INFO] [stdout] 154 | let task = man.get(prog_id).await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/test_complex_in_mem.rs:164:20 [INFO] [stdout] | [INFO] [stdout] 164 | let task = man.get(prog_id).await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/test_complex_in_mem.rs:174:20 [INFO] [stdout] | [INFO] [stdout] 174 | let task = man.get(prog_id).await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_mem` found for struct `builder::TaskManagerBuilder` in the current scope [INFO] [stdout] --> src/tests/test_complex_in_mem.rs:193:35 [INFO] [stdout] | [INFO] [stdout] 193 | let man = TaskManagerBuilder::new_mem() [INFO] [stdout] | ^^^^^^^ function or associated item not found in `builder::TaskManagerBuilder` [INFO] [stdout] | [INFO] [stdout] ::: src/impls/builder.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct TaskManagerBuilder; [INFO] [stdout] | ----------------------------- function or associated item `new_mem` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/test_complex_in_mem.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 201 | / man.create_task(NewTask { [INFO] [stdout] 202 | | executor: "hi", [INFO] [stdout] 203 | | payload: "a".to_string(), [INFO] [stdout] 204 | | }) [INFO] [stdout] 205 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/test_complex_in_mem.rs:207:5 [INFO] [stdout] | [INFO] [stdout] 207 | / man.create_task(NewTask { [INFO] [stdout] 208 | | executor: "hi", [INFO] [stdout] 209 | | payload: "b".to_string(), [INFO] [stdout] 210 | | }) [INFO] [stdout] 211 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/test_complex_in_mem.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 213 | / man.create_task(NewTask { [INFO] [stdout] 214 | | executor: "hi", [INFO] [stdout] 215 | | payload: "c".to_string(), [INFO] [stdout] 216 | | }) [INFO] [stdout] 217 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_mem` found for struct `builder::TaskManagerBuilder` in the current scope [INFO] [stdout] --> src/tests/test_complex_in_mem.rs:235:35 [INFO] [stdout] | [INFO] [stdout] 235 | let man = TaskManagerBuilder::new_mem() [INFO] [stdout] | ^^^^^^^ function or associated item not found in `builder::TaskManagerBuilder` [INFO] [stdout] | [INFO] [stdout] ::: src/impls/builder.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct TaskManagerBuilder; [INFO] [stdout] | ----------------------------- function or associated item `new_mem` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_mem` found for struct `builder::TaskManagerBuilder` in the current scope [INFO] [stdout] --> src/tests/test_complex_in_mem.rs:255:35 [INFO] [stdout] | [INFO] [stdout] 255 | let man = TaskManagerBuilder::new_mem() [INFO] [stdout] | ^^^^^^^ function or associated item not found in `builder::TaskManagerBuilder` [INFO] [stdout] | [INFO] [stdout] ::: src/impls/builder.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct TaskManagerBuilder; [INFO] [stdout] | ----------------------------- function or associated item `new_mem` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/test_complex_in_mem.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 264 | let res = man [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | assert!(res.is_err()); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 264 | let res: /* Type */ = man [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_mem` found for struct `builder::TaskManagerBuilder` in the current scope [INFO] [stdout] --> src/tests/test_complex_in_mem.rs:276:35 [INFO] [stdout] | [INFO] [stdout] 276 | let man = TaskManagerBuilder::new_mem() [INFO] [stdout] | ^^^^^^^ function or associated item not found in `builder::TaskManagerBuilder` [INFO] [stdout] | [INFO] [stdout] ::: src/impls/builder.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct TaskManagerBuilder; [INFO] [stdout] | ----------------------------- function or associated item `new_mem` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/test_complex_in_mem.rs:286:17 [INFO] [stdout] | [INFO] [stdout] 286 | let hi_id = man [INFO] [stdout] | _________________^ [INFO] [stdout] 287 | | .create_task(NewTask { [INFO] [stdout] 288 | | executor: "hi", [INFO] [stdout] 289 | | payload: "a".to_string(), [INFO] [stdout] 290 | | }) [INFO] [stdout] 291 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/test_complex_in_mem.rs:293:18 [INFO] [stdout] | [INFO] [stdout] 293 | let err_id = man [INFO] [stdout] | __________________^ [INFO] [stdout] 294 | | .create_task(NewTask { [INFO] [stdout] 295 | | executor: "err", [INFO] [stdout] 296 | | payload: "".to_string(), [INFO] [stdout] 297 | | }) [INFO] [stdout] 298 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/test_complex_in_mem.rs:301:20 [INFO] [stdout] | [INFO] [stdout] 301 | let task = man.get(hi_id).await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/test_complex_in_mem.rs:308:20 [INFO] [stdout] | [INFO] [stdout] 308 | let task = man.get(err_id).await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/test_complex_in_mem.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 315 | assert!(man.get(hi_id).await.unwrap().is_none()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/test_complex_in_mem.rs:316:13 [INFO] [stdout] | [INFO] [stdout] 316 | assert!(man.get(err_id).await.unwrap().is_none()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_mem` found for struct `builder::TaskManagerBuilder` in the current scope [INFO] [stdout] --> src/tests/test_complex_in_mem.rs:322:35 [INFO] [stdout] | [INFO] [stdout] 322 | let man = TaskManagerBuilder::new_mem() [INFO] [stdout] | ^^^^^^^ function or associated item not found in `builder::TaskManagerBuilder` [INFO] [stdout] | [INFO] [stdout] ::: src/impls/builder.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct TaskManagerBuilder; [INFO] [stdout] | ----------------------------- function or associated item `new_mem` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/test_complex_in_mem.rs:327:17 [INFO] [stdout] | [INFO] [stdout] 327 | let task1 = man [INFO] [stdout] | _________________^ [INFO] [stdout] 328 | | .create_task(NewTask { [INFO] [stdout] 329 | | executor: "hi", [INFO] [stdout] 330 | | payload: "a".to_string(), [INFO] [stdout] 331 | | }) [INFO] [stdout] 332 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/test_complex_in_mem.rs:334:17 [INFO] [stdout] | [INFO] [stdout] 334 | let task2 = man [INFO] [stdout] | _________________^ [INFO] [stdout] 335 | | .create_task(NewTask { [INFO] [stdout] 336 | | executor: "hi", [INFO] [stdout] 337 | | payload: "b".to_string(), [INFO] [stdout] 338 | | }) [INFO] [stdout] 339 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/test_complex_in_mem.rs:341:17 [INFO] [stdout] | [INFO] [stdout] 341 | let task3 = man [INFO] [stdout] | _________________^ [INFO] [stdout] 342 | | .create_task(NewTask { [INFO] [stdout] 343 | | executor: "hi", [INFO] [stdout] 344 | | payload: "a".to_string(), [INFO] [stdout] 345 | | }) [INFO] [stdout] 346 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/test_complex_in_mem.rs:352:22 [INFO] [stdout] | [INFO] [stdout] 352 | let status = man.get(task1).await.unwrap().unwrap().status; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/test_complex_in_mem.rs:357:17 [INFO] [stdout] | [INFO] [stdout] 357 | let task4 = man [INFO] [stdout] | _________________^ [INFO] [stdout] 358 | | .create_task(NewTask { [INFO] [stdout] 359 | | executor: "hi", [INFO] [stdout] 360 | | payload: "a".to_string(), [INFO] [stdout] 361 | | }) [INFO] [stdout] 362 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_mem` found for struct `builder::TaskManagerBuilder` in the current scope [INFO] [stdout] --> src/tests/test_complex_in_mem.rs:370:35 [INFO] [stdout] | [INFO] [stdout] 370 | let man = TaskManagerBuilder::new_mem() [INFO] [stdout] | ^^^^^^^ function or associated item not found in `builder::TaskManagerBuilder` [INFO] [stdout] | [INFO] [stdout] ::: src/impls/builder.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct TaskManagerBuilder; [INFO] [stdout] | ----------------------------- function or associated item `new_mem` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `atex` (lib test) due to 27 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "d538facdbc2b538329acebdc957f79bb3fe1b323439daeaaf354ed3a11135e40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d538facdbc2b538329acebdc957f79bb3fe1b323439daeaaf354ed3a11135e40", kill_on_drop: false }` [INFO] [stdout] d538facdbc2b538329acebdc957f79bb3fe1b323439daeaaf354ed3a11135e40