[INFO] cloning repository https://github.com/grenewode/fledge-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/grenewode/fledge-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgrenewode%2Ffledge-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgrenewode%2Ffledge-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ebf817ab685cf88a32f67f1094eb0572fe4511fa [INFO] checking grenewode/fledge-server against master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgrenewode%2Ffledge-server" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/grenewode/fledge-server on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/grenewode/fledge-server [INFO] finished tweaking git repo https://github.com/grenewode/fledge-server [INFO] tweaked toml for git repo https://github.com/grenewode/fledge-server written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/grenewode/fledge-server already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 16d08df9bb4633db6b422a9e855efd3d1155bfd310097c2ebc81bdb92a972abb [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" "16d08df9bb4633db6b422a9e855efd3d1155bfd310097c2ebc81bdb92a972abb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "16d08df9bb4633db6b422a9e855efd3d1155bfd310097c2ebc81bdb92a972abb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16d08df9bb4633db6b422a9e855efd3d1155bfd310097c2ebc81bdb92a972abb", kill_on_drop: false }` [INFO] [stdout] 16d08df9bb4633db6b422a9e855efd3d1155bfd310097c2ebc81bdb92a972abb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3438f8802a547deacfb401dec5e5107b462f717d3c21151fc1ab7be0607c075e [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" "3438f8802a547deacfb401dec5e5107b462f717d3c21151fc1ab7be0607c075e", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Checking cfg-if v0.1.5 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Checking byteorder v1.2.6 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling proc-macro2 v0.4.19 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling regex v1.0.5 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling backtrace v0.2.3 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Compiling utf8-ranges v1.0.1 [INFO] [stderr] Compiling failure_derive v0.1.2 [INFO] [stderr] Compiling serde v1.0.79 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Compiling ryu v0.2.6 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Compiling cpython v0.2.1 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking tokio-executor v0.1.5 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking log v0.4.5 [INFO] [stderr] Compiling regex-syntax v0.6.2 [INFO] [stderr] Checking owning_ref v0.3.3 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling dbghelp-sys v0.2.0 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking smallvec v0.6.5 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling memchr v2.1.0 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling unicase v2.1.0 [INFO] [stderr] Compiling actix-web v0.7.8 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking rand v0.4.3 [INFO] [stderr] Checking hostname v0.1.5 [INFO] [stderr] Checking socket2 v0.3.8 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking tokio-timer v0.2.7 [INFO] [stderr] Checking tokio-current-thread v0.1.3 [INFO] [stderr] Checking lock_api v0.1.4 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking bytes v0.4.10 [INFO] [stderr] Checking resolv-conf v0.6.1 [INFO] [stderr] Checking mio v0.6.16 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Compiling phf_shared v0.7.23 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Checking uuid v0.6.5 [INFO] [stderr] Checking crossbeam-epoch v0.5.2 [INFO] [stderr] Checking crossbeam-epoch v0.6.0 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking url v1.7.1 [INFO] [stderr] Checking mime v0.3.9 [INFO] [stderr] Checking aho-corasick v0.6.8 [INFO] [stderr] Checking tokio-io v0.1.9 [INFO] [stderr] Checking http v0.1.13 [INFO] [stderr] Compiling phf_generator v0.7.23 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling syn v0.15.6 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking phf v0.7.23 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling miniz-sys v0.1.10 [INFO] [stderr] Compiling ring v0.13.2 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Checking crossbeam-deque v0.6.1 [INFO] [stderr] Compiling phf_codegen v0.7.23 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.6 [INFO] [stderr] Checking tokio-threadpool v0.1.7 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking parking_lot v0.6.4 [INFO] [stderr] Checking tokio-reactor v0.1.6 [INFO] [stderr] Checking crossbeam-channel v0.2.6 [INFO] [stderr] Checking flate2 v1.0.2 [INFO] [stderr] Checking tokio-tcp v0.1.2 [INFO] [stderr] Checking tokio-udp v0.1.2 [INFO] [stderr] Checking tokio-uds v0.2.2 [INFO] [stderr] Checking tokio-signal v0.2.5 [INFO] [stderr] Checking tokio-fs v0.1.3 [INFO] [stderr] Checking backtrace v0.3.9 [INFO] [stderr] Checking tokio v0.1.11 [INFO] [stderr] Checking error-chain v0.1.12 [INFO] [stderr] Checking h2 v0.1.12 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Checking trust-dns-proto v0.4.0 [INFO] [stderr] Checking serde_urlencoded v0.5.3 [INFO] [stderr] Checking serde_json v1.0.31 [INFO] [stderr] Compiling serde_derive v1.0.79 [INFO] [stderr] Checking cookie v0.11.0 [INFO] [stderr] Checking trust-dns-resolver v0.9.1 [INFO] [stderr] Compiling python3-sys v0.2.1 [INFO] [stderr] Compiling synstructure v0.9.0 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Compiling actix_derive v0.3.0 [INFO] [stderr] Checking failure v0.1.2 [INFO] [stderr] Checking actix v0.7.4 [INFO] [stderr] Checking fledge-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0428]: the name `Node` is defined multiple times [INFO] [stdout] --> src/node.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Node { [INFO] [stdout] | --------------- previous definition of the type `Node` here [INFO] [stdout] ... [INFO] [stdout] 60 | pub trait Node { [INFO] [stdout] | ^^^^^^^^^^^^^^ `Node` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `Node` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `Node` is defined multiple times [INFO] [stdout] --> src/node.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Node { [INFO] [stdout] | --------------- previous definition of the type `Node` here [INFO] [stdout] ... [INFO] [stdout] 60 | pub trait Node { [INFO] [stdout] | ^^^^^^^^^^^^^^ `Node` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `Node` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found struct `Node` [INFO] [stdout] --> src/extensions/base.rs:17:6 [INFO] [stdout] | [INFO] [stdout] 17 | impl Node for ValueNode { [INFO] [stdout] | ^^^^ not a trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found struct `Node` [INFO] [stdout] --> src/extensions/python.rs:52:6 [INFO] [stdout] | [INFO] [stdout] 52 | impl Node for PythonNode { [INFO] [stdout] | ^^^^ not a trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found struct `Node` [INFO] [stdout] --> src/node.rs:85:25 [INFO] [stdout] | [INFO] [stdout] 85 | node: Arc>, [INFO] [stdout] | ^^^^ not a trait [INFO] [stdout] | [INFO] [stdout] help: `+` is used to constrain a "trait object" type with lifetimes or auto-traits; structs and enums can't be bound in that way [INFO] [stdout] --> src/node.rs:85:32 [INFO] [stdout] | [INFO] [stdout] 85 | node: Arc>, [INFO] [stdout] | ---- ^^^^ ^^^^ ...because of these bounds [INFO] [stdout] | | [INFO] [stdout] | expected this type to be a trait... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found struct `Node` [INFO] [stdout] --> src/node.rs:87:51 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn create_app(name: &str, node: Arc>) -> App { [INFO] [stdout] | ^^^^ not a trait [INFO] [stdout] | [INFO] [stdout] help: `+` is used to constrain a "trait object" type with lifetimes or auto-traits; structs and enums can't be bound in that way [INFO] [stdout] --> src/node.rs:87:58 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn create_app(name: &str, node: Arc>) -> App { [INFO] [stdout] | ---- ^^^^ ^^^^ ...because of these bounds [INFO] [stdout] | | [INFO] [stdout] | expected this type to be a trait... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found struct `Node` [INFO] [stdout] --> src/main.rs:61:70 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn make_node(&self, settings: &AppSettings) -> Arc> { [INFO] [stdout] | ^^^^ not a trait [INFO] [stdout] | [INFO] [stdout] help: `+` is used to constrain a "trait object" type with lifetimes or auto-traits; structs and enums can't be bound in that way [INFO] [stdout] --> src/main.rs:61:77 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn make_node(&self, settings: &AppSettings) -> Arc> { [INFO] [stdout] | ---- ^^^^ ^^^^ ...because of these bounds [INFO] [stdout] | | [INFO] [stdout] | expected this type to be a trait... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found struct `Node` [INFO] [stdout] --> src/main.rs:121:54 [INFO] [stdout] | [INFO] [stdout] 121 | static ref NODES: Vec<(String, Arc>)> = { [INFO] [stdout] | ^^^^ not a trait [INFO] [stdout] | [INFO] [stdout] help: `+` is used to constrain a "trait object" type with lifetimes or auto-traits; structs and enums can't be bound in that way [INFO] [stdout] --> src/main.rs:121:61 [INFO] [stdout] | [INFO] [stdout] 121 | static ref NODES: Vec<(String, Arc>)> = { [INFO] [stdout] | ---- ^^^^ ^^^^ ...because of these bounds [INFO] [stdout] | | [INFO] [stdout] | expected this type to be a trait... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/extensions/base.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Future` [INFO] [stdout] --> src/node.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::{Future, Stream}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HttpHandlerTask`, `HttpHandler`, `HttpRequest`, `HttpResponse`, `Path`, `self` [INFO] [stdout] --> src/node.rs:80:14 [INFO] [stdout] | [INFO] [stdout] 80 | server::{self, HttpHandler, HttpHandlerTask}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 81 | App, HttpRequest, HttpResponse, Json, Path, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::dev::Handler` [INFO] [stdout] --> src/main.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | use actix_web::dev::Handler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HttpHandlerTask`, `HttpHandler`, `HttpRequest`, `HttpResponse`, `http` [INFO] [stdout] --> src/main.rs:103:15 [INFO] [stdout] | [INFO] [stdout] 103 | self, http, [INFO] [stdout] | ^^^^ [INFO] [stdout] 104 | middleware::Logger, [INFO] [stdout] 105 | server::{self, HttpHandler, HttpHandlerTask}, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 106 | App, HttpRequest, HttpResponse, Json, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `actix_web` is imported redundantly [INFO] [stdout] --> src/main.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate actix_web; [INFO] [stdout] | ----------------------- the item `actix_web` is already imported here [INFO] [stdout] ... [INFO] [stdout] 103 | self, http, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0404, E0428. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0404`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fledge-server` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0404]: expected trait, found struct `Node` [INFO] [stdout] --> src/extensions/base.rs:17:6 [INFO] [stdout] | [INFO] [stdout] 17 | impl Node for ValueNode { [INFO] [stdout] | ^^^^ not a trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found struct `Node` [INFO] [stdout] --> src/extensions/python.rs:52:6 [INFO] [stdout] | [INFO] [stdout] 52 | impl Node for PythonNode { [INFO] [stdout] | ^^^^ not a trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found struct `Node` [INFO] [stdout] --> src/node.rs:85:25 [INFO] [stdout] | [INFO] [stdout] 85 | node: Arc>, [INFO] [stdout] | ^^^^ not a trait [INFO] [stdout] | [INFO] [stdout] help: `+` is used to constrain a "trait object" type with lifetimes or auto-traits; structs and enums can't be bound in that way [INFO] [stdout] --> src/node.rs:85:32 [INFO] [stdout] | [INFO] [stdout] 85 | node: Arc>, [INFO] [stdout] | ---- ^^^^ ^^^^ ...because of these bounds [INFO] [stdout] | | [INFO] [stdout] | expected this type to be a trait... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found struct `Node` [INFO] [stdout] --> src/node.rs:87:51 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn create_app(name: &str, node: Arc>) -> App { [INFO] [stdout] | ^^^^ not a trait [INFO] [stdout] | [INFO] [stdout] help: `+` is used to constrain a "trait object" type with lifetimes or auto-traits; structs and enums can't be bound in that way [INFO] [stdout] --> src/node.rs:87:58 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn create_app(name: &str, node: Arc>) -> App { [INFO] [stdout] | ---- ^^^^ ^^^^ ...because of these bounds [INFO] [stdout] | | [INFO] [stdout] | expected this type to be a trait... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found struct `Node` [INFO] [stdout] --> src/main.rs:61:70 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn make_node(&self, settings: &AppSettings) -> Arc> { [INFO] [stdout] | ^^^^ not a trait [INFO] [stdout] | [INFO] [stdout] help: `+` is used to constrain a "trait object" type with lifetimes or auto-traits; structs and enums can't be bound in that way [INFO] [stdout] --> src/main.rs:61:77 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn make_node(&self, settings: &AppSettings) -> Arc> { [INFO] [stdout] | ---- ^^^^ ^^^^ ...because of these bounds [INFO] [stdout] | | [INFO] [stdout] | expected this type to be a trait... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found struct `Node` [INFO] [stdout] --> src/main.rs:121:54 [INFO] [stdout] | [INFO] [stdout] 121 | static ref NODES: Vec<(String, Arc>)> = { [INFO] [stdout] | ^^^^ not a trait [INFO] [stdout] | [INFO] [stdout] help: `+` is used to constrain a "trait object" type with lifetimes or auto-traits; structs and enums can't be bound in that way [INFO] [stdout] --> src/main.rs:121:61 [INFO] [stdout] | [INFO] [stdout] 121 | static ref NODES: Vec<(String, Arc>)> = { [INFO] [stdout] | ---- ^^^^ ^^^^ ...because of these bounds [INFO] [stdout] | | [INFO] [stdout] | expected this type to be a trait... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/extensions/base.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Future` [INFO] [stdout] --> src/node.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::{Future, Stream}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HttpHandlerTask`, `HttpHandler`, `HttpRequest`, `HttpResponse`, `Path`, `self` [INFO] [stdout] --> src/node.rs:80:14 [INFO] [stdout] | [INFO] [stdout] 80 | server::{self, HttpHandler, HttpHandlerTask}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 81 | App, HttpRequest, HttpResponse, Json, Path, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::dev::Handler` [INFO] [stdout] --> src/main.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | use actix_web::dev::Handler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HttpHandlerTask`, `HttpHandler`, `HttpRequest`, `HttpResponse`, `http` [INFO] [stdout] --> src/main.rs:103:15 [INFO] [stdout] | [INFO] [stdout] 103 | self, http, [INFO] [stdout] | ^^^^ [INFO] [stdout] 104 | middleware::Logger, [INFO] [stdout] 105 | server::{self, HttpHandler, HttpHandlerTask}, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 106 | App, HttpRequest, HttpResponse, Json, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `actix_web` is imported redundantly [INFO] [stdout] --> src/main.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate actix_web; [INFO] [stdout] | ----------------------- the item `actix_web` is already imported here [INFO] [stdout] ... [INFO] [stdout] 103 | self, http, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0404, E0428. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0404`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "3438f8802a547deacfb401dec5e5107b462f717d3c21151fc1ab7be0607c075e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3438f8802a547deacfb401dec5e5107b462f717d3c21151fc1ab7be0607c075e", kill_on_drop: false }` [INFO] [stdout] 3438f8802a547deacfb401dec5e5107b462f717d3c21151fc1ab7be0607c075e