[INFO] fetching crate sozu-lib 0.13.1... [INFO] checking sozu-lib-0.13.1 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate sozu-lib 0.13.1 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate sozu-lib 0.13.1 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sozu-lib 0.13.1 [INFO] finished tweaking crates.io crate sozu-lib 0.13.1 [INFO] tweaked toml for crates.io crate sozu-lib 0.13.1 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate crates.io crate sozu-lib 0.13.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ascii v1.0.0 [INFO] [stderr] Downloaded tiny_http v0.8.2 [INFO] [stderr] Downloaded quickcheck v1.0.3 [INFO] [stderr] Downloaded ureq v2.1.1 [INFO] [stderr] Downloaded rusty_ulid v0.11.0 [INFO] [stderr] Downloaded hdrhistogram v7.3.0 [INFO] [stderr] Downloaded nom v7.0.0-alpha1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 55d9ad3fd40145ab60e428e313f23c869b87c4d6db66eaa73d2d90c641aebdc3 [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" "55d9ad3fd40145ab60e428e313f23c869b87c4d6db66eaa73d2d90c641aebdc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "55d9ad3fd40145ab60e428e313f23c869b87c4d6db66eaa73d2d90c641aebdc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55d9ad3fd40145ab60e428e313f23c869b87c4d6db66eaa73d2d90c641aebdc3", kill_on_drop: false }` [INFO] [stdout] 55d9ad3fd40145ab60e428e313f23c869b87c4d6db66eaa73d2d90c641aebdc3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d0bb6adca37610d04008bf70874eb4166d08cec6500c897ce4f45890a4b848f5 [INFO] running `Command { std: "docker" "start" "-a" "d0bb6adca37610d04008bf70874eb4166d08cec6500c897ce4f45890a4b848f5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking cpufeatures v0.1.5 [INFO] [stderr] Checking trailer v0.1.2 [INFO] [stderr] Checking pool v0.1.4 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking ascii v1.0.0 [INFO] [stderr] Checking tinyvec v1.2.0 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling nom v7.0.0-alpha1 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking bitvec v0.19.5 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Checking poule v0.3.2 [INFO] [stderr] Checking nix v0.21.0 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking sha2 v0.9.5 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking pem v0.8.3 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking rusty_ulid v0.11.0 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Checking tiny_http v0.8.2 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking webpki-roots v0.21.1 [INFO] [stderr] Checking hdrhistogram v7.3.0 [INFO] [stderr] Checking ureq v2.1.1 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking sozu-command-lib v0.13.0 [INFO] [stderr] Checking sozu-lib v0.13.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/protocol/http/mod.rs:1689:7 [INFO] [stdout] | [INFO] [stdout] 1689 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/https_rustls/session.rs:861:7 [INFO] [stdout] | [INFO] [stdout] 861 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/tcp.rs:1176:49 [INFO] [stdout] | [INFO] [stdout] 1176 | use std::sync::atomic::{AtomicBool, Ordering, ATOMIC_BOOL_INIT}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/tcp.rs:1181:38 [INFO] [stdout] | [INFO] [stdout] 1181 | static TEST_FINISHED: AtomicBool = ATOMIC_BOOL_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicBool::new(false)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/buffer_queue.rs:497:10 [INFO] [stdout] | [INFO] [stdout] 497 | let (pool, mut b) = buf_with_capacity(10); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/protocol/http/parser/tests.rs:581:10 [INFO] [stdout] | [INFO] [stdout] 581 | let (pool, mut buf) = buf_with_capacity(2048); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/protocol/http/parser/tests.rs:1095:10 [INFO] [stdout] | [INFO] [stdout] 1095 | let (pool, mut buf) = buf_with_capacity(2048); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/protocol/proxy_protocol/send.rs:249:11 [INFO] [stdout] | [INFO] [stdout] 249 | let stream = StdTcpStream::connect(&addr).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `jg` [INFO] [stdout] --> src/http.rs:1440:9 [INFO] [stdout] | [INFO] [stdout] 1440 | let jg = thread::spawn(move || { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_jg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `jg` [INFO] [stdout] --> src/http.rs:1497:9 [INFO] [stdout] | [INFO] [stdout] 1497 | let jg = thread::spawn(move|| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_jg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `jg` [INFO] [stdout] --> src/http.rs:1573:9 [INFO] [stdout] | [INFO] [stdout] 1573 | let jg = thread::spawn(move || { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_jg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/backends.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | for stream in listener.incoming() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/tcp.rs:1272:15 [INFO] [stdout] | [INFO] [stdout] 1272 | Err(e) => { println!("connection failed"); } [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/tcp.rs:1248:11 [INFO] [stdout] | [INFO] [stdout] 1248 | let response = b" END"; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx` [INFO] [stdout] --> src/tcp.rs:1201:9 [INFO] [stdout] | [INFO] [stdout] 1201 | let tx = start_proxy(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read examples/../assets/cert_test.pem: No such file or directory (os error 2) [INFO] [stdout] --> examples/main.rs:137:15 [INFO] [stdout] | [INFO] [stdout] 137 | let cert2 = include_str!("../assets/cert_test.pem"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read examples/../assets/key_test.pem: No such file or directory (os error 2) [INFO] [stdout] --> examples/main.rs:138:15 [INFO] [stdout] | [INFO] [stdout] 138 | let key2 = include_str!("../assets/key_test.pem"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sozu-lib` due to 3 previous errors [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/buffer_queue.rs:498:5 [INFO] [stdout] | [INFO] [stdout] 498 | b.buffer.write(&b"ABCDEFGHIJ"[..]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/http.rs:1591:5 [INFO] [stdout] | [INFO] [stdout] 1591 | client.set_read_timeout(Some(Duration::new(5,0))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/tcp.rs:1331:7 [INFO] [stdout] | [INFO] [stdout] 1331 | / scm.send_listeners(&Listeners { [INFO] [stdout] 1332 | | http: Vec::new(), [INFO] [stdout] 1333 | | tls: Vec::new(), [INFO] [stdout] 1334 | | tcp: Vec::new(), [INFO] [stdout] 1335 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "d0bb6adca37610d04008bf70874eb4166d08cec6500c897ce4f45890a4b848f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0bb6adca37610d04008bf70874eb4166d08cec6500c897ce4f45890a4b848f5", kill_on_drop: false }` [INFO] [stdout] d0bb6adca37610d04008bf70874eb4166d08cec6500c897ce4f45890a4b848f5