[INFO] cloning repository https://github.com/i-am-ok-dont-worry/authc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/i-am-ok-dont-worry/authc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fi-am-ok-dont-worry%2Fauthc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fi-am-ok-dont-worry%2Fauthc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ee81cbe8d62760576a9447457679dd5e72f3dcc5 [INFO] checking i-am-ok-dont-worry/authc against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fi-am-ok-dont-worry%2Fauthc" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/i-am-ok-dont-worry/authc on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/i-am-ok-dont-worry/authc [INFO] finished tweaking git repo https://github.com/i-am-ok-dont-worry/authc [INFO] tweaked toml for git repo https://github.com/i-am-ok-dont-worry/authc written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/i-am-ok-dont-worry/authc already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a2e0c164cc41e6fbfbdb00980994e02f6c76878e31fece3da546190c678cbb85 [INFO] running `Command { std: "docker" "start" "-a" "a2e0c164cc41e6fbfbdb00980994e02f6c76878e31fece3da546190c678cbb85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a2e0c164cc41e6fbfbdb00980994e02f6c76878e31fece3da546190c678cbb85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2e0c164cc41e6fbfbdb00980994e02f6c76878e31fece3da546190c678cbb85", kill_on_drop: false }` [INFO] [stdout] a2e0c164cc41e6fbfbdb00980994e02f6c76878e31fece3da546190c678cbb85 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f04f177e97e986b9d3cdd461111096ae2121fc9ee9e3b64b1b1762ca921936f1 [INFO] running `Command { std: "docker" "start" "-a" "f04f177e97e986b9d3cdd461111096ae2121fc9ee9e3b64b1b1762ca921936f1", 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] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking modifier v0.1.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking route-recognizer v0.1.13 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Checking tinyvec v1.3.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Checking plugin v0.2.6 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Checking iron v0.6.1 [INFO] [stderr] Checking router v0.6.0 [INFO] [stderr] Checking logger v0.4.0 (https://github.com/iron/logger.git#4df63964) [INFO] [stderr] Checking serde v1.0.126 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking authc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `info`, `warn` [INFO] [stdout] --> src/main.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use log::{info, warn}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::policy::PolicyReader` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::policy::PolicyReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/policy/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/policy/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::BTreeMap` [INFO] [stdout] --> src/policy/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Result` [INFO] [stdout] --> src/policy/mod.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | use serde_json::{Value, Result, from_value}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IpAddr`, `Ipv4Addr` [INFO] [stdout] --> src/policy/mod.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | use std::net::{IpAddr, Ipv4Addr}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/policy/mod.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | /// Check 'hosts' policy property - this field should only accept array of valid strings [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 43 | / let is_hosts_property_valid: std::result::Result<(), &'static str> = match self.policy.get("hosts") { [INFO] [stdout] 44 | | Some(val) => { [INFO] [stdout] 45 | | match val { [INFO] [stdout] 46 | | Value::Array(server) => { [INFO] [stdout] ... | [INFO] [stdout] 57 | | None => return Err("Cannot read property hosts. Property 'servers' must be a valid string array") [INFO] [stdout] 58 | | }; [INFO] [stdout] | |__________- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AfterMiddleware` [INFO] [stdout] --> src/authc/mod.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use iron::{AfterMiddleware}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ContentType` [INFO] [stdout] --> src/authc/mod.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use iron::headers::{ContentType}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/authc/mod.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use log::{warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `info`, `warn` [INFO] [stdout] --> src/main.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use log::{info, warn}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::policy::PolicyReader` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::policy::PolicyReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/policy/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/policy/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::BTreeMap` [INFO] [stdout] --> src/policy/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Result` [INFO] [stdout] --> src/policy/mod.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | use serde_json::{Value, Result, from_value}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IpAddr`, `Ipv4Addr` [INFO] [stdout] --> src/policy/mod.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | use std::net::{IpAddr, Ipv4Addr}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/policy/mod.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | /// Check 'hosts' policy property - this field should only accept array of valid strings [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 43 | / let is_hosts_property_valid: std::result::Result<(), &'static str> = match self.policy.get("hosts") { [INFO] [stdout] 44 | | Some(val) => { [INFO] [stdout] 45 | | match val { [INFO] [stdout] 46 | | Value::Array(server) => { [INFO] [stdout] ... | [INFO] [stdout] 57 | | None => return Err("Cannot read property hosts. Property 'servers' must be a valid string array") [INFO] [stdout] 58 | | }; [INFO] [stdout] | |__________- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AfterMiddleware` [INFO] [stdout] --> src/authc/mod.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use iron::{AfterMiddleware}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ContentType` [INFO] [stdout] --> src/authc/mod.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use iron::headers::{ContentType}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/authc/mod.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use log::{warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `bool: Modifier` is not satisfied [INFO] [stdout] --> src/authc/mod.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 40 | Ok(Response::with((status::Ok, true))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `Modifier` is not implemented for `bool` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Modifier` for `(iron::status::Status, bool)` [INFO] [stdout] note: required by a bound in `iron::Response::with` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/iron-0.6.1/src/response.rs:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn with>(m: M) -> Response { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `iron::Response::with` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `authc` due to 2 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the trait bound `bool: Modifier` is not satisfied [INFO] [stdout] --> src/authc/mod.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 40 | Ok(Response::with((status::Ok, true))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `Modifier` is not implemented for `bool` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Modifier` for `(iron::status::Status, bool)` [INFO] [stdout] note: required by a bound in `iron::Response::with` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/iron-0.6.1/src/response.rs:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn with>(m: M) -> Response { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `iron::Response::with` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "f04f177e97e986b9d3cdd461111096ae2121fc9ee9e3b64b1b1762ca921936f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f04f177e97e986b9d3cdd461111096ae2121fc9ee9e3b64b1b1762ca921936f1", kill_on_drop: false }` [INFO] [stdout] f04f177e97e986b9d3cdd461111096ae2121fc9ee9e3b64b1b1762ca921936f1