[INFO] cloning repository https://github.com/timvw/serve-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/timvw/serve-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimvw%2Fserve-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimvw%2Fserve-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d3d187b3df82b0a815c981412bb736ca5ce084de [INFO] building timvw/serve-rs against try#615edd3ad1cf6871c977dc900317cb6c2070fd6b for pr-97334 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimvw%2Fserve-rs" "/workspace/builds/worker-20/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-20/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/timvw/serve-rs on toolchain 615edd3ad1cf6871c977dc900317cb6c2070fd6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/timvw/serve-rs [INFO] finished tweaking git repo https://github.com/timvw/serve-rs [INFO] tweaked toml for git repo https://github.com/timvw/serve-rs written to /workspace/builds/worker-20/source/Cargo.toml [INFO] crate git repo https://github.com/timvw/serve-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "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-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f2afe294af854c4d2ef02f52efce35b0dd063f67f9973cd7cbea816d85c19051 [INFO] running `Command { std: "docker" "start" "-a" "f2afe294af854c4d2ef02f52efce35b0dd063f67f9973cd7cbea816d85c19051", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f2afe294af854c4d2ef02f52efce35b0dd063f67f9973cd7cbea816d85c19051", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2afe294af854c4d2ef02f52efce35b0dd063f67f9973cd7cbea816d85c19051", kill_on_drop: false }` [INFO] [stdout] f2afe294af854c4d2ef02f52efce35b0dd063f67f9973cd7cbea816d85c19051 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8f180533457071ad3065c2bbd5052490e16072b4db1133e4839349ee7653407e [INFO] running `Command { std: "docker" "start" "-a" "8f180533457071ad3065c2bbd5052490e16072b4db1133e4839349ee7653407e", 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] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.90 [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling fixedbitset v0.4.1 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling tower-layer v0.3.1 [INFO] [stderr] Compiling rustls v0.20.4 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling http-range-header v0.3.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling sync_wrapper v0.1.1 [INFO] [stderr] Compiling matchit v0.5.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling ipnet v2.4.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tracing-core v0.1.24 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling rustls-pemfile v0.3.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling cmake v0.1.48 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.8 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling which v4.2.5 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling petgraph v0.6.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling prost-build v0.10.0 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling prettyplease v0.1.9 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling ctor v0.1.22 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling prost-derive v0.10.0 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Compiling axum-core v0.2.0 [INFO] [stderr] Compiling async-stream v0.3.3 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling tracing v0.1.32 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling prost v0.10.0 [INFO] [stderr] Compiling prost-types v0.10.0 [INFO] [stderr] Compiling tonic-build v0.7.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-util v0.7.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-io-timeout v1.2.0 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling tokio-rustls v0.23.3 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling tower v0.4.12 [INFO] [stderr] Compiling serve v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling tower-http v0.2.5 [INFO] [stderr] Compiling hyper v0.14.18 [INFO] [stderr] Compiling axum v0.5.0 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.10 [INFO] [stderr] Compiling tonic v0.7.0 [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/bin/producer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/bin/producer.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/bin/producer.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 13 | / loop { [INFO] [stdout] 14 | | [INFO] [stdout] 15 | | let mut broker_client = BrokerClient::connect("http://broker.apps.timvw.be:50051").await?; [INFO] [stdout] 16 | | [INFO] [stdout] ... | [INFO] [stdout] 24 | | //thread::sleep(Duration::from_secs(1)); [INFO] [stdout] 25 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 26 | [INFO] [stdout] 27 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 44s [INFO] running `Command { std: "docker" "inspect" "8f180533457071ad3065c2bbd5052490e16072b4db1133e4839349ee7653407e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f180533457071ad3065c2bbd5052490e16072b4db1133e4839349ee7653407e", kill_on_drop: false }` [INFO] [stdout] 8f180533457071ad3065c2bbd5052490e16072b4db1133e4839349ee7653407e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f117aad74a7ae73ccb69d198c3e63ba2e93f865075e23486632d9f9ac4f2b445 [INFO] running `Command { std: "docker" "start" "-a" "f117aad74a7ae73ccb69d198c3e63ba2e93f865075e23486632d9f9ac4f2b445", kill_on_drop: false }` [INFO] [stderr] Compiling serve v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/bin/producer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/bin/producer.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/bin/producer.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 13 | / loop { [INFO] [stdout] 14 | | [INFO] [stdout] 15 | | let mut broker_client = BrokerClient::connect("http://broker.apps.timvw.be:50051").await?; [INFO] [stdout] 16 | | [INFO] [stdout] ... | [INFO] [stdout] 24 | | //thread::sleep(Duration::from_secs(1)); [INFO] [stdout] 25 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 26 | [INFO] [stdout] 27 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 13.02s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/serve-88f53eb541c82453) [INFO] [stderr] Executable unittests src/bin/broker.rs (/opt/rustwide/target/debug/deps/broker-d803481ae36cc96f) [INFO] [stderr] Executable unittests src/bin/consumer.rs (/opt/rustwide/target/debug/deps/consumer-b4377582e4eaef18) [INFO] [stderr] Executable unittests src/bin/producer.rs (/opt/rustwide/target/debug/deps/producer-8ca0dda4342574f2) [INFO] running `Command { std: "docker" "inspect" "f117aad74a7ae73ccb69d198c3e63ba2e93f865075e23486632d9f9ac4f2b445", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f117aad74a7ae73ccb69d198c3e63ba2e93f865075e23486632d9f9ac4f2b445", kill_on_drop: false }` [INFO] [stdout] f117aad74a7ae73ccb69d198c3e63ba2e93f865075e23486632d9f9ac4f2b445