[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 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgrenewode%2Ffledge-server" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/grenewode/fledge-server on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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-11/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" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d87a9aaa128487b818ef344dafcb95be808e79790d3a6a61e7d2246cde65187f [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" "d87a9aaa128487b818ef344dafcb95be808e79790d3a6a61e7d2246cde65187f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d87a9aaa128487b818ef344dafcb95be808e79790d3a6a61e7d2246cde65187f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d87a9aaa128487b818ef344dafcb95be808e79790d3a6a61e7d2246cde65187f", kill_on_drop: false }` [INFO] [stdout] d87a9aaa128487b818ef344dafcb95be808e79790d3a6a61e7d2246cde65187f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07d59b5ecdde3d5e595022459f286824fdf24908a1bde395ede3c672e74c079b [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" "07d59b5ecdde3d5e595022459f286824fdf24908a1bde395ede3c672e74c079b", kill_on_drop: false }` [INFO] [stderr] Compiling futures v0.1.24 [INFO] [stderr] Compiling serde v1.0.79 [INFO] [stderr] Compiling failure_derive v0.1.2 [INFO] [stderr] Compiling cpython v0.2.1 [INFO] [stderr] Compiling htmlescape v0.3.1 [INFO] [stderr] Compiling hostname v0.1.5 [INFO] [stderr] Compiling log v0.4.5 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling unicase v2.1.0 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling miniz-sys v0.1.10 [INFO] [stderr] Compiling socket2 v0.3.8 [INFO] [stderr] Compiling ring v0.13.2 [INFO] [stderr] Compiling actix-web v0.7.8 [INFO] [stderr] Compiling uuid v0.6.5 [INFO] [stderr] Compiling memchr v2.1.0 [INFO] [stderr] Compiling url v1.7.1 [INFO] [stderr] Compiling crossbeam-epoch v0.5.2 [INFO] [stderr] Compiling crossbeam-epoch v0.6.0 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling syn v0.15.6 [INFO] [stderr] Compiling resolv-conf v0.6.1 [INFO] [stderr] Compiling backtrace v0.3.9 [INFO] [stderr] Compiling backtrace v0.2.3 [INFO] [stderr] Compiling aho-corasick v0.6.8 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling phf_generator v0.7.23 [INFO] [stderr] Compiling error-chain v0.1.12 [INFO] [stderr] Compiling crossbeam-deque v0.6.1 [INFO] [stderr] Compiling regex v1.0.5 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling phf_codegen v0.7.23 [INFO] [stderr] Compiling mime v0.3.9 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tokio-executor v0.1.5 [INFO] [stderr] Compiling tokio-io v0.1.9 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.6 [INFO] [stderr] Compiling crossbeam-channel v0.2.6 [INFO] [stderr] Compiling tokio-threadpool v0.1.7 [INFO] [stderr] Compiling tokio-timer v0.2.7 [INFO] [stderr] Compiling tokio-current-thread v0.1.3 [INFO] [stderr] Compiling flate2 v1.0.2 [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 serde_derive v1.0.79 [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 env_logger v0.5.13 [INFO] [stderr] Compiling trust-dns-proto v0.4.0 [INFO] [stderr] Compiling tokio v0.1.11 [INFO] [stderr] Compiling cookie v0.11.0 [INFO] [stderr] Compiling serde_urlencoded v0.5.3 [INFO] [stderr] Compiling serde_json v1.0.31 [INFO] [stderr] Compiling python3-sys v0.2.1 [INFO] [stderr] Compiling trust-dns-resolver v0.9.1 [INFO] [stderr] Compiling synstructure v0.9.0 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling actix_derive v0.3.0 [INFO] [stderr] Compiling failure v0.1.2 [INFO] [stderr] Compiling actix v0.7.4 [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` due to 8 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "07d59b5ecdde3d5e595022459f286824fdf24908a1bde395ede3c672e74c079b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07d59b5ecdde3d5e595022459f286824fdf24908a1bde395ede3c672e74c079b", kill_on_drop: false }` [INFO] [stdout] 07d59b5ecdde3d5e595022459f286824fdf24908a1bde395ede3c672e74c079b