[INFO] fetching crate risclient 0.1.1... [INFO] testing risclient-0.1.1 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate risclient 0.1.1 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate risclient 0.1.1 [INFO] finished tweaking crates.io crate risclient 0.1.1 [INFO] tweaked toml for crates.io crate risclient 0.1.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate risclient 0.1.1 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate risclient 0.1.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 77d3683008e00b77fe99d1c45e3cfbd08704d087d5f9aca8324f6deabbad70b2 [INFO] running `Command { std: "docker" "start" "-a" "77d3683008e00b77fe99d1c45e3cfbd08704d087d5f9aca8324f6deabbad70b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "77d3683008e00b77fe99d1c45e3cfbd08704d087d5f9aca8324f6deabbad70b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77d3683008e00b77fe99d1c45e3cfbd08704d087d5f9aca8324f6deabbad70b2", kill_on_drop: false }` [INFO] [stdout] 77d3683008e00b77fe99d1c45e3cfbd08704d087d5f9aca8324f6deabbad70b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e5b69f782b379f02a2e0a01131df4ed15efca1c688f6a3ca3c6ba4193493481f [INFO] running `Command { std: "docker" "start" "-a" "e5b69f782b379f02a2e0a01131df4ed15efca1c688f6a3ca3c6ba4193493481f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.121 [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 cc v1.0.73 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tungstenite v0.17.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling tokio-tungstenite v0.17.1 [INFO] [stderr] Compiling risclient v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.01s [INFO] running `Command { std: "docker" "inspect" "e5b69f782b379f02a2e0a01131df4ed15efca1c688f6a3ca3c6ba4193493481f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5b69f782b379f02a2e0a01131df4ed15efca1c688f6a3ca3c6ba4193493481f", kill_on_drop: false }` [INFO] [stdout] e5b69f782b379f02a2e0a01131df4ed15efca1c688f6a3ca3c6ba4193493481f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f34f419d91791df9ffa7e09651230fbdb1dc07efb83365acc5493ad34ec82a83 [INFO] running `Command { std: "docker" "start" "-a" "f34f419d91791df9ffa7e09651230fbdb1dc07efb83365acc5493ad34ec82a83", kill_on_drop: false }` [INFO] [stderr] Compiling risclient v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.71s [INFO] running `Command { std: "docker" "inspect" "f34f419d91791df9ffa7e09651230fbdb1dc07efb83365acc5493ad34ec82a83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f34f419d91791df9ffa7e09651230fbdb1dc07efb83365acc5493ad34ec82a83", kill_on_drop: false }` [INFO] [stdout] f34f419d91791df9ffa7e09651230fbdb1dc07efb83365acc5493ad34ec82a83 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b7349e5d9bd6d2516884a7d56c86ad8a97ad87ec80ddae831c74bdb94c672679 [INFO] running `Command { std: "docker" "start" "-a" "b7349e5d9bd6d2516884a7d56c86ad8a97ad87ec80ddae831c74bdb94c672679", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/risclient-6ad85a7052e31f21) [INFO] [stdout] [INFO] [stderr] Running unittests src/ristest.rs (/opt/rustwide/target/debug/deps/ristest-3a7485fa90ca049a) [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests risclient [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] [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] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - RisClient::stream (line 206) ... FAILED [INFO] [stdout] test src/lib.rs - RisClient::new (line 100) ... FAILED [INFO] [stdout] test src/lib.rs - RisClient::stream_custom (line 138) ... FAILED [INFO] [stdout] test src/lib.rs - RisClient::default (line 115) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - RisClient::stream (line 206) stdout ---- [INFO] [stdout] error[E0599]: no method named `stream` found for enum `Result` in the current scope [INFO] [stdout] --> src/lib.rs:210:17 [INFO] [stdout] | [INFO] [stdout] 7 | let rx = client.stream(); [INFO] [stdout] | ^^^^^^ method not found in `Result>` [INFO] [stdout] | [INFO] [stdout] note: the method `stream` exists on the type `RisClient` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 218 | pub async fn stream(&mut self) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `RisClient` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 7 | let rx = client.expect("REASON").stream(); [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 E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - RisClient::new (line 100) stdout ---- [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/lib.rs:103:14 [INFO] [stdout] | [INFO] [stdout] 6 | let client = RisClient::new("ris-live.ripe.net", "rust-risclient"); [INFO] [stdout] | ^^^^^^^^^^^^^^ ------------------- ---------------- expected `String`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | expected `String`, found `&str` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn new(host: String, client_id: String) -> Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] help: try using a conversion method [INFO] [stdout] | [INFO] [stdout] 6 | let client = RisClient::new("ris-live.ripe.net".to_string(), "rust-risclient"); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] help: try using a conversion method [INFO] [stdout] | [INFO] [stdout] 6 | let client = RisClient::new("ris-live.ripe.net", "rust-risclient".to_string()); [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 - RisClient::stream_custom (line 138) stdout ---- [INFO] [stdout] error[E0599]: no method named `stream_custom` found for enum `Result` in the current scope [INFO] [stdout] --> src/lib.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 7 | let rx = client.stream_custom(Some("rrc16".to_string()), None, None, None); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Result>` [INFO] [stdout] | [INFO] [stdout] note: the method `stream_custom` exists on the type `RisClient` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | pub async fn stream_custom(&mut self, host: Option, data_type: Option, require: Option, path: Option>) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `RisClient` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 7 | let rx = client.expect("REASON").stream_custom(Some("rrc16".to_string()), None, None, None); [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 E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - RisClient::new (line 100) [INFO] [stdout] src/lib.rs - RisClient::stream (line 206) [INFO] [stdout] src/lib.rs - RisClient::stream_custom (line 138) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.51s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "b7349e5d9bd6d2516884a7d56c86ad8a97ad87ec80ddae831c74bdb94c672679", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7349e5d9bd6d2516884a7d56c86ad8a97ad87ec80ddae831c74bdb94c672679", kill_on_drop: false }` [INFO] [stdout] b7349e5d9bd6d2516884a7d56c86ad8a97ad87ec80ddae831c74bdb94c672679