[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] testing grenewode/fledge-server against beta-2021-01-01 for beta-1.50-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgrenewode%2Ffledge-server" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/grenewode/fledge-server on toolchain beta-2021-01-01 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-01-01" "read-manifest" "--manifest-path" "Cargo.toml", 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-7/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" "+beta-2021-01-01" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded trust-dns-resolver v0.9.1 [INFO] [stderr] Downloaded cpython v0.2.1 [INFO] [stderr] Downloaded actix_derive v0.3.0 [INFO] [stderr] Downloaded htmlescape v0.3.1 [INFO] [stderr] Downloaded actix-web v0.7.8 [INFO] [stderr] Downloaded python3-sys v0.2.1 [INFO] [stderr] Downloaded syn v0.15.6 [INFO] [stderr] Downloaded serde_json v1.0.31 [INFO] [stderr] Downloaded tokio-uds v0.2.2 [INFO] [stderr] Downloaded tokio-signal v0.2.5 [INFO] [stderr] Downloaded tokio-threadpool v0.1.7 [INFO] [stderr] Downloaded actix v0.7.4 [INFO] [stderr] Downloaded trust-dns-proto v0.4.0 [INFO] [stderr] Downloaded ring v0.13.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 645095be62e392abf730f6db5b96f5d1b35d99ea1f34893bf25cc65f5bae7c56 [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" "645095be62e392abf730f6db5b96f5d1b35d99ea1f34893bf25cc65f5bae7c56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "645095be62e392abf730f6db5b96f5d1b35d99ea1f34893bf25cc65f5bae7c56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "645095be62e392abf730f6db5b96f5d1b35d99ea1f34893bf25cc65f5bae7c56", kill_on_drop: false }` [INFO] [stdout] 645095be62e392abf730f6db5b96f5d1b35d99ea1f34893bf25cc65f5bae7c56 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 12d4d7f25267a8530b9e7f7ae29957a4acd0437fc774b734be2c4baa24c64e14 [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" "12d4d7f25267a8530b9e7f7ae29957a4acd0437fc774b734be2c4baa24c64e14", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling cpython v0.2.1 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling log v0.4.5 [INFO] [stderr] Compiling syn v0.15.6 [INFO] [stderr] Compiling python3-sys v0.2.1 [INFO] [stderr] Compiling tokio-io v0.1.9 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling tokio-threadpool v0.1.7 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tokio-reactor v0.1.6 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling h2 v0.1.12 [INFO] [stderr] Compiling tokio-fs v0.1.3 [INFO] [stderr] Compiling tokio-udp v0.1.2 [INFO] [stderr] Compiling tokio-tcp v0.1.2 [INFO] [stderr] Compiling tokio-uds v0.2.2 [INFO] [stderr] Compiling tokio-signal v0.2.5 [INFO] [stderr] Compiling trust-dns-proto v0.4.0 [INFO] [stderr] Compiling tokio v0.1.11 [INFO] [stderr] Compiling serde_derive v1.0.79 [INFO] [stderr] Compiling trust-dns-resolver v0.9.1 [INFO] [stderr] Compiling actix v0.7.4 [INFO] [stderr] Compiling actix-web v0.7.8 [INFO] [stderr] Compiling 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[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] running `Command { std: "docker" "inspect" "12d4d7f25267a8530b9e7f7ae29957a4acd0437fc774b734be2c4baa24c64e14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12d4d7f25267a8530b9e7f7ae29957a4acd0437fc774b734be2c4baa24c64e14", kill_on_drop: false }` [INFO] [stdout] 12d4d7f25267a8530b9e7f7ae29957a4acd0437fc774b734be2c4baa24c64e14