[INFO] fetching crate risclient 0.1.1... [INFO] testing risclient-0.1.1 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate risclient 0.1.1 into /workspace/builds/worker-1-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate risclient 0.1.1 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded security-framework-sys v2.6.1 [INFO] [stderr] Downloaded httparse v1.6.0 [INFO] [stderr] Downloaded tungstenite v0.17.2 [INFO] [stderr] Downloaded pkg-config v0.3.25 [INFO] [stderr] Downloaded crypto-common v0.1.3 [INFO] [stderr] Downloaded fastrand v1.7.0 [INFO] [stderr] Downloaded tokio-stream v0.1.8 [INFO] [stderr] Downloaded futures-macro v0.3.21 [INFO] [stderr] Downloaded pin-project-lite v0.2.8 [INFO] [stderr] Downloaded mio v0.8.2 [INFO] [stderr] Downloaded http v0.2.6 [INFO] [stderr] Downloaded native-tls v0.2.10 [INFO] [stderr] Downloaded quote v1.0.17 [INFO] [stderr] Downloaded tokio-tungstenite v0.17.1 [INFO] [stderr] Downloaded ntapi v0.3.7 [INFO] [stderr] Downloaded getrandom v0.2.6 [INFO] [stderr] Downloaded security-framework v2.6.1 [INFO] [stderr] Downloaded syn v1.0.90 [INFO] [stderr] Downloaded libc v0.2.121 [INFO] [stderr] Downloaded tokio v1.17.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a63d3c21742f64cfd649fc1c2daee5b0eaf8c2d857d4f11ebd44d6e0955a3cb [INFO] running `Command { std: "docker" "start" "-a" "9a63d3c21742f64cfd649fc1c2daee5b0eaf8c2d857d4f11ebd44d6e0955a3cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a63d3c21742f64cfd649fc1c2daee5b0eaf8c2d857d4f11ebd44d6e0955a3cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a63d3c21742f64cfd649fc1c2daee5b0eaf8c2d857d4f11ebd44d6e0955a3cb", kill_on_drop: false }` [INFO] [stdout] 9a63d3c21742f64cfd649fc1c2daee5b0eaf8c2d857d4f11ebd44d6e0955a3cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3bb1999b035d2102e01214b28fa3b536b5318a6467f23cb0ae26def79b1ce2c8 [INFO] running `Command { std: "docker" "start" "-a" "3bb1999b035d2102e01214b28fa3b536b5318a6467f23cb0ae26def79b1ce2c8", 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 pkg-config v0.3.25 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling typenum v1.15.0 [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 bytes v1.1.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling idna v0.2.3 [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 23.51s [INFO] running `Command { std: "docker" "inspect" "3bb1999b035d2102e01214b28fa3b536b5318a6467f23cb0ae26def79b1ce2c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bb1999b035d2102e01214b28fa3b536b5318a6467f23cb0ae26def79b1ce2c8", kill_on_drop: false }` [INFO] [stdout] 3bb1999b035d2102e01214b28fa3b536b5318a6467f23cb0ae26def79b1ce2c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1690e24771a99bb78ae8716f8772644873182fedf8ba24d744372da054ef860f [INFO] running `Command { std: "docker" "start" "-a" "1690e24771a99bb78ae8716f8772644873182fedf8ba24d744372da054ef860f", 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.56s [INFO] running `Command { std: "docker" "inspect" "1690e24771a99bb78ae8716f8772644873182fedf8ba24d744372da054ef860f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1690e24771a99bb78ae8716f8772644873182fedf8ba24d744372da054ef860f", kill_on_drop: false }` [INFO] [stdout] 1690e24771a99bb78ae8716f8772644873182fedf8ba24d744372da054ef860f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9cce596e454839b78524689fbd18ec907885e3c0b21e2c55c58efc714a535841 [INFO] running `Command { std: "docker" "start" "-a" "9cce596e454839b78524689fbd18ec907885e3c0b21e2c55c58efc714a535841", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/risclient-6ad85a7052e31f21) [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] Running unittests src/ristest.rs (/opt/rustwide/target/debug/deps/ristest-3a7485fa90ca049a) [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 risclient [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - RisClient::stream_custom (line 138) ... FAILED [INFO] [stdout] test src/lib.rs - RisClient::new (line 100) ... FAILED [INFO] [stdout] test src/lib.rs - RisClient::stream (line 206) ... 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_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] ---- 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 (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] [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.18s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "9cce596e454839b78524689fbd18ec907885e3c0b21e2c55c58efc714a535841", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cce596e454839b78524689fbd18ec907885e3c0b21e2c55c58efc714a535841", kill_on_drop: false }` [INFO] [stdout] 9cce596e454839b78524689fbd18ec907885e3c0b21e2c55c58efc714a535841