[INFO] cloning repository https://github.com/bmartynov/djswasm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bmartynov/djswasm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbmartynov%2Fdjswasm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbmartynov%2Fdjswasm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e09facc19bd4184efabef9820ca447cafde98109 [INFO] checking bmartynov/djswasm against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbmartynov%2Fdjswasm" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bmartynov/djswasm on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bmartynov/djswasm [INFO] removed workspace from git repo https://github.com/bmartynov/djswasm [INFO] finished tweaking git repo https://github.com/bmartynov/djswasm [INFO] tweaked toml for git repo https://github.com/bmartynov/djswasm written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/bmartynov/djswasm already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-4/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 69f7f0c15db36c213ceef624c7eafc3bbec36042f3756a6176a5534d39da241b [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" "69f7f0c15db36c213ceef624c7eafc3bbec36042f3756a6176a5534d39da241b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "69f7f0c15db36c213ceef624c7eafc3bbec36042f3756a6176a5534d39da241b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69f7f0c15db36c213ceef624c7eafc3bbec36042f3756a6176a5534d39da241b", kill_on_drop: false }` [INFO] [stdout] 69f7f0c15db36c213ceef624c7eafc3bbec36042f3756a6176a5534d39da241b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb05119968274d337c1cb630c679d3fe07e31ae8918539dddcfa42309538a89f [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" "cb05119968274d337c1cb630c679d3fe07e31ae8918539dddcfa42309538a89f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking djswasm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `job_instance_repo` [INFO] [stdout] --> api/src/service/mod.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod job_instance_repo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `job_instance_repo`, create file "api/src/service/job_instance_repo.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wasi_common` [INFO] [stdout] --> node/src/vfs/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use wasi_common::{ [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `wasi_common` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wasmtime` [INFO] [stdout] --> node/src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use wasmtime::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `wasmtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> node/src/network/discovery/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use libp2p::{ [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libipld` [INFO] [stdout] --> node/src/network/discovery/mod.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | use libipld::{ [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `libipld` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> node/src/network/discovery/mod.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | use libp2p::swarm::NetworkBehaviour; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> node/src/network/discovery/mod.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | use libp2p::core::connection::ConnectionId; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> node/src/network/discovery/mod.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | use libp2p::kad::handler::{KademliaHandler, KademliaHandlerIn}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> node/src/network/discovery/mod.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | use libp2p::kad::QueryId; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2p` [INFO] [stdout] --> node/src/network/discovery/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use libp2p::{ [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> node/src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use log::{ [INFO] [stdout] | ^^^ use of undeclared crate or module `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wasi_common` [INFO] [stdout] --> node/src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use wasi_common::virtfs::{ [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `wasi_common` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `env_logger`, `wasi_common::virtfs::FileContents`, `wasi_common::virtfs::VirtualDir`, `wasi_common::virtfs::InMemoryFile`, `wasi_common::virtfs::VirtualDirEntry` [INFO] [stdout] --> node/src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use env_logger::{Builder, Env}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `env_logger` [INFO] [stdout] ... [INFO] [stdout] 14 | FileContents, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 15 | VirtualDir, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 16 | InMemoryFile, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 17 | VirtualDirEntry, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wasmtime_wasi` [INFO] [stdout] --> node/src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use wasmtime_wasi::{ [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `wasmtime_wasi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `behaviour` in this scope [INFO] [stdout] --> node/src/network/discovery/mod.rs:111:7 [INFO] [stdout] | [INFO] [stdout] 111 | #[behaviour] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `job_instance_repo` [INFO] [stdout] --> api/src/service/mod.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod job_instance_repo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `job_instance_repo`, create file "api/src/service/job_instance_repo.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `types` [INFO] [stdout] --> node/src/vfs/mod.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | fn max_size(&self) -> types::Filesize { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `types` [INFO] [stdout] --> node/src/vfs/mod.rs:32:28 [INFO] [stdout] | [INFO] [stdout] 32 | std::usize::MAX as types::Filesize [INFO] [stdout] | ^^^^^ use of undeclared crate or module `types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `types` [INFO] [stdout] --> node/src/vfs/mod.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 35 | fn size(&self) -> types::Filesize { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `types` [INFO] [stdout] --> node/src/vfs/mod.rs:36:31 [INFO] [stdout] | [INFO] [stdout] 36 | self.content.len() as types::Filesize [INFO] [stdout] | ^^^^^ use of undeclared crate or module `types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `types` [INFO] [stdout] --> node/src/vfs/mod.rs:39:36 [INFO] [stdout] | [INFO] [stdout] 39 | fn resize(&mut self, new_size: types::Filesize) -> Result<()> { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Errno` [INFO] [stdout] --> node/src/vfs/mod.rs:40:63 [INFO] [stdout] | [INFO] [stdout] 40 | let new_size: usize = new_size.try_into().map_err(|_| Errno::Inval)?; [INFO] [stdout] | ^^^^^ use of undeclared type `Errno` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `types` [INFO] [stdout] --> node/src/vfs/mod.rs:45:57 [INFO] [stdout] | [INFO] [stdout] 45 | fn pwritev(&mut self, iovs: &[io::IoSlice], offset: types::Filesize) -> Result { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `types` [INFO] [stdout] --> node/src/vfs/mod.rs:55:59 [INFO] [stdout] | [INFO] [stdout] 55 | fn preadv(&self, iovs: &mut [io::IoSliceMut], offset: types::Filesize) -> Result { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `types` [INFO] [stdout] --> node/src/vfs/mod.rs:65:46 [INFO] [stdout] | [INFO] [stdout] 65 | fn pwrite(&mut self, buf: &[u8], offset: types::Filesize) -> Result { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Errno` [INFO] [stdout] --> node/src/vfs/mod.rs:66:59 [INFO] [stdout] | [INFO] [stdout] 66 | let offset: usize = offset.try_into().map_err(|_| Errno::Inval)?; [INFO] [stdout] | ^^^^^ use of undeclared type `Errno` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Errno` [INFO] [stdout] --> node/src/vfs/mod.rs:68:61 [INFO] [stdout] | [INFO] [stdout] 68 | let write_end = offset.checked_add(buf.len()).ok_or(Errno::Fbig)?; [INFO] [stdout] | ^^^^^ use of undeclared type `Errno` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `types` [INFO] [stdout] --> node/src/vfs/mod.rs:79:45 [INFO] [stdout] | [INFO] [stdout] 79 | fn pread(&self, buf: &mut [u8], offset: types::Filesize) -> Result { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Errno` [INFO] [stdout] --> node/src/vfs/mod.rs:80:59 [INFO] [stdout] | [INFO] [stdout] 80 | let offset: usize = offset.try_into().map_err(|_| Errno::Inval)?; [INFO] [stdout] | ^^^^^ use of undeclared type `Errno` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `record` [INFO] [stdout] --> node/src/network/discovery/mod.rs:91:21 [INFO] [stdout] | [INFO] [stdout] 91 | ValueFound(Vec<(record::Key, Vec)>), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `record` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `record` [INFO] [stdout] --> node/src/network/discovery/mod.rs:94:19 [INFO] [stdout] | [INFO] [stdout] 94 | ValueNotFound(record::Key), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `record` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `record` [INFO] [stdout] --> node/src/network/discovery/mod.rs:97:14 [INFO] [stdout] | [INFO] [stdout] 97 | ValuePut(record::Key), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `record` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `record` [INFO] [stdout] --> node/src/network/discovery/mod.rs:100:20 [INFO] [stdout] | [INFO] [stdout] 100 | ValuePutFailed(record::Key), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `record` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0706]: functions in traits cannot be declared `async` [INFO] [stdout] --> api/src/handlers/mod.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | async fn job_create(&self, request: Request) -> Result, Status> { [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | _____`async` because of this [INFO] [stdout] | | [INFO] [stdout] 38 | | unimplemented!() [INFO] [stdout] 39 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `async` trait functions are not currently supported [INFO] [stdout] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0706]: functions in traits cannot be declared `async` [INFO] [stdout] --> api/src/handlers/mod.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | async fn job_delete(&self, request: Request) -> Result, Status> { [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | _____`async` because of this [INFO] [stdout] | | [INFO] [stdout] 42 | | unimplemented!() [INFO] [stdout] 43 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `async` trait functions are not currently supported [INFO] [stdout] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0706]: functions in traits cannot be declared `async` [INFO] [stdout] --> api/src/handlers/mod.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | async fn job_list(&self, request: Request) -> Result, Status> { [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | _____`async` because of this [INFO] [stdout] | | [INFO] [stdout] 46 | | unimplemented!() [INFO] [stdout] 47 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `async` trait functions are not currently supported [INFO] [stdout] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0706]: functions in traits cannot be declared `async` [INFO] [stdout] --> api/src/handlers/mod.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | async fn job_status_set(&self, request: Request) -> Result, Status> { [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | _____`async` because of this [INFO] [stdout] | | [INFO] [stdout] 50 | | unimplemented!() [INFO] [stdout] 51 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `async` trait functions are not currently supported [INFO] [stdout] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix` [INFO] [stdout] --> api/src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use actix::prelude::*; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `actix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `super::JobEvent`, `super::JobCommand` [INFO] [stdout] --> api/src/service/job/service.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | JobEvent, [INFO] [stdout] | ^^^^^^^^ no `JobEvent` in `service::job` [INFO] [stdout] 8 | JobCommand, [INFO] [stdout] | ^^^^^^^^^^ no `JobCommand` in `service::job` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tonic` [INFO] [stdout] --> api/src/handlers/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use tonic::{ [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tonic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `client_api` [INFO] [stdout] --> api/src/handlers/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use client_api; [INFO] [stdout] | ^^^^^^^^^^ no external crate `client_api` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix` [INFO] [stdout] --> api/src/service/job/service.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use actix::prelude::*; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `actix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix` [INFO] [stdout] --> api/src/service/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use actix::prelude::*; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `actix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `actix`, `crate::service` [INFO] [stdout] --> api/src/handlers/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::service; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 19 | use actix::Actor; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `actix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix` [INFO] [stdout] --> api/src/service/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use actix::dev::{ [INFO] [stdout] | ^^^^^ use of undeclared crate or module `actix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `anyhow`, `actix::dev::Actor`, `actix::dev::Message`, `actix::dev::MessageResponse`, `actix::dev::ResponseChannel` [INFO] [stdout] --> api/src/service/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Actor, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | Message, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | MessageResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | ResponseChannel, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: api/src/service/job/service.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::Result; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `anyhow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tonic` [INFO] [stdout] --> api/src/handlers/mod.rs:35:3 [INFO] [stdout] | [INFO] [stdout] 35 | #[tonic::async_trait] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tonic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_rt` [INFO] [stdout] --> api/src/main.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[actix_rt::main] [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Message` in this scope [INFO] [stdout] --> api/src/service/mod.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Message)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `rtype` in this scope [INFO] [stdout] --> api/src/service/mod.rs:38:3 [INFO] [stdout] | [INFO] [stdout] 38 | #[rtype(result = "Result>")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Message` in this scope [INFO] [stdout] --> api/src/service/mod.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Message)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `rtype` in this scope [INFO] [stdout] --> api/src/service/mod.rs:47:3 [INFO] [stdout] | [INFO] [stdout] 47 | #[rtype(result = "Result>")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Message` in this scope [INFO] [stdout] --> api/src/service/mod.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 53 | #[derive(Message)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `rtype` in this scope [INFO] [stdout] --> api/src/service/mod.rs:54:3 [INFO] [stdout] | [INFO] [stdout] 54 | #[rtype(result = "()")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProtocolsHandler` [INFO] [stdout] --> node/src/network/discovery/mod.rs:146:59 [INFO] [stdout] | [INFO] [stdout] 146 | NetworkBehaviourAction<::InEvent, Self::OutEvent>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `ProtocolsHandler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NetworkBehaviourAction` [INFO] [stdout] --> node/src/network/discovery/mod.rs:150:17 [INFO] [stdout] | [INFO] [stdout] 150 | NetworkBehaviourAction::GenerateEvent(ge) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `NetworkBehaviourAction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `KademliaEvent` [INFO] [stdout] --> node/src/network/discovery/mod.rs:152:25 [INFO] [stdout] | [INFO] [stdout] 152 | KademliaEvent::QueryResult { .. } => {} [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `KademliaEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `KademliaEvent` [INFO] [stdout] --> node/src/network/discovery/mod.rs:153:25 [INFO] [stdout] | [INFO] [stdout] 153 | KademliaEvent::RoutingUpdated { .. } => {} [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `KademliaEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `KademliaEvent` [INFO] [stdout] --> node/src/network/discovery/mod.rs:154:25 [INFO] [stdout] | [INFO] [stdout] 154 | KademliaEvent::UnroutablePeer { .. } => {} [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `KademliaEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `KademliaEvent` [INFO] [stdout] --> node/src/network/discovery/mod.rs:155:25 [INFO] [stdout] | [INFO] [stdout] 155 | KademliaEvent::RoutablePeer { .. } => {} [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `KademliaEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `KademliaEvent` [INFO] [stdout] --> node/src/network/discovery/mod.rs:156:25 [INFO] [stdout] | [INFO] [stdout] 156 | KademliaEvent::PendingRoutablePeer { .. } => {} [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `KademliaEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wasi_common` [INFO] [stdout] --> node/src/vfs/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use wasi_common::{ [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `wasi_common` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NetworkBehaviourAction` [INFO] [stdout] --> node/src/network/discovery/mod.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 159 | NetworkBehaviourAction::DialAddress { .. } => {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `NetworkBehaviourAction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NetworkBehaviourAction` [INFO] [stdout] --> node/src/network/discovery/mod.rs:160:17 [INFO] [stdout] | [INFO] [stdout] 160 | NetworkBehaviourAction::DialPeer { .. } => {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `NetworkBehaviourAction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wasmtime` [INFO] [stdout] --> node/src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use wasmtime::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `wasmtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NetworkBehaviourAction` [INFO] [stdout] --> node/src/network/discovery/mod.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | NetworkBehaviourAction::NotifyHandler { .. } => {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `NetworkBehaviourAction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> node/src/network/discovery/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use libp2p::{ [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NetworkBehaviourAction` [INFO] [stdout] --> node/src/network/discovery/mod.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | NetworkBehaviourAction::ReportObservedAddr { .. } => {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `NetworkBehaviourAction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `anyhow` [INFO] [stdout] --> node/src/main.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | fn main() -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `anyhow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libipld` [INFO] [stdout] --> node/src/network/discovery/mod.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | use libipld::{ [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `libipld` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> node/src/network/discovery/mod.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | use libp2p::swarm::NetworkBehaviour; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> node/src/network/discovery/mod.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | use libp2p::core::connection::ConnectionId; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> node/src/network/discovery/mod.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | use libp2p::kad::handler::{KademliaHandler, KademliaHandlerIn}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> node/src/network/discovery/mod.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | use libp2p::kad::QueryId; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2p` [INFO] [stdout] --> node/src/network/discovery/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use libp2p::{ [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> node/src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use log::{ [INFO] [stdout] | ^^^ use of undeclared crate or module `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wasi_common` [INFO] [stdout] --> node/src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use wasi_common::virtfs::{ [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `wasi_common` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `env_logger`, `wasi_common::virtfs::FileContents`, `wasi_common::virtfs::VirtualDir`, `wasi_common::virtfs::InMemoryFile`, `wasi_common::virtfs::VirtualDirEntry` [INFO] [stdout] --> node/src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use env_logger::{Builder, Env}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `env_logger` [INFO] [stdout] ... [INFO] [stdout] 14 | FileContents, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 15 | VirtualDir, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 16 | InMemoryFile, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 17 | VirtualDirEntry, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wasmtime_wasi` [INFO] [stdout] --> node/src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use wasmtime_wasi::{ [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `wasmtime_wasi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `behaviour` in this scope [INFO] [stdout] --> node/src/network/discovery/mod.rs:111:7 [INFO] [stdout] | [INFO] [stdout] 111 | #[behaviour] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store` [INFO] [stdout] --> node/src/main.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | let store = Store::default(); [INFO] [stdout] | ^^^^^ use of undeclared type `Store` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Linker` [INFO] [stdout] --> node/src/main.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | let mut linker = Linker::new(&store); [INFO] [stdout] | ^^^^^^ use of undeclared type `Linker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `anyhow` [INFO] [stdout] --> api/src/main.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | async fn main() -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `anyhow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JobCreateRequest` in this scope [INFO] [stdout] --> api/src/handlers/mod.rs:37:49 [INFO] [stdout] | [INFO] [stdout] 36 | impl client_api::server::Api for ApiServer { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 37 | async fn job_create(&self, request: Request) -> Result, Status> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JobCreateResponse` in this scope [INFO] [stdout] --> api/src/handlers/mod.rs:37:87 [INFO] [stdout] | [INFO] [stdout] 36 | impl client_api::server::Api for ApiServer { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 37 | async fn job_create(&self, request: Request) -> Result, Status> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JobDeleteRequest` in this scope [INFO] [stdout] --> api/src/handlers/mod.rs:41:49 [INFO] [stdout] | [INFO] [stdout] 36 | impl client_api::server::Api for ApiServer { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 41 | async fn job_delete(&self, request: Request) -> Result, Status> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JobDeleteResponse` in this scope [INFO] [stdout] --> api/src/handlers/mod.rs:41:87 [INFO] [stdout] | [INFO] [stdout] 36 | impl client_api::server::Api for ApiServer { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 41 | async fn job_delete(&self, request: Request) -> Result, Status> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JobListRequest` in this scope [INFO] [stdout] --> api/src/handlers/mod.rs:45:47 [INFO] [stdout] | [INFO] [stdout] 36 | impl client_api::server::Api for ApiServer { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 45 | async fn job_list(&self, request: Request) -> Result, Status> { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JobListResponse` in this scope [INFO] [stdout] --> api/src/handlers/mod.rs:45:83 [INFO] [stdout] | [INFO] [stdout] 36 | impl client_api::server::Api for ApiServer { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 45 | async fn job_list(&self, request: Request) -> Result, Status> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JobStatusSetRequest` in this scope [INFO] [stdout] --> api/src/handlers/mod.rs:49:53 [INFO] [stdout] | [INFO] [stdout] 36 | impl client_api::server::Api for ApiServer { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 49 | async fn job_status_set(&self, request: Request) -> Result, Status> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Actor` in this scope [INFO] [stdout] --> api/src/service/job/service.rs:20:6 [INFO] [stdout] | [INFO] [stdout] 20 | impl Actor for JobService { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> api/src/service/job/service.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | type Context = Context; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] 1 | use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Handler` in this scope [INFO] [stdout] --> api/src/service/job/service.rs:24:6 [INFO] [stdout] | [INFO] [stdout] 24 | impl Handler for JobService { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> api/src/service/job/service.rs:27:53 [INFO] [stdout] | [INFO] [stdout] 27 | fn handle(&mut self, msg: JobCommand, ctx: &mut Context) -> Self::Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] 1 | use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `MessageResponse` in this scope [INFO] [stdout] --> api/src/service/mod.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | impl MessageResponse for JobEvent [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Actor` in this scope [INFO] [stdout] --> api/src/service/mod.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | A: Actor, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `InMemoryFile` [INFO] [stdout] --> node/src/main.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | let inmem_stderr = InMemoryFile::new(Box::new(stderr)); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `InMemoryFile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Message` in this scope [INFO] [stdout] --> api/src/service/mod.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | M: Message, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0706]: functions in traits cannot be declared `async` [INFO] [stdout] --> api/src/handlers/mod.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | async fn job_create(&self, request: Request) -> Result, Status> { [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | _____`async` because of this [INFO] [stdout] | | [INFO] [stdout] 38 | | unimplemented!() [INFO] [stdout] 39 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `async` trait functions are not currently supported [INFO] [stdout] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ResponseChannel` in this scope [INFO] [stdout] --> api/src/service/mod.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | fn handle>(self, _: &mut A::Context, tx: Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `InMemoryFile` [INFO] [stdout] --> node/src/main.rs:42:24 [INFO] [stdout] | [INFO] [stdout] 42 | let inmem_stdout = InMemoryFile::new(Box::new(stdout)); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `InMemoryFile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `InMemoryFile` [INFO] [stdout] --> node/src/main.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 45 | let inmem_stdin = InMemoryFile::new(Box::new(stdin)); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `InMemoryFile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `JobService` in `job` [INFO] [stdout] --> api/src/main.rs:9:35 [INFO] [stdout] | [INFO] [stdout] 9 | let jsvc_addr = service::job::JobService::new().start(); [INFO] [stdout] | ^^^^^^^^^^ not found in `service::job` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::service::job::service::JobService; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module` [INFO] [stdout] --> node/src/main.rs:59:18 [INFO] [stdout] | [INFO] [stdout] 59 | let module = Module::from_file(store.engine(), "./")?; [INFO] [stdout] | ^^^^^^ use of undeclared type `Module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `FileContents` in this scope [INFO] [stdout] --> node/src/vfs/mod.rs:30:6 [INFO] [stdout] | [INFO] [stdout] 30 | impl FileContents for VecFileContents { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Kademlia` in this scope [INFO] [stdout] --> node/src/network/discovery/mod.rs:63:26 [INFO] [stdout] | [INFO] [stdout] 63 | type MemBackedKademlia = Kademlia; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MemoryStore` in this scope [INFO] [stdout] --> node/src/network/discovery/mod.rs:63:35 [INFO] [stdout] | [INFO] [stdout] 63 | type MemBackedKademlia = Kademlia; [INFO] [stdout] | - ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Multiaddr` in this scope [INFO] [stdout] --> node/src/network/discovery/mod.rs:67:35 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct DiscoveryConfig { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 66 | local_peer_id: PeerId, [INFO] [stdout] 67 | bootstrap_nodes: Vec<(PeerId, Multiaddr)>, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Keypair` in this scope [INFO] [stdout] --> node/src/network/discovery/mod.rs:104:20 [INFO] [stdout] | [INFO] [stdout] 104 | pub local_key: Keypair, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KademliaConfig` in this scope [INFO] [stdout] --> node/src/network/discovery/mod.rs:106:19 [INFO] [stdout] | [INFO] [stdout] 106 | pub kademlia: KademliaConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Kademlia` in this scope [INFO] [stdout] --> node/src/network/discovery/mod.rs:112:15 [INFO] [stdout] | [INFO] [stdout] 112 | kademlia: Kademlia, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MemoryStore` in this scope [INFO] [stdout] --> node/src/network/discovery/mod.rs:112:24 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct Discovery { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 111 | #[behaviour] [INFO] [stdout] 112 | kademlia: Kademlia, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KademliaHandler` in this scope [INFO] [stdout] --> node/src/network/discovery/mod.rs:122:29 [INFO] [stdout] | [INFO] [stdout] 122 | type ProtocolsHandler = KademliaHandler; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `QueryId` in this scope [INFO] [stdout] --> node/src/network/discovery/mod.rs:122:45 [INFO] [stdout] | [INFO] [stdout] 121 | impl NetworkBehaviour for Discovery { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 122 | type ProtocolsHandler = KademliaHandler; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Multiaddr` in this scope [INFO] [stdout] --> node/src/network/discovery/mod.rs:129:62 [INFO] [stdout] | [INFO] [stdout] 121 | impl NetworkBehaviour for Discovery { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 129 | fn addresses_of_peer(&mut self, peer_id: &PeerId) -> Vec { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ConnectionId` in this scope [INFO] [stdout] --> node/src/network/discovery/mod.rs:141:61 [INFO] [stdout] | [INFO] [stdout] 141 | fn inject_event(&mut self, peer_id: PeerId, connection: ConnectionId, event: _) { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `PollParameters` in this scope [INFO] [stdout] --> node/src/network/discovery/mod.rs:145:64 [INFO] [stdout] | [INFO] [stdout] 145 | fn poll(&mut self, cx: &mut Context<'_>, params: &mut impl PollParameters) -> Poll< [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NetworkBehaviourAction` in this scope [INFO] [stdout] --> node/src/network/discovery/mod.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | NetworkBehaviourAction<::InEvent, Self::OutEvent>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Caller` in this scope [INFO] [stdout] --> node/src/main.rs:33:45 [INFO] [stdout] | [INFO] [stdout] 33 | linker.func("host", "log_str", |caller: Caller, ptr: i32, len: i32| { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::SeekFrom` [INFO] [stdout] --> node/src/vfs/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::SeekFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0706]: functions in traits cannot be declared `async` [INFO] [stdout] --> api/src/handlers/mod.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | async fn job_delete(&self, request: Request) -> Result, Status> { [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | _____`async` because of this [INFO] [stdout] | | [INFO] [stdout] 42 | | unimplemented!() [INFO] [stdout] 43 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `async` trait functions are not currently supported [INFO] [stdout] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0706]: functions in traits cannot be declared `async` [INFO] [stdout] --> api/src/handlers/mod.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | async fn job_list(&self, request: Request) -> Result, Status> { [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | _____`async` because of this [INFO] [stdout] | | [INFO] [stdout] 46 | | unimplemented!() [INFO] [stdout] 47 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `async` trait functions are not currently supported [INFO] [stdout] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0706]: functions in traits cannot be declared `async` [INFO] [stdout] --> api/src/handlers/mod.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | async fn job_status_set(&self, request: Request) -> Result, Status> { [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | _____`async` because of this [INFO] [stdout] | | [INFO] [stdout] 50 | | unimplemented!() [INFO] [stdout] 51 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `async` trait functions are not currently supported [INFO] [stdout] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix` [INFO] [stdout] --> api/src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use actix::prelude::*; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `actix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `super::JobEvent`, `super::JobCommand` [INFO] [stdout] --> api/src/service/job/service.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | JobEvent, [INFO] [stdout] | ^^^^^^^^ no `JobEvent` in `service::job` [INFO] [stdout] 8 | JobCommand, [INFO] [stdout] | ^^^^^^^^^^ no `JobCommand` in `service::job` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tonic` [INFO] [stdout] --> api/src/handlers/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use tonic::{ [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tonic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `client_api` [INFO] [stdout] --> api/src/handlers/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use client_api; [INFO] [stdout] | ^^^^^^^^^^ no external crate `client_api` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix` [INFO] [stdout] --> api/src/service/job/service.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use actix::prelude::*; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `actix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix` [INFO] [stdout] --> api/src/service/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use actix::prelude::*; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `actix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `actix`, `crate::service` [INFO] [stdout] --> api/src/handlers/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::service; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 19 | use actix::Actor; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `actix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix` [INFO] [stdout] --> api/src/service/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use actix::dev::{ [INFO] [stdout] | ^^^^^ use of undeclared crate or module `actix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `anyhow`, `actix::dev::Actor`, `actix::dev::Message`, `actix::dev::MessageResponse`, `actix::dev::ResponseChannel` [INFO] [stdout] --> api/src/service/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Actor, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | Message, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | MessageResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | ResponseChannel, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: api/src/service/job/service.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::Result; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `anyhow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tonic` [INFO] [stdout] --> api/src/handlers/mod.rs:35:3 [INFO] [stdout] | [INFO] [stdout] 35 | #[tonic::async_trait] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tonic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_rt` [INFO] [stdout] --> api/src/main.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[actix_rt::main] [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Message` in this scope [INFO] [stdout] --> api/src/service/mod.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Message)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `rtype` in this scope [INFO] [stdout] --> api/src/service/mod.rs:38:3 [INFO] [stdout] | [INFO] [stdout] 38 | #[rtype(result = "Result>")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Message` in this scope [INFO] [stdout] --> api/src/service/mod.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Message)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `rtype` in this scope [INFO] [stdout] --> api/src/service/mod.rs:47:3 [INFO] [stdout] | [INFO] [stdout] 47 | #[rtype(result = "Result>")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Message` in this scope [INFO] [stdout] --> api/src/service/mod.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 53 | #[derive(Message)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `rtype` in this scope [INFO] [stdout] --> api/src/service/mod.rs:54:3 [INFO] [stdout] | [INFO] [stdout] 54 | #[rtype(result = "()")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PathBuf`, `Path` [INFO] [stdout] --> node/src/vfs/mod.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> node/src/vfs/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashSet`, `Hash`, `Hasher`, `VecDeque`, `hash_map::DefaultHasher` [INFO] [stdout] --> node/src/network/discovery/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | VecDeque, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 5 | HashSet, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 6 | hash_map::DefaultHasher, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | Hash, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | Hasher, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `convert::TryFrom` [INFO] [stdout] --> node/src/network/discovery/mod.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | convert::TryFrom, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `types` [INFO] [stdout] --> node/src/vfs/mod.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | fn max_size(&self) -> types::Filesize { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `types` [INFO] [stdout] --> node/src/vfs/mod.rs:32:28 [INFO] [stdout] | [INFO] [stdout] 32 | std::usize::MAX as types::Filesize [INFO] [stdout] | ^^^^^ use of undeclared crate or module `types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `types` [INFO] [stdout] --> node/src/vfs/mod.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 35 | fn size(&self) -> types::Filesize { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `types` [INFO] [stdout] --> node/src/vfs/mod.rs:36:31 [INFO] [stdout] | [INFO] [stdout] 36 | self.content.len() as types::Filesize [INFO] [stdout] | ^^^^^ use of undeclared crate or module `types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `types` [INFO] [stdout] --> node/src/vfs/mod.rs:39:36 [INFO] [stdout] | [INFO] [stdout] 39 | fn resize(&mut self, new_size: types::Filesize) -> Result<()> { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Errno` [INFO] [stdout] --> node/src/vfs/mod.rs:40:63 [INFO] [stdout] | [INFO] [stdout] 40 | let new_size: usize = new_size.try_into().map_err(|_| Errno::Inval)?; [INFO] [stdout] | ^^^^^ use of undeclared type `Errno` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `types` [INFO] [stdout] --> node/src/vfs/mod.rs:45:57 [INFO] [stdout] | [INFO] [stdout] 45 | fn pwritev(&mut self, iovs: &[io::IoSlice], offset: types::Filesize) -> Result { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `types` [INFO] [stdout] --> node/src/vfs/mod.rs:55:59 [INFO] [stdout] | [INFO] [stdout] 55 | fn preadv(&self, iovs: &mut [io::IoSliceMut], offset: types::Filesize) -> Result { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `types` [INFO] [stdout] --> node/src/vfs/mod.rs:65:46 [INFO] [stdout] | [INFO] [stdout] 65 | fn pwrite(&mut self, buf: &[u8], offset: types::Filesize) -> Result { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Errno` [INFO] [stdout] --> node/src/vfs/mod.rs:66:59 [INFO] [stdout] | [INFO] [stdout] 66 | let offset: usize = offset.try_into().map_err(|_| Errno::Inval)?; [INFO] [stdout] | ^^^^^ use of undeclared type `Errno` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Errno` [INFO] [stdout] --> node/src/vfs/mod.rs:68:61 [INFO] [stdout] | [INFO] [stdout] 68 | let write_end = offset.checked_add(buf.len()).ok_or(Errno::Fbig)?; [INFO] [stdout] | ^^^^^ use of undeclared type `Errno` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `types` [INFO] [stdout] --> node/src/vfs/mod.rs:79:45 [INFO] [stdout] | [INFO] [stdout] 79 | fn pread(&self, buf: &mut [u8], offset: types::Filesize) -> Result { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Errno` [INFO] [stdout] --> node/src/vfs/mod.rs:80:59 [INFO] [stdout] | [INFO] [stdout] 80 | let offset: usize = offset.try_into().map_err(|_| Errno::Inval)?; [INFO] [stdout] | ^^^^^ use of undeclared type `Errno` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 64 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 39 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433, E0583, E0706. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `record` [INFO] [stdout] --> node/src/network/discovery/mod.rs:91:21 [INFO] [stdout] | [INFO] [stdout] 91 | ValueFound(Vec<(record::Key, Vec)>), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `record` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `record` [INFO] [stdout] --> node/src/network/discovery/mod.rs:94:19 [INFO] [stdout] | [INFO] [stdout] 94 | ValueNotFound(record::Key), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `record` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `record` [INFO] [stdout] --> node/src/network/discovery/mod.rs:97:14 [INFO] [stdout] | [INFO] [stdout] 97 | ValuePut(record::Key), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `record` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `record` [INFO] [stdout] --> node/src/network/discovery/mod.rs:100:20 [INFO] [stdout] | [INFO] [stdout] 100 | ValuePutFailed(record::Key), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `record` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `anyhow` [INFO] [stdout] --> api/src/main.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | async fn main() -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `anyhow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JobCreateRequest` in this scope [INFO] [stdout] --> api/src/handlers/mod.rs:37:49 [INFO] [stdout] | [INFO] [stdout] 36 | impl client_api::server::Api for ApiServer { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 37 | async fn job_create(&self, request: Request) -> Result, Status> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JobCreateResponse` in this scope [INFO] [stdout] --> api/src/handlers/mod.rs:37:87 [INFO] [stdout] | [INFO] [stdout] 36 | impl client_api::server::Api for ApiServer { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 37 | async fn job_create(&self, request: Request) -> Result, Status> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JobDeleteRequest` in this scope [INFO] [stdout] --> api/src/handlers/mod.rs:41:49 [INFO] [stdout] | [INFO] [stdout] 36 | impl client_api::server::Api for ApiServer { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 41 | async fn job_delete(&self, request: Request) -> Result, Status> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JobDeleteResponse` in this scope [INFO] [stdout] --> api/src/handlers/mod.rs:41:87 [INFO] [stdout] | [INFO] [stdout] 36 | impl client_api::server::Api for ApiServer { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 41 | async fn job_delete(&self, request: Request) -> Result, Status> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JobListRequest` in this scope [INFO] [stdout] --> api/src/handlers/mod.rs:45:47 [INFO] [stdout] | [INFO] [stdout] 36 | impl client_api::server::Api for ApiServer { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 45 | async fn job_list(&self, request: Request) -> Result, Status> { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JobListResponse` in this scope [INFO] [stdout] --> api/src/handlers/mod.rs:45:83 [INFO] [stdout] | [INFO] [stdout] 36 | impl client_api::server::Api for ApiServer { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 45 | async fn job_list(&self, request: Request) -> Result, Status> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JobStatusSetRequest` in this scope [INFO] [stdout] --> api/src/handlers/mod.rs:49:53 [INFO] [stdout] | [INFO] [stdout] 36 | impl client_api::server::Api for ApiServer { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 49 | async fn job_status_set(&self, request: Request) -> Result, Status> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Actor` in this scope [INFO] [stdout] --> api/src/service/job/service.rs:20:6 [INFO] [stdout] | [INFO] [stdout] 20 | impl Actor for JobService { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> api/src/service/job/service.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | type Context = Context; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] 1 | use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Handler` in this scope [INFO] [stdout] --> api/src/service/job/service.rs:24:6 [INFO] [stdout] | [INFO] [stdout] 24 | impl Handler for JobService { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> api/src/service/job/service.rs:27:53 [INFO] [stdout] | [INFO] [stdout] 27 | fn handle(&mut self, msg: JobCommand, ctx: &mut Context) -> Self::Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] 1 | use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `MessageResponse` in this scope [INFO] [stdout] --> api/src/service/mod.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | impl MessageResponse for JobEvent [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Actor` in this scope [INFO] [stdout] --> api/src/service/mod.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | A: Actor, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Message` in this scope [INFO] [stdout] --> api/src/service/mod.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | M: Message, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ResponseChannel` in this scope [INFO] [stdout] --> api/src/service/mod.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | fn handle>(self, _: &mut A::Context, tx: Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `JobService` in `job` [INFO] [stdout] --> api/src/main.rs:9:35 [INFO] [stdout] | [INFO] [stdout] 9 | let jsvc_addr = service::job::JobService::new().start(); [INFO] [stdout] | ^^^^^^^^^^ not found in `service::job` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::service::job::service::JobService; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 39 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433, E0583, E0706. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `djswasm` [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProtocolsHandler` [INFO] [stdout] --> node/src/network/discovery/mod.rs:146:59 [INFO] [stdout] | [INFO] [stdout] 146 | NetworkBehaviourAction<::InEvent, Self::OutEvent>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `ProtocolsHandler` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NetworkBehaviourAction` [INFO] [stdout] --> node/src/network/discovery/mod.rs:150:17 [INFO] [stdout] | [INFO] [stdout] 150 | NetworkBehaviourAction::GenerateEvent(ge) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `NetworkBehaviourAction` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `KademliaEvent` [INFO] [stdout] --> node/src/network/discovery/mod.rs:152:25 [INFO] [stdout] | [INFO] [stdout] 152 | KademliaEvent::QueryResult { .. } => {} [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `KademliaEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `KademliaEvent` [INFO] [stdout] --> node/src/network/discovery/mod.rs:153:25 [INFO] [stdout] | [INFO] [stdout] 153 | KademliaEvent::RoutingUpdated { .. } => {} [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `KademliaEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `KademliaEvent` [INFO] [stdout] --> node/src/network/discovery/mod.rs:154:25 [INFO] [stdout] | [INFO] [stdout] 154 | KademliaEvent::UnroutablePeer { .. } => {} [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `KademliaEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `KademliaEvent` [INFO] [stdout] --> node/src/network/discovery/mod.rs:155:25 [INFO] [stdout] | [INFO] [stdout] 155 | KademliaEvent::RoutablePeer { .. } => {} [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `KademliaEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `KademliaEvent` [INFO] [stdout] --> node/src/network/discovery/mod.rs:156:25 [INFO] [stdout] | [INFO] [stdout] 156 | KademliaEvent::PendingRoutablePeer { .. } => {} [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `KademliaEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NetworkBehaviourAction` [INFO] [stdout] --> node/src/network/discovery/mod.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 159 | NetworkBehaviourAction::DialAddress { .. } => {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `NetworkBehaviourAction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NetworkBehaviourAction` [INFO] [stdout] --> node/src/network/discovery/mod.rs:160:17 [INFO] [stdout] | [INFO] [stdout] 160 | NetworkBehaviourAction::DialPeer { .. } => {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `NetworkBehaviourAction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NetworkBehaviourAction` [INFO] [stdout] --> node/src/network/discovery/mod.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | NetworkBehaviourAction::NotifyHandler { .. } => {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `NetworkBehaviourAction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NetworkBehaviourAction` [INFO] [stdout] --> node/src/network/discovery/mod.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | NetworkBehaviourAction::ReportObservedAddr { .. } => {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `NetworkBehaviourAction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `anyhow` [INFO] [stdout] --> node/src/main.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | fn main() -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `anyhow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store` [INFO] [stdout] --> node/src/main.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | let store = Store::default(); [INFO] [stdout] | ^^^^^ use of undeclared type `Store` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Linker` [INFO] [stdout] --> node/src/main.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | let mut linker = Linker::new(&store); [INFO] [stdout] | ^^^^^^ use of undeclared type `Linker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `InMemoryFile` [INFO] [stdout] --> node/src/main.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | let inmem_stderr = InMemoryFile::new(Box::new(stderr)); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `InMemoryFile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `InMemoryFile` [INFO] [stdout] --> node/src/main.rs:42:24 [INFO] [stdout] | [INFO] [stdout] 42 | let inmem_stdout = InMemoryFile::new(Box::new(stdout)); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `InMemoryFile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `InMemoryFile` [INFO] [stdout] --> node/src/main.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 45 | let inmem_stdin = InMemoryFile::new(Box::new(stdin)); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `InMemoryFile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module` [INFO] [stdout] --> node/src/main.rs:59:18 [INFO] [stdout] | [INFO] [stdout] 59 | let module = Module::from_file(store.engine(), "./")?; [INFO] [stdout] | ^^^^^^ use of undeclared type `Module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `FileContents` in this scope [INFO] [stdout] --> node/src/vfs/mod.rs:30:6 [INFO] [stdout] | [INFO] [stdout] 30 | impl FileContents for VecFileContents { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Kademlia` in this scope [INFO] [stdout] --> node/src/network/discovery/mod.rs:63:26 [INFO] [stdout] | [INFO] [stdout] 63 | type MemBackedKademlia = Kademlia; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MemoryStore` in this scope [INFO] [stdout] --> node/src/network/discovery/mod.rs:63:35 [INFO] [stdout] | [INFO] [stdout] 63 | type MemBackedKademlia = Kademlia; [INFO] [stdout] | - ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Multiaddr` in this scope [INFO] [stdout] --> node/src/network/discovery/mod.rs:67:35 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct DiscoveryConfig { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 66 | local_peer_id: PeerId, [INFO] [stdout] 67 | bootstrap_nodes: Vec<(PeerId, Multiaddr)>, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Keypair` in this scope [INFO] [stdout] --> node/src/network/discovery/mod.rs:104:20 [INFO] [stdout] | [INFO] [stdout] 104 | pub local_key: Keypair, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KademliaConfig` in this scope [INFO] [stdout] --> node/src/network/discovery/mod.rs:106:19 [INFO] [stdout] | [INFO] [stdout] 106 | pub kademlia: KademliaConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Kademlia` in this scope [INFO] [stdout] --> node/src/network/discovery/mod.rs:112:15 [INFO] [stdout] | [INFO] [stdout] 112 | kademlia: Kademlia, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MemoryStore` in this scope [INFO] [stdout] --> node/src/network/discovery/mod.rs:112:24 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct Discovery { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 111 | #[behaviour] [INFO] [stdout] 112 | kademlia: Kademlia, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KademliaHandler` in this scope [INFO] [stdout] --> node/src/network/discovery/mod.rs:122:29 [INFO] [stdout] | [INFO] [stdout] 122 | type ProtocolsHandler = KademliaHandler; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `QueryId` in this scope [INFO] [stdout] --> node/src/network/discovery/mod.rs:122:45 [INFO] [stdout] | [INFO] [stdout] 121 | impl NetworkBehaviour for Discovery { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 122 | type ProtocolsHandler = KademliaHandler; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Multiaddr` in this scope [INFO] [stdout] --> node/src/network/discovery/mod.rs:129:62 [INFO] [stdout] | [INFO] [stdout] 121 | impl NetworkBehaviour for Discovery { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 129 | fn addresses_of_peer(&mut self, peer_id: &PeerId) -> Vec { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ConnectionId` in this scope [INFO] [stdout] --> node/src/network/discovery/mod.rs:141:61 [INFO] [stdout] | [INFO] [stdout] 141 | fn inject_event(&mut self, peer_id: PeerId, connection: ConnectionId, event: _) { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `PollParameters` in this scope [INFO] [stdout] --> node/src/network/discovery/mod.rs:145:64 [INFO] [stdout] | [INFO] [stdout] 145 | fn poll(&mut self, cx: &mut Context<'_>, params: &mut impl PollParameters) -> Poll< [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NetworkBehaviourAction` in this scope [INFO] [stdout] --> node/src/network/discovery/mod.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | NetworkBehaviourAction<::InEvent, Self::OutEvent>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Caller` in this scope [INFO] [stdout] --> node/src/main.rs:33:45 [INFO] [stdout] | [INFO] [stdout] 33 | linker.func("host", "log_str", |caller: Caller, ptr: i32, len: i32| { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::SeekFrom` [INFO] [stdout] --> node/src/vfs/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::SeekFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PathBuf`, `Path` [INFO] [stdout] --> node/src/vfs/mod.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> node/src/vfs/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashSet`, `Hash`, `Hasher`, `VecDeque`, `hash_map::DefaultHasher` [INFO] [stdout] --> node/src/network/discovery/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | VecDeque, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 5 | HashSet, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 6 | hash_map::DefaultHasher, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | Hash, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | Hasher, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `convert::TryFrom` [INFO] [stdout] --> node/src/network/discovery/mod.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | convert::TryFrom, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 64 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "cb05119968274d337c1cb630c679d3fe07e31ae8918539dddcfa42309538a89f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb05119968274d337c1cb630c679d3fe07e31ae8918539dddcfa42309538a89f", kill_on_drop: false }` [INFO] [stdout] cb05119968274d337c1cb630c679d3fe07e31ae8918539dddcfa42309538a89f