[INFO] cloning repository https://github.com/sparkbridgelimit/autoflow [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sparkbridgelimit/autoflow" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsparkbridgelimit%2Fautoflow", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsparkbridgelimit%2Fautoflow'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a3d497f9a6d417415fc63c8f3a73fe8468cfe6a9 [INFO] testing sparkbridgelimit/autoflow against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsparkbridgelimit%2Fautoflow" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sparkbridgelimit/autoflow [INFO] finished tweaking git repo https://github.com/sparkbridgelimit/autoflow [INFO] tweaked toml for git repo https://github.com/sparkbridgelimit/autoflow written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sparkbridgelimit/autoflow on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sparkbridgelimit/autoflow 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thiserror v1.0.64 [INFO] [stderr] Downloaded nanoid v0.4.0 [INFO] [stderr] Downloaded cron v0.12.1 [INFO] [stderr] Downloaded redox_syscall v0.5.4 [INFO] [stderr] Downloaded addr2line v0.24.1 [INFO] [stderr] Downloaded arrow-csv v53.0.0 [INFO] [stderr] Downloaded flatbuffers v24.3.25 [INFO] [stderr] Downloaded arrow-row v53.0.0 [INFO] [stderr] Downloaded arrow-schema v53.0.0 [INFO] [stderr] Downloaded arrow-select v53.0.0 [INFO] [stderr] Downloaded arrow-arith v53.0.0 [INFO] [stderr] Downloaded arrow-ord v53.0.0 [INFO] [stderr] Downloaded arrow-buffer v53.0.0 [INFO] [stderr] Downloaded arrow-data v53.0.0 [INFO] [stderr] Downloaded arrow-ipc v53.0.0 [INFO] [stderr] Downloaded cc v1.1.21 [INFO] [stderr] Downloaded arrow-cast v53.0.0 [INFO] [stderr] Downloaded arrow v53.0.0 [INFO] [stderr] Downloaded arrow-json v53.0.0 [INFO] [stderr] Downloaded arrow-array v53.0.0 [INFO] [stderr] Downloaded arrow-string v53.0.0 [INFO] [stderr] Downloaded thiserror-impl v1.0.64 [INFO] [stderr] Downloaded gimli v0.31.0 [INFO] [stderr] Downloaded object v0.36.4 [INFO] [stderr] Downloaded syn v2.0.82 [INFO] [stderr] Downloaded csv v1.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 44c0dfb80bbf8a2439bbd141748d87c8b1c251fff6051d70f31611c12085b410 [INFO] running `Command { std: "docker" "start" "-a" "44c0dfb80bbf8a2439bbd141748d87c8b1c251fff6051d70f31611c12085b410", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "44c0dfb80bbf8a2439bbd141748d87c8b1c251fff6051d70f31611c12085b410", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44c0dfb80bbf8a2439bbd141748d87c8b1c251fff6051d70f31611c12085b410", kill_on_drop: false }` [INFO] [stdout] 44c0dfb80bbf8a2439bbd141748d87c8b1c251fff6051d70f31611c12085b410 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] dd4c9d7a597d054125606f4d703f5be28c6eb23a4933274d5bffadbe993d08ba [INFO] running `Command { std: "docker" "start" "-a" "dd4c9d7a597d054125606f4d703f5be28c6eb23a4933274d5bffadbe993d08ba", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling bytes v1.7.2 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling arrow-schema v53.0.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling lexical-util v0.8.5 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling csv-core v0.1.11 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling lexical-parse-integer v0.8.6 [INFO] [stderr] Compiling lexical-write-integer v0.8.5 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling flatbuffers v24.3.25 [INFO] [stderr] Compiling lexical-parse-float v0.8.5 [INFO] [stderr] Compiling lexical-write-float v0.8.5 [INFO] [stderr] Compiling syn v2.0.82 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling lexical-core v0.8.5 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling arrow-buffer v53.0.0 [INFO] [stderr] Compiling arrow-data v53.0.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling arrow-array v53.0.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling nanoid v0.4.0 [INFO] [stderr] Compiling arrow-select v53.0.0 [INFO] [stderr] Compiling arrow-row v53.0.0 [INFO] [stderr] Compiling arrow-arith v53.0.0 [INFO] [stderr] Compiling arrow-cast v53.0.0 [INFO] [stderr] Compiling arrow-string v53.0.0 [INFO] [stderr] Compiling arrow-ord v53.0.0 [INFO] [stderr] Compiling csv v1.3.0 [INFO] [stderr] Compiling arrow-json v53.0.0 [INFO] [stderr] Compiling arrow-ipc v53.0.0 [INFO] [stderr] Compiling arrow-csv v53.0.0 [INFO] [stderr] Compiling arrow v53.0.0 [INFO] [stderr] Compiling autoflow v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Commander` is never constructed [INFO] [stdout] --> src/commander.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | struct Commander { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_command`, and `execute` are never used [INFO] [stdout] --> src/commander.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 47 | impl Commander { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 48 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | fn add_command(&mut self, func: F) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | async fn execute(&self, ctx: &Context) -> Result<(), &'static str> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 41.14s [INFO] running `Command { std: "docker" "inspect" "dd4c9d7a597d054125606f4d703f5be28c6eb23a4933274d5bffadbe993d08ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd4c9d7a597d054125606f4d703f5be28c6eb23a4933274d5bffadbe993d08ba", kill_on_drop: false }` [INFO] [stdout] dd4c9d7a597d054125606f4d703f5be28c6eb23a4933274d5bffadbe993d08ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 1475efffe7717f1f5c918962ea44fbfe61e51a51c0cdf9b1293fca16ac954e92 [INFO] running `Command { std: "docker" "start" "-a" "1475efffe7717f1f5c918962ea44fbfe61e51a51c0cdf9b1293fca16ac954e92", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.82 [INFO] [stderr] Compiling mockall_derive v0.13.0 [INFO] [stderr] Compiling predicates-core v1.0.8 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling termtree v0.4.1 [INFO] [stderr] Compiling downcast v0.11.0 [INFO] [stderr] Compiling fragile v2.0.0 [INFO] [stderr] Compiling predicates-tree v1.0.11 [INFO] [stderr] Compiling predicates v3.1.2 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling arrow-array v53.0.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling nanoid v0.4.0 [INFO] [stderr] Compiling mockall v0.13.0 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling arrow-select v53.0.0 [INFO] [stderr] Compiling arrow-row v53.0.0 [INFO] [stderr] Compiling arrow-arith v53.0.0 [INFO] [stderr] Compiling arrow-cast v53.0.0 [INFO] [stderr] Compiling arrow-string v53.0.0 [INFO] [stderr] Compiling arrow-ord v53.0.0 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling csv v1.3.0 [INFO] [stderr] Compiling arrow-ipc v53.0.0 [INFO] [stderr] Compiling arrow-csv v53.0.0 [INFO] [stderr] Compiling arrow-json v53.0.0 [INFO] [stderr] Compiling arrow v53.0.0 [INFO] [stderr] Compiling autoflow v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Commander` is never constructed [INFO] [stdout] --> src/commander.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | struct Commander { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_command`, and `execute` are never used [INFO] [stdout] --> src/commander.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 47 | impl Commander { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 48 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | fn add_command(&mut self, func: F) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | async fn execute(&self, ctx: &Context) -> Result<(), &'static str> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `autoflow::task_executor` [INFO] [stdout] --> tests/test_test_executor.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use autoflow::task_executor::{Task, TaskExecutorTrait, TaskHandler, TaskStatus}; [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `task_executor` in `autoflow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EndpointConfig` and `endpoint::EndpointRef` [INFO] [stdout] --> tests/test_planner.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | endpoint::EndpointRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | node::{EndpointConfig, Node, NodeAttrTrait, NodeBuilderTrait}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `autoflow` (test "test_test_executor") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> tests/test_fetcher.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | let task1 = Task::new(json!({"task": "Task1"})); [INFO] [stdout] | ^^^^^^^^^ ------------------------ argument #1 of type `std::string::String` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/task.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(task_type: String, data: serde_json::Value) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 12 | let task1 = Task::new(/* std::string::String */, json!({"task": "Task1"})); [INFO] [stdout] | ++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> tests/test_fetcher.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | let task2 = Task::new(json!({"task": "Task2"})); [INFO] [stdout] | ^^^^^^^^^ ------------------------ argument #1 of type `std::string::String` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/task.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(task_type: String, data: serde_json::Value) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 13 | let task2 = Task::new(/* std::string::String */, json!({"task": "Task2"})); [INFO] [stdout] | ++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> tests/test_fetcher.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | let task1 = Task::new(json!({"task": "SingletonTask1"})); [INFO] [stdout] | ^^^^^^^^^ --------------------------------- argument #1 of type `std::string::String` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/task.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(task_type: String, data: serde_json::Value) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 35 | let task1 = Task::new(/* std::string::String */, json!({"task": "SingletonTask1"})); [INFO] [stdout] | ++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> tests/test_fetcher.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | let task2 = Task::new(json!({"task": "SingletonTask2"})); [INFO] [stdout] | ^^^^^^^^^ --------------------------------- argument #1 of type `std::string::String` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/task.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(task_type: String, data: serde_json::Value) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 36 | let task2 = Task::new(/* std::string::String */, json!({"task": "SingletonTask2"})); [INFO] [stdout] | ++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Pin> + Send>>` [INFO] [stdout] --> tests/test_fetcher.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | assert_eq!(fetched_tasks, vec![task1]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | Pin> + Send>> [INFO] [stdout] | Vec [INFO] [stdout] | [INFO] [stdout] note: the foreign item type `Pin> + Send>>` doesn't implement `PartialEq>` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/pin.rs:1094:1 [INFO] [stdout] | [INFO] [stdout] = note: not implement `PartialEq>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `task_queue` on type `Worker` [INFO] [stdout] --> tests/test_worker.rs:48:36 [INFO] [stdout] | [INFO] [stdout] 48 | let mut queue = worker.task_queue.lock().await; [INFO] [stdout] | ^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `current_task`, `status`, `handlers_map`, `fetcher`, `concurrency`, `task_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `task_queue` on type `Worker` [INFO] [stdout] --> tests/test_worker.rs:74:36 [INFO] [stdout] | [INFO] [stdout] 74 | let mut queue = worker.task_queue.lock().await; [INFO] [stdout] | ^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `current_task`, `status`, `handlers_map`, `fetcher`, `concurrency`, `task_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `dyn Future> + Send` doesn't implement `Debug` [INFO] [stdout] --> tests/test_fetcher.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | assert_eq!(fetched_tasks, vec![task1]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `dyn Future> + Send` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `dyn Future> + Send` [INFO] [stdout] = help: the following other types implement trait `Debug`: [INFO] [stdout] dyn Any + Send + Sync [INFO] [stdout] dyn Any + Send [INFO] [stdout] dyn Any [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Pin> + Send>>` [INFO] [stdout] --> tests/test_fetcher.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | assert_eq!(fetched_tasks, vec![task2]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | Pin> + Send>> [INFO] [stdout] | Vec [INFO] [stdout] | [INFO] [stdout] note: the foreign item type `Pin> + Send>>` doesn't implement `PartialEq>` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/pin.rs:1094:1 [INFO] [stdout] | [INFO] [stdout] = note: not implement `PartialEq>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `dyn Future> + Send` doesn't implement `Debug` [INFO] [stdout] --> tests/test_fetcher.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | assert_eq!(fetched_tasks, vec![task2]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `dyn Future> + Send` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `dyn Future> + Send` [INFO] [stdout] = help: the following other types implement trait `Debug`: [INFO] [stdout] dyn Any + Send + Sync [INFO] [stdout] dyn Any + Send [INFO] [stdout] dyn Any [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0609`. [INFO] [stdout] [INFO] [stderr] error: could not compile `autoflow` (test "test_worker") due to 2 previous errors [INFO] [stdout] error[E0599]: no method named `is_empty` found for struct `Pin> + Send>>` in the current scope [INFO] [stdout] --> tests/test_fetcher.rs:54:31 [INFO] [stdout] | [INFO] [stdout] 54 | assert!(fetched_tasks.is_empty()); [INFO] [stdout] | ^^^^^^^^ method not found in `Pin> + Send>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_json` found for struct `Node` in the current scope [INFO] [stdout] --> tests/test_node.rs:35:26 [INFO] [stdout] | [INFO] [stdout] 35 | let node = Node::from_json(&json_data).unwrap(); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Node` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Node`, consider using `Node::new` which returns `Node` [INFO] [stdout] --> /opt/rustwide/workdir/src/node.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn new(name: String, node_type: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `NodeTrait` which provides `from_json` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use autoflow::node::NodeTrait; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0369, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_json_path` found for struct `Node` in the current scope [INFO] [stdout] --> tests/test_node.rs:61:26 [INFO] [stdout] | [INFO] [stdout] 61 | let node = Node::from_json_path(file_path.to_str().unwrap()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `Node` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Node`, consider using `Node::new` which returns `Node` [INFO] [stdout] --> /opt/rustwide/workdir/src/node.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn new(name: String, node_type: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `from_json` with a similar name [INFO] [stdout] | [INFO] [stdout] 61 - let node = Node::from_json_path(file_path.to_str().unwrap()).unwrap(); [INFO] [stdout] 61 + let node = Node::from_json(file_path.to_str().unwrap()).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `autoflow` (test "test_fetcher") due to 9 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `autoflow` (test "test_node") due to 2 previous errors [INFO] [stdout] error[E0277]: the trait bound `fn() -> impl Future> {demo}: CommandHandler` is not satisfied [INFO] [stdout] --> src/commander.rs:82:31 [INFO] [stdout] | [INFO] [stdout] 82 | commander.add_command(demo); [INFO] [stdout] | ----------- ^^^^ the trait `CommandHandler` is not implemented for fn item `fn() -> impl Future> {demo}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: this trait has no implementations, consider adding one [INFO] [stdout] --> src/commander.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | pub trait CommandHandler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `commander::Commander::add_command` [INFO] [stdout] --> src/commander.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 52 | fn add_command(&mut self, func: F) [INFO] [stdout] | ----------- required by a bound in this associated function [INFO] [stdout] 53 | where [INFO] [stdout] 54 | F: CommandHandler + Send + Sync + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `Commander::add_command` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `autoflow` (lib test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "1475efffe7717f1f5c918962ea44fbfe61e51a51c0cdf9b1293fca16ac954e92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1475efffe7717f1f5c918962ea44fbfe61e51a51c0cdf9b1293fca16ac954e92", kill_on_drop: false }` [INFO] [stdout] 1475efffe7717f1f5c918962ea44fbfe61e51a51c0cdf9b1293fca16ac954e92