[INFO] fetching crate risclient 0.1.1... [INFO] testing risclient-0.1.1 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate risclient 0.1.1 into /workspace/builds/worker-5-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-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate risclient 0.1.1 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 13cccb735e7ef1fe4c64c8add2025a4be6b3befb5393ca1e3b5eed4af7825f72 [INFO] running `Command { std: "docker" "start" "-a" "13cccb735e7ef1fe4c64c8add2025a4be6b3befb5393ca1e3b5eed4af7825f72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "13cccb735e7ef1fe4c64c8add2025a4be6b3befb5393ca1e3b5eed4af7825f72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13cccb735e7ef1fe4c64c8add2025a4be6b3befb5393ca1e3b5eed4af7825f72", kill_on_drop: false }` [INFO] [stdout] 13cccb735e7ef1fe4c64c8add2025a4be6b3befb5393ca1e3b5eed4af7825f72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 242788608d682ae4f111a206080e748d945942bcba28d2cc9aecb357f8368a7e [INFO] running `Command { std: "docker" "start" "-a" "242788608d682ae4f111a206080e748d945942bcba28d2cc9aecb357f8368a7e", 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 autocfg v1.1.0 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling cc v1.0.73 [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 bytes v1.1.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling rand v0.8.5 [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 thiserror v1.0.30 [INFO] [stderr] Compiling tokio v1.17.0 [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 24.85s [INFO] running `Command { std: "docker" "inspect" "242788608d682ae4f111a206080e748d945942bcba28d2cc9aecb357f8368a7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "242788608d682ae4f111a206080e748d945942bcba28d2cc9aecb357f8368a7e", kill_on_drop: false }` [INFO] [stdout] 242788608d682ae4f111a206080e748d945942bcba28d2cc9aecb357f8368a7e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 52771b0fb57a8b0f7fb8d1b465f2fc21d1bc6bdcfdaaaccb452f0c0d6f2b20bf [INFO] running `Command { std: "docker" "start" "-a" "52771b0fb57a8b0f7fb8d1b465f2fc21d1bc6bdcfdaaaccb452f0c0d6f2b20bf", 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.85s [INFO] running `Command { std: "docker" "inspect" "52771b0fb57a8b0f7fb8d1b465f2fc21d1bc6bdcfdaaaccb452f0c0d6f2b20bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52771b0fb57a8b0f7fb8d1b465f2fc21d1bc6bdcfdaaaccb452f0c0d6f2b20bf", kill_on_drop: false }` [INFO] [stdout] 52771b0fb57a8b0f7fb8d1b465f2fc21d1bc6bdcfdaaaccb452f0c0d6f2b20bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 65c3337fe100b943a230dc2a13ff6282984304093a90341533b7d9fa42501bb9 [INFO] running `Command { std: "docker" "start" "-a" "65c3337fe100b943a230dc2a13ff6282984304093a90341533b7d9fa42501bb9", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/risclient-7e42e11c853fd9f1) [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-ccf4d6a81ce992eb) [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::new (line 100) ... FAILED [INFO] [stdout] test src/lib.rs - RisClient::stream_custom (line 138) ... 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::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] 103 | 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] --> 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] 103 | 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] 103 | 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] 142 | 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] --> 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] 142 | 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::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] 210 | 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] --> 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] 210 | 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.39s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "65c3337fe100b943a230dc2a13ff6282984304093a90341533b7d9fa42501bb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65c3337fe100b943a230dc2a13ff6282984304093a90341533b7d9fa42501bb9", kill_on_drop: false }` [INFO] [stdout] 65c3337fe100b943a230dc2a13ff6282984304093a90341533b7d9fa42501bb9