[INFO] fetching crate pushevent 0.1.3... [INFO] testing pushevent-0.1.3 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate pushevent 0.1.3 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate pushevent 0.1.3 [INFO] finished tweaking crates.io crate pushevent 0.1.3 [INFO] tweaked toml for crates.io crate pushevent 0.1.3 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pushevent 0.1.3 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 78 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ws v0.9.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b48e4df5a9219639cdb530ca9bdb100bc3abe6adddf809a303ff3a59b60a86a3 [INFO] running `Command { std: "docker" "start" "-a" "b48e4df5a9219639cdb530ca9bdb100bc3abe6adddf809a303ff3a59b60a86a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b48e4df5a9219639cdb530ca9bdb100bc3abe6adddf809a303ff3a59b60a86a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b48e4df5a9219639cdb530ca9bdb100bc3abe6adddf809a303ff3a59b60a86a3", kill_on_drop: false }` [INFO] [stdout] b48e4df5a9219639cdb530ca9bdb100bc3abe6adddf809a303ff3a59b60a86a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 59588b8785d573627fe39e5e8338605e8c1fbbfdb7e25870d05917ba9b98d583 [INFO] running `Command { std: "docker" "start" "-a" "59588b8785d573627fe39e5e8338605e8c1fbbfdb7e25870d05917ba9b98d583", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling ws v0.9.2 [INFO] [stderr] Compiling pushevent v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `result_map_or_else` has been stable since 1.41.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(result_map_or_else)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> src/server.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Server { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 17 | threads: Vec>, [INFO] [stdout] 18 | inner: ServerRef, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.83s [INFO] running `Command { std: "docker" "inspect" "59588b8785d573627fe39e5e8338605e8c1fbbfdb7e25870d05917ba9b98d583", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59588b8785d573627fe39e5e8338605e8c1fbbfdb7e25870d05917ba9b98d583", kill_on_drop: false }` [INFO] [stdout] 59588b8785d573627fe39e5e8338605e8c1fbbfdb7e25870d05917ba9b98d583 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 68f656b3ff0923724631063323cbdccdd6d4f04cf387f47c85ba69d5bd7750ec [INFO] running `Command { std: "docker" "start" "-a" "68f656b3ff0923724631063323cbdccdd6d4f04cf387f47c85ba69d5bd7750ec", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling pushevent v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `result_map_or_else` has been stable since 1.41.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(result_map_or_else)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> src/server.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Server { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 17 | threads: Vec>, [INFO] [stdout] 18 | inner: ServerRef, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `result_map_or_else` has been stable since 1.41.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(result_map_or_else)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> src/server.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Server { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 17 | threads: Vec>, [INFO] [stdout] 18 | inner: ServerRef, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.66s [INFO] running `Command { std: "docker" "inspect" "68f656b3ff0923724631063323cbdccdd6d4f04cf387f47c85ba69d5bd7750ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68f656b3ff0923724631063323cbdccdd6d4f04cf387f47c85ba69d5bd7750ec", kill_on_drop: false }` [INFO] [stdout] 68f656b3ff0923724631063323cbdccdd6d4f04cf387f47c85ba69d5bd7750ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 84f5d848b211662e99c1c12c72eeb45bc108f1c6fb854e661be5154c7f0dd355 [INFO] running `Command { std: "docker" "start" "-a" "84f5d848b211662e99c1c12c72eeb45bc108f1c6fb854e661be5154c7f0dd355", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] warning: the feature `result_map_or_else` has been stable since 1.41.0 and no longer requires an attribute to enable [INFO] [stderr] --> src/lib.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(result_map_or_else)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `inner` is never read [INFO] [stderr] --> src/server.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 16 | pub struct Server { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] 17 | threads: Vec>, [INFO] [stderr] 18 | inner: ServerRef, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `pushevent` (lib) generated 2 warnings [INFO] [stderr] warning: `pushevent` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/pushevent-37cbcb49a67ce927) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests pushevent [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test src/server.rs - server::Server::new (line 37) - compile ... ok [INFO] [stdout] test src/server.rs - server::Server::join_threads (line 97) - compile ... ok [INFO] [stdout] test src/server.rs - server::ServerInner::add_client (line 123) - compile fail ... ok [INFO] [stdout] test src/lib.rs - Event::build (line 73) ... FAILED [INFO] [stdout] test src/lib.rs - Event::get_res (line 52) ... FAILED [INFO] [stdout] test src/lib.rs - Event::new (line 29) ... FAILED [INFO] [stdout] test src/server.rs - server::ServerInner::broadcast (line 170) - compile fail ... ok [INFO] [stdout] test src/server.rs - server::Server::get_tx (line 76) - compile fail ... ok [INFO] [stdout] test src/server.rs - server::ServerInner::remove_client (line 146) - compile fail ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - Event::build (line 73) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:85:28 [INFO] [stdout] | [INFO] [stdout] 85 | let new_event = Event::new("/events/message", message); [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^ expected `String`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn new(res: String, inner: Box) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: try using a conversion method [INFO] [stdout] | [INFO] [stdout] 85 | let new_event = Event::new("/events/message".to_string(), message); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Event::get_res (line 52) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:64:28 [INFO] [stdout] | [INFO] [stdout] 64 | let new_event = Event::new("/events/message", message); [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^ expected `String`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn new(res: String, inner: Box) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: try using a conversion method [INFO] [stdout] | [INFO] [stdout] 64 | let new_event = Event::new("/events/message".to_string(), message); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Event::new (line 29) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:41:28 [INFO] [stdout] | [INFO] [stdout] 41 | let new_event = Event::new("/events/message", message); [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^ expected `String`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn new(res: String, inner: Box) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: try using a conversion method [INFO] [stdout] | [INFO] [stdout] 41 | let new_event = Event::new("/events/message".to_string(), message); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - Event::build (line 73) [INFO] [stdout] src/lib.rs - Event::get_res (line 52) [INFO] [stdout] src/lib.rs - Event::new (line 29) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 6 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.35s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "84f5d848b211662e99c1c12c72eeb45bc108f1c6fb854e661be5154c7f0dd355", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84f5d848b211662e99c1c12c72eeb45bc108f1c6fb854e661be5154c7f0dd355", kill_on_drop: false }` [INFO] [stdout] 84f5d848b211662e99c1c12c72eeb45bc108f1c6fb854e661be5154c7f0dd355