[INFO] cloning repository https://github.com/volfco/stardance [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/volfco/stardance" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvolfco%2Fstardance", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvolfco%2Fstardance'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 179c002ae6ab260d702de4523aba0184c4f60e53 [INFO] checking volfco/stardance against master#f5f33ec0e0455eefa72fc5567eb1280a4d5ee206 for pr-83312 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvolfco%2Fstardance" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/volfco/stardance on toolchain f5f33ec0e0455eefa72fc5567eb1280a4d5ee206 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f5f33ec0e0455eefa72fc5567eb1280a4d5ee206" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/volfco/stardance [INFO] finished tweaking git repo https://github.com/volfco/stardance [INFO] tweaked toml for git repo https://github.com/volfco/stardance written to /workspace/builds/worker-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f5f33ec0e0455eefa72fc5567eb1280a4d5ee206" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f5f33ec0e0455eefa72fc5567eb1280a4d5ee206" "fetch" "--locked" "--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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+f5f33ec0e0455eefa72fc5567eb1280a4d5ee206" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fcbfa4176c869b0744d416f8f95584dc98732589f72c007a438fdc7c0fea1ecb [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fcbfa4176c869b0744d416f8f95584dc98732589f72c007a438fdc7c0fea1ecb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fcbfa4176c869b0744d416f8f95584dc98732589f72c007a438fdc7c0fea1ecb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcbfa4176c869b0744d416f8f95584dc98732589f72c007a438fdc7c0fea1ecb", kill_on_drop: false }` [INFO] [stdout] fcbfa4176c869b0744d416f8f95584dc98732589f72c007a438fdc7c0fea1ecb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+f5f33ec0e0455eefa72fc5567eb1280a4d5ee206" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8652ef7c9a859b70eb93f9a6aceb645c56940f5c4c58ad7d046cbf762cfcba3a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8652ef7c9a859b70eb93f9a6aceb645c56940f5c4c58ad7d046cbf762cfcba3a", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.65 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Checking snowflake v1.3.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.6.3 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Checking swimmer v0.3.0 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking getrandom v0.2.2 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking lru v0.6.5 [INFO] [stderr] Checking crossbeam-epoch v0.9.3 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking rayon-core v1.9.0 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking env_logger v0.8.3 [INFO] [stderr] Checking rayon v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling zookeeper_derive v0.4.1 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking zookeeper v0.5.10 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking treediff v4.0.0 [INFO] [stderr] Checking zkmq v0.2.2 [INFO] [stderr] Checking zkstate v0.1.9 [INFO] [stderr] Checking stardance v0.1.0 (/opt/rustwide/workdir/stardance) [INFO] [stdout] warning: unused import: `crate::executor::ExecutorState` [INFO] [stdout] --> stardance/src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::executor::ExecutorState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc::channel` [INFO] [stdout] --> stardance/src/executor.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::sync::mpsc::channel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Add` [INFO] [stdout] --> stardance/src/manager.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FixedOffset` [INFO] [stdout] --> stardance/src/manager.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use chrono::{FixedOffset, DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> stardance/src/manager.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::executor::ExecutorState` [INFO] [stdout] --> stardance/src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::executor::ExecutorState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc::channel` [INFO] [stdout] --> stardance/src/executor.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::sync::mpsc::channel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Add` [INFO] [stdout] --> stardance/src/manager.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FixedOffset` [INFO] [stdout] --> stardance/src/manager.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use chrono::{FixedOffset, DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> stardance/src/manager.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `executors` [INFO] [stdout] --> stardance/src/manager.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let executors = self.executors.clone(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_executors` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> stardance/src/lib.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn debug(&self, message: String) { self.debug(message) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ------------------- recursive call site [INFO] [stdout] | | [INFO] [stdout] | cannot return without recursing [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unconditional_recursion)]` on by default [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> stardance/src/lib.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn info(&self, message: String) { self.info(message) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ------------------ recursive call site [INFO] [stdout] | | [INFO] [stdout] | cannot return without recursing [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> stardance/src/lib.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn warn(&self, message: String) { self.warn(message) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ------------------ recursive call site [INFO] [stdout] | | [INFO] [stdout] | cannot return without recursing [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> stardance/src/lib.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn error(&self, message: String) { self.error(message) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ------------------- recursive call site [INFO] [stdout] | | [INFO] [stdout] | cannot return without recursing [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `executors` [INFO] [stdout] --> stardance/src/manager.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let executors = self.executors.clone(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_executors` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> stardance/src/lib.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn debug(&self, message: String) { self.debug(message) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ------------------- recursive call site [INFO] [stdout] | | [INFO] [stdout] | cannot return without recursing [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unconditional_recursion)]` on by default [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> stardance/src/lib.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn info(&self, message: String) { self.info(message) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ------------------ recursive call site [INFO] [stdout] | | [INFO] [stdout] | cannot return without recursing [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> stardance/src/lib.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn warn(&self, message: String) { self.warn(message) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ------------------ recursive call site [INFO] [stdout] | | [INFO] [stdout] | cannot return without recursing [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> stardance/src/lib.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn error(&self, message: String) { self.error(message) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ------------------- recursive call site [INFO] [stdout] | | [INFO] [stdout] | cannot return without recursing [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> stardance/src/executor.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | let mut ctxw = ContextWrapper::new(self.zk.clone(), self.namespace.clone(), Context { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> stardance/src/client.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | let mut path = format!("/stardance/{}/queue", namespace); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> stardance/src/client.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let mut task_path = format!("/stardance/{}/task", namespace); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> stardance/src/manager.rs:98:53 [INFO] [stdout] | [INFO] [stdout] 98 | fn task_walk(zk: Arc, namespace: String, mut queue: zkmq::ZkMQ) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `run` [INFO] [stdout] --> stardance/src/executor.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | run: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> stardance/src/executor.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | let mut ctxw = ContextWrapper::new(self.zk.clone(), self.namespace.clone(), Context { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> stardance/src/client.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | let mut path = format!("/stardance/{}/queue", namespace); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> stardance/src/client.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let mut task_path = format!("/stardance/{}/task", namespace); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `num_queue_workers` [INFO] [stdout] --> stardance/src/manager.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | num_queue_workers: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `enable_sweep` [INFO] [stdout] --> stardance/src/manager.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | enable_sweep: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sweep_interval` [INFO] [stdout] --> stardance/src/manager.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | sweep_interval: u64 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> stardance/src/manager.rs:98:53 [INFO] [stdout] | [INFO] [stdout] 98 | fn task_walk(zk: Arc, namespace: String, mut queue: zkmq::ZkMQ) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `run` [INFO] [stdout] --> stardance/src/executor.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | run: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `num_queue_workers` [INFO] [stdout] --> stardance/src/manager.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | num_queue_workers: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `enable_sweep` [INFO] [stdout] --> stardance/src/manager.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | enable_sweep: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sweep_interval` [INFO] [stdout] --> stardance/src/manager.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | sweep_interval: u64 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> stardance/src/lib.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | self.task.save(self.zk.clone(), self.namespace.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> stardance/src/executor.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | / self.state.update(|inner| { [INFO] [stdout] 115 | | for resource in &task.resources { [INFO] [stdout] 116 | | if !inner.resources.contains(resource.0.as_str(), *resource.1).unwrap() { [INFO] [stdout] 117 | | // if we do not have enough resources for this allocation, log it and record it [INFO] [stdout] ... | [INFO] [stdout] 125 | | } [INFO] [stdout] 126 | | }); [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> stardance/src/executor.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | ctxw.task.save(ctxw.zk.clone(), ctxw.namespace.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> stardance/src/manager.rs:232:5 [INFO] [stdout] | [INFO] [stdout] 232 | / executor.unwrap().update(|inner| { [INFO] [stdout] 233 | | inner.tasks.insert(id.clone(), task.id); [INFO] [stdout] 234 | | }); [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> stardance/src/lib.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | self.task.save(self.zk.clone(), self.namespace.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> stardance/src/executor.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | / self.state.update(|inner| { [INFO] [stdout] 115 | | for resource in &task.resources { [INFO] [stdout] 116 | | if !inner.resources.contains(resource.0.as_str(), *resource.1).unwrap() { [INFO] [stdout] 117 | | // if we do not have enough resources for this allocation, log it and record it [INFO] [stdout] ... | [INFO] [stdout] 125 | | } [INFO] [stdout] 126 | | }); [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> stardance/src/executor.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | ctxw.task.save(ctxw.zk.clone(), ctxw.namespace.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> stardance/src/manager.rs:232:5 [INFO] [stdout] | [INFO] [stdout] 232 | / executor.unwrap().update(|inner| { [INFO] [stdout] 233 | | inner.tasks.insert(id.clone(), task.id); [INFO] [stdout] 234 | | }); [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `add_task` [INFO] [stdout] --> stardance/examples/add_task.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | // } [INFO] [stdout] | ^ consider adding a `main` function to `stardance/examples/add_task.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `server` [INFO] [stdout] --> stardance/examples/server.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 217 | // } [INFO] [stdout] | ^ consider adding a `main` function to `stardance/examples/server.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `stardance` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> stardance/examples/client.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let mut client = stardance::client::Client::new(zka.clone(), "co.volf.nomadic", None); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> stardance/examples/manager.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> stardance/examples/manager.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let mut manager = stardance::manager::Manager::new(zka.clone(), "co.volf.nomadic", None); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> stardance/examples/executor.rs:43:62 [INFO] [stdout] | [INFO] [stdout] 43 | exec.register("runvm", stardance::executor::mk_callback(|id, ctx, args|{ [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> stardance/examples/executor.rs:43:71 [INFO] [stdout] | [INFO] [stdout] 43 | exec.register("runvm", stardance::executor::mk_callback(|id, ctx, args|{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> stardance/examples/executor.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | rcm.declare("cpu_cores", 32, 1, 2.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8652ef7c9a859b70eb93f9a6aceb645c56940f5c4c58ad7d046cbf762cfcba3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8652ef7c9a859b70eb93f9a6aceb645c56940f5c4c58ad7d046cbf762cfcba3a", kill_on_drop: false }` [INFO] [stdout] 8652ef7c9a859b70eb93f9a6aceb645c56940f5c4c58ad7d046cbf762cfcba3a