[INFO] fetching crate canary 0.2.4... [INFO] testing canary-0.2.4 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate canary 0.2.4 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate canary 0.2.4 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate canary 0.2.4 [INFO] finished tweaking crates.io crate canary 0.2.4 [INFO] tweaked toml for crates.io crate canary 0.2.4 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f72fed5aa9429a7b3fb3326d03d601c4ad2f67c6f9a8dd3969a6183e0e2d386f [INFO] running `Command { std: "docker" "start" "-a" "f72fed5aa9429a7b3fb3326d03d601c4ad2f67c6f9a8dd3969a6183e0e2d386f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f72fed5aa9429a7b3fb3326d03d601c4ad2f67c6f9a8dd3969a6183e0e2d386f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f72fed5aa9429a7b3fb3326d03d601c4ad2f67c6f9a8dd3969a6183e0e2d386f", kill_on_drop: false }` [INFO] [stdout] f72fed5aa9429a7b3fb3326d03d601c4ad2f67c6f9a8dd3969a6183e0e2d386f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0dab3b7645b41a09f8eb4ed76589853bc39acae0e517be15148089f023373f06 [INFO] running `Command { std: "docker" "start" "-a" "0dab3b7645b41a09f8eb4ed76589853bc39acae0e517be15148089f023373f06", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling httparse v1.7.0 [INFO] [stderr] Compiling heapless v0.7.10 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling postcard-cobs v0.1.5-pre [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling tracing-core v0.1.25 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling aead v0.4.3 [INFO] [stderr] Compiling spin v0.9.2 [INFO] [stderr] Compiling snow v0.9.0 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling ctr v0.8.0 [INFO] [stderr] Compiling chacha20 v0.8.1 [INFO] [stderr] Compiling hash32 v0.2.1 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling polyval v0.5.3 [INFO] [stderr] Compiling poly1305 v0.7.2 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling blake2 v0.10.4 [INFO] [stderr] Compiling ghash v0.4.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling curve25519-dalek v4.0.0-pre.2 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling aes-gcm v0.9.4 [INFO] [stderr] Compiling chacha20poly1305 v0.9.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling serde_repr v0.1.7 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling tracing v0.1.33 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tungstenite v0.17.2 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling async-tungstenite v0.17.2 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling compact_str v0.3.2 [INFO] [stderr] Compiling postcard v0.7.3 [INFO] [stderr] Compiling bson v2.1.0 [INFO] [stderr] Compiling canary v0.2.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 17.85s [INFO] running `Command { std: "docker" "inspect" "0dab3b7645b41a09f8eb4ed76589853bc39acae0e517be15148089f023373f06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0dab3b7645b41a09f8eb4ed76589853bc39acae0e517be15148089f023373f06", kill_on_drop: false }` [INFO] [stdout] 0dab3b7645b41a09f8eb4ed76589853bc39acae0e517be15148089f023373f06 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9915748566cf93ac550ca4fb3a369d5c3da628c7865df441ad9860808bdfd23b [INFO] running `Command { std: "docker" "start" "-a" "9915748566cf93ac550ca4fb3a369d5c3da628c7865df441ad9860808bdfd23b", kill_on_drop: false }` [INFO] [stderr] Compiling canary v0.2.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.48s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/canary-28735475d63b708d) [INFO] running `Command { std: "docker" "inspect" "9915748566cf93ac550ca4fb3a369d5c3da628c7865df441ad9860808bdfd23b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9915748566cf93ac550ca4fb3a369d5c3da628c7865df441ad9860808bdfd23b", kill_on_drop: false }` [INFO] [stdout] 9915748566cf93ac550ca4fb3a369d5c3da628c7865df441ad9860808bdfd23b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cc869ddbeb08306e206a1674698f99948a7a139296c66a34ddbc839e56c1af49 [INFO] running `Command { std: "docker" "start" "-a" "cc869ddbeb08306e206a1674698f99948a7a139296c66a34ddbc839e56c1af49", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/canary-28735475d63b708d) [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 canary [INFO] [stderr] warning: unknown attribute `norun`. Did you mean `no_run`? [INFO] [stderr] --> /opt/rustwide/workdir/src/async_snow.rs:144:5 [INFO] [stderr] | [INFO] [stderr] 144 | / /// receive message from stream [INFO] [stderr] 145 | | /// ```norun [INFO] [stderr] 146 | | /// async fn service(mut peer: Snow) -> Result<()> { [INFO] [stderr] 147 | | /// let num: u64 = peer.rx().await?; [INFO] [stderr] 148 | | /// Ok(()) [INFO] [stderr] 149 | | /// } [INFO] [stderr] 150 | | /// ``` [INFO] [stderr] | |___________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(rustdoc::invalid_codeblock_attributes)]` on by default [INFO] [stderr] = help: the code block will either not be tested if not marked as a rust one or will be run (which you might not want) [INFO] [stderr] [INFO] [stderr] warning: unknown attribute `norun`. Did you mean `no_run`? [INFO] [stderr] --> /opt/rustwide/workdir/src/async_snow.rs:171:5 [INFO] [stderr] | [INFO] [stderr] 171 | / /// send message to stream [INFO] [stderr] 172 | | /// ```norun [INFO] [stderr] 173 | | /// async fn service(mut peer: Snow) -> Result<()> { [INFO] [stderr] 174 | | /// peer.tx(123).await?; [INFO] [stderr] 175 | | /// Ok(()) [INFO] [stderr] 176 | | /// } [INFO] [stderr] 177 | | /// ``` [INFO] [stderr] | |___________^ [INFO] [stderr] | [INFO] [stderr] = help: the code block will either not be tested if not marked as a rust one or will be run (which you might not want) [INFO] [stderr] [INFO] [stderr] warning: unknown attribute `norun`. Did you mean `no_run`? [INFO] [stderr] --> /opt/rustwide/workdir/src/async_snow.rs:281:5 [INFO] [stderr] | [INFO] [stderr] 281 | / /// receive message from stream [INFO] [stderr] 282 | | /// ```norun [INFO] [stderr] 283 | | /// async fn service(mut peer: Snow) -> Result<()> { [INFO] [stderr] 284 | | /// let num: u64 = peer.rx().await?; [INFO] [stderr] 285 | | /// Ok(()) [INFO] [stderr] 286 | | /// } [INFO] [stderr] 287 | | /// ``` [INFO] [stderr] | |___________^ [INFO] [stderr] | [INFO] [stderr] = help: the code block will either not be tested if not marked as a rust one or will be run (which you might not want) [INFO] [stderr] [INFO] [stderr] warning: unknown attribute `norun`. Did you mean `no_run`? [INFO] [stderr] --> /opt/rustwide/workdir/src/async_snow.rs:305:5 [INFO] [stderr] | [INFO] [stderr] 305 | / /// send message to stream [INFO] [stderr] 306 | | /// ```norun [INFO] [stderr] 307 | | /// async fn service(mut peer: Snow) -> Result<()> { [INFO] [stderr] 308 | | /// peer.tx(123).await?; [INFO] [stderr] 309 | | /// Ok(()) [INFO] [stderr] 310 | | /// } [INFO] [stderr] 311 | | /// ``` [INFO] [stderr] | |___________^ [INFO] [stderr] | [INFO] [stderr] = help: the code block will either not be tested if not marked as a rust one or will be run (which you might not want) [INFO] [stderr] [INFO] [stderr] warning: unknown attribute `norun`. Did you mean `no_run`? [INFO] [stderr] --> /opt/rustwide/workdir/src/channel.rs:40:1 [INFO] [stderr] | [INFO] [stderr] 40 | / /// `Channel` abstracts network communications as object streams. [INFO] [stderr] 41 | | /// [INFO] [stderr] 42 | | /// ```norun [INFO] [stderr] 43 | | /// async fn send_random(mut chan: Channel) -> Result<()> { [INFO] [stderr] ... | [INFO] [stderr] 46 | | /// } [INFO] [stderr] 47 | | /// ``` [INFO] [stderr] | |_______^ [INFO] [stderr] | [INFO] [stderr] = help: the code block will either not be tested if not marked as a rust one or will be run (which you might not want) [INFO] [stderr] [INFO] [stderr] warning: unknown attribute `norun`. Did you mean `no_run`? [INFO] [stderr] --> /opt/rustwide/workdir/src/channel.rs:161:5 [INFO] [stderr] | [INFO] [stderr] 161 | / /// send message to stream [INFO] [stderr] 162 | | /// ```norun [INFO] [stderr] 163 | | /// async fn service(mut peer: Channel) -> Result<()> { [INFO] [stderr] 164 | | /// peer.send(123).await?; [INFO] [stderr] 165 | | /// Ok(()) [INFO] [stderr] 166 | | /// } [INFO] [stderr] 167 | | /// ``` [INFO] [stderr] | |___________^ [INFO] [stderr] | [INFO] [stderr] = help: the code block will either not be tested if not marked as a rust one or will be run (which you might not want) [INFO] [stderr] [INFO] [stderr] warning: unknown attribute `norun`. Did you mean `no_run`? [INFO] [stderr] --> /opt/rustwide/workdir/src/channel.rs:190:5 [INFO] [stderr] | [INFO] [stderr] 190 | / /// alias to the `.send` method [INFO] [stderr] 191 | | /// ```norun [INFO] [stderr] 192 | | /// async fn service(mut peer: Channel) -> Result<()> { [INFO] [stderr] 193 | | /// peer.tx(123).await?; [INFO] [stderr] 194 | | /// Ok(()) [INFO] [stderr] 195 | | /// } [INFO] [stderr] 196 | | /// ``` [INFO] [stderr] | |___________^ [INFO] [stderr] | [INFO] [stderr] = help: the code block will either not be tested if not marked as a rust one or will be run (which you might not want) [INFO] [stderr] [INFO] [stderr] warning: unknown attribute `norun`. Did you mean `no_run`? [INFO] [stderr] --> /opt/rustwide/workdir/src/channel.rs:200:5 [INFO] [stderr] | [INFO] [stderr] 200 | / /// receive message from stream [INFO] [stderr] 201 | | /// ```norun [INFO] [stderr] 202 | | /// async fn service(mut peer: Channel) -> Result<()> { [INFO] [stderr] 203 | | /// let num: u64 = peer.receive().await?; [INFO] [stderr] 204 | | /// Ok(()) [INFO] [stderr] 205 | | /// } [INFO] [stderr] 206 | | /// ``` [INFO] [stderr] | |___________^ [INFO] [stderr] | [INFO] [stderr] = help: the code block will either not be tested if not marked as a rust one or will be run (which you might not want) [INFO] [stderr] [INFO] [stderr] warning: unknown attribute `norun`. Did you mean `no_run`? [INFO] [stderr] --> /opt/rustwide/workdir/src/channel.rs:229:5 [INFO] [stderr] | [INFO] [stderr] 229 | / /// alias of the `.receive` method. [INFO] [stderr] 230 | | /// Receive message from stream [INFO] [stderr] 231 | | /// ```norun [INFO] [stderr] 232 | | /// async fn service(mut peer: Channel) -> Result<()> { [INFO] [stderr] ... | [INFO] [stderr] 235 | | /// } [INFO] [stderr] 236 | | /// ``` [INFO] [stderr] | |___________^ [INFO] [stderr] | [INFO] [stderr] = help: the code block will either not be tested if not marked as a rust one or will be run (which you might not want) [INFO] [stderr] [INFO] [stderr] warning: unknown attribute `norun`. Did you mean `no_run`? [INFO] [stderr] --> /opt/rustwide/workdir/src/channel.rs:300:5 [INFO] [stderr] | [INFO] [stderr] 300 | / /// encrypt the channel [INFO] [stderr] 301 | | /// ```norun [INFO] [stderr] 302 | | /// while let Ok(chan) = provider.next().await { [INFO] [stderr] 303 | | /// let mut chan = chan.encrypted().await?; [INFO] [stderr] 304 | | /// chan.send("hello!").await?; [INFO] [stderr] 305 | | /// } [INFO] [stderr] 306 | | /// ``` [INFO] [stderr] | |___________^ [INFO] [stderr] | [INFO] [stderr] = help: the code block will either not be tested if not marked as a rust one or will be run (which you might not want) [INFO] [stderr] [INFO] [stderr] warning: unknown attribute `norun`. Did you mean `no_run`? [INFO] [stderr] --> /opt/rustwide/workdir/src/channel.rs:320:5 [INFO] [stderr] | [INFO] [stderr] 320 | / /// get an unencrypted channel [INFO] [stderr] 321 | | /// ```norun [INFO] [stderr] 322 | | /// while let Ok(chan) = provider.next().await { [INFO] [stderr] 323 | | /// let mut chan = chan.raw(); [INFO] [stderr] 324 | | /// chan.send("hello!").await?; [INFO] [stderr] 325 | | /// } [INFO] [stderr] 326 | | /// ``` [INFO] [stderr] | |___________^ [INFO] [stderr] | [INFO] [stderr] = help: the code block will either not be tested if not marked as a rust one or will be run (which you might not want) [INFO] [stderr] [INFO] [stderr] warning: unknown attribute `norun`. Did you mean `no_run`? [INFO] [stderr] --> /opt/rustwide/workdir/src/providers/addr.rs:28:1 [INFO] [stderr] | [INFO] [stderr] 28 | / /// Represents the address of a provider. [INFO] [stderr] 29 | | /// ```norun [INFO] [stderr] 30 | | /// let tcp = "tcp@127.0.0.1:8080".parse::()?; [INFO] [stderr] 31 | | /// let unix = "unix@mysocket.sock".parse::()?; [INFO] [stderr] ... | [INFO] [stderr] 38 | | /// insecure_unix.bind().await?; [INFO] [stderr] 39 | | /// ``` [INFO] [stderr] | |_______^ [INFO] [stderr] | [INFO] [stderr] = help: the code block will either not be tested if not marked as a rust one or will be run (which you might not want) [INFO] [stderr] [INFO] [stderr] warning: unknown attribute `norun`. Did you mean `no_run`? [INFO] [stderr] --> /opt/rustwide/workdir/src/providers/any.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 39 | / /// get the next handshake [INFO] [stderr] 40 | | /// [INFO] [stderr] 41 | | /// CANCEL SAFETY: this method is cancel-safe, feel free to use it in select statements. [INFO] [stderr] 42 | | /// ```norun [INFO] [stderr] ... | [INFO] [stderr] 46 | | /// } [INFO] [stderr] 47 | | /// ``` [INFO] [stderr] | |___________^ [INFO] [stderr] | [INFO] [stderr] = help: the code block will either not be tested if not marked as a rust one or will be run (which you might not want) [INFO] [stderr] [INFO] [stderr] warning: unknown attribute `norun`. Did you mean `no_run`? [INFO] [stderr] --> /opt/rustwide/workdir/src/providers/any.rs:79:5 [INFO] [stderr] | [INFO] [stderr] 79 | / /// get the next channel [INFO] [stderr] 80 | | /// ! NOTE: You should only use this method as the example shows, since [INFO] [stderr] 81 | | /// it uses internal future tooling to avoid using another runtime. [INFO] [stderr] 82 | | /// ```norun [INFO] [stderr] ... | [INFO] [stderr] 86 | | /// } [INFO] [stderr] 87 | | /// ``` [INFO] [stderr] | |___________^ [INFO] [stderr] | [INFO] [stderr] = help: the code block will either not be tested if not marked as a rust one or will be run (which you might not want) [INFO] [stderr] [INFO] [stderr] warning: unknown attribute `norun`. Did you mean `no_run`? [INFO] [stderr] --> /opt/rustwide/workdir/src/providers/tcp.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | / /// Get the next channel [INFO] [stderr] 27 | | /// ```norun [INFO] [stderr] 28 | | /// while let Ok(chan) = tcp.next().await { [INFO] [stderr] 29 | | /// let mut chan = chan.encrypted().await?; [INFO] [stderr] 30 | | /// chan.send("hello!").await?; [INFO] [stderr] 31 | | /// } [INFO] [stderr] 32 | | /// ``` [INFO] [stderr] | |___________^ [INFO] [stderr] | [INFO] [stderr] = help: the code block will either not be tested if not marked as a rust one or will be run (which you might not want) [INFO] [stderr] [INFO] [stderr] warning: unknown attribute `norun`. Did you mean `no_run`? [INFO] [stderr] --> /opt/rustwide/workdir/src/providers/unix.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | / /// get the next channel [INFO] [stderr] 29 | | /// ```norun [INFO] [stderr] 30 | | /// while let Ok(chan) = unix.next().await { [INFO] [stderr] 31 | | /// let mut chan = chan.encrypted().await?; [INFO] [stderr] 32 | | /// chan.send("hello!").await?; [INFO] [stderr] 33 | | /// } [INFO] [stderr] 34 | | /// ``` [INFO] [stderr] | |___________^ [INFO] [stderr] | [INFO] [stderr] = help: the code block will either not be tested if not marked as a rust one or will be run (which you might not want) [INFO] [stderr] [INFO] [stderr] warning: unknown attribute `norun`. Did you mean `no_run`? [INFO] [stderr] --> /opt/rustwide/workdir/src/providers/wss.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 33 | / /// get the next channel [INFO] [stderr] 34 | | /// ```norun [INFO] [stderr] 35 | | /// while let Ok(chan) = wss.next().await { [INFO] [stderr] 36 | | /// let mut chan = chan.encrypted().await?; [INFO] [stderr] 37 | | /// chan.send("hello!").await?; [INFO] [stderr] 38 | | /// } [INFO] [stderr] 39 | | /// ``` [INFO] [stderr] | |___________^ [INFO] [stderr] | [INFO] [stderr] = help: the code block will either not be tested if not marked as a rust one or will be run (which you might not want) [INFO] [stderr] [INFO] [stderr] warning: unknown attribute `norun`. Did you mean `no_run`? [INFO] [stderr] --> /opt/rustwide/workdir/src/serialization/formats.rs:103:1 [INFO] [stderr] | [INFO] [stderr] 103 | / /// combinator that allows input from any two formats: [INFO] [stderr] 104 | | /// ```norun [INFO] [stderr] 105 | | /// type BincodeOrJson = Any [INFO] [stderr] 106 | | /// ``` [INFO] [stderr] | |_______^ [INFO] [stderr] | [INFO] [stderr] = help: the code block will either not be tested if not marked as a rust one or will be run (which you might not want) [INFO] [stderr] [INFO] [stderr] warning: unknown attribute `norun`. Did you mean `no_run`? [INFO] [stderr] --> /opt/rustwide/workdir/src/serialization/mod.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 2 | | /// contains serialization formats [INFO] [stderr] | |___________________________________________________________^ [INFO] [stderr] 3 | pub mod formats; [INFO] [stderr] 4 | / /// contains zero-cost stream operations and more [INFO] [stderr] | [INFO] [stderr] = help: the code block will either not be tested if not marked as a rust one or will be run (which you might not want) [INFO] [stderr] [INFO] [stderr] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/err.rs - err::err (line 2) ... FAILED [INFO] [stdout] test src/type_iter.rs - type_iter::pipeline (line 75) - compile ... FAILED [INFO] [stdout] test src/type_iter.rs - type_iter::rx (line 59) - compile ... FAILED [INFO] [stdout] test src/type_iter.rs - type_iter::tx (line 46) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/err.rs - err::err (line 2) stdout ---- [INFO] [stdout] error: cannot find macro `err` in this scope [INFO] [stdout] --> src/err.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | let error: std::io::Error = err!(other, "another error"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] canary::err [INFO] [stdout] [INFO] [stdout] error: cannot find macro `err` in this scope [INFO] [stdout] --> src/err.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | let other: std::io::Error = err!("another unspecified error, will be categorized as `Other`"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] canary::err [INFO] [stdout] [INFO] [stdout] error: cannot find macro `err` in this scope [INFO] [stdout] --> src/err.rs:5:42 [INFO] [stdout] | [INFO] [stdout] 5 | let result: Result<(), std::io::Error> = err!(("this error will be encapsulated under an Err()")); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] canary::err [INFO] [stdout] [INFO] [stdout] error: cannot find macro `err` in this scope [INFO] [stdout] --> src/err.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | err!(("you died in the process"))? // this will return early [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] canary::err [INFO] [stdout] [INFO] [stdout] error: cannot find macro `err` in this scope [INFO] [stdout] --> src/err.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | err!((permission_denied, "you are not the chosen one"))? [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] canary::err [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `random` in this scope [INFO] [stdout] --> src/err.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | if random() { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use rand::random; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `chosen` in this scope [INFO] [stdout] --> src/err.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | } else if !chosen() { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0107]: this enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/err.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | fn chosen_one(ty: T) -> Result { [INFO] [stdout] | ^^^^^^ - supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 6 | fn chosen_one(ty: T) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/type_iter.rs - type_iter::pipeline (line 75) stdout ---- [INFO] [stdout] error: cannot find macro `pipeline` in this scope [INFO] [stdout] --> src/type_iter.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 3 | pipeline! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] canary::pipeline [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/type_iter.rs - type_iter::rx (line 59) stdout ---- [INFO] [stdout] error: cannot find macro `rx` in this scope [INFO] [stdout] --> src/type_iter.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 3 | rx!(res, pipe); // this is equivalent to this [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] canary::rx [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `pipe` in this scope [INFO] [stdout] --> src/type_iter.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 4 | let (res, pipe) = pipe.rx().await?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/type_iter.rs:61:28 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_type_iter_rs_59_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] 3 | rx!(res, pipe); // this is equivalent to this [INFO] [stdout] 4 | let (res, pipe) = pipe.rx().await?; [INFO] [stdout] | ^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/type_iter.rs:61:34 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_type_iter_rs_59_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 3 | | rx!(res, pipe); // this is equivalent to this [INFO] [stdout] 4 | | let (res, pipe) = pipe.rx().await?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 5 | | } _doctest_main_src_type_iter_rs_59_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/type_iter.rs - type_iter::tx (line 46) stdout ---- [INFO] [stdout] error: cannot find macro `tx` in this scope [INFO] [stdout] --> src/type_iter.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 3 | tx!(pipe, 2); // this is equivalent to this [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] canary::tx [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `pipe` in this scope [INFO] [stdout] --> src/type_iter.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 4 | let pipe = pipe.tx(2).await?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/type_iter.rs:48:22 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_type_iter_rs_46_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] 3 | tx!(pipe, 2); // this is equivalent to this [INFO] [stdout] 4 | let pipe = pipe.tx(2).await?; [INFO] [stdout] | ^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/type_iter.rs:48:28 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_type_iter_rs_46_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 3 | | tx!(pipe, 2); // this is equivalent to this [INFO] [stdout] 4 | | let pipe = pipe.tx(2).await?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 5 | | } _doctest_main_src_type_iter_rs_46_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/err.rs - err::err (line 2) [INFO] [stdout] src/type_iter.rs - type_iter::pipeline (line 75) [INFO] [stdout] src/type_iter.rs - type_iter::rx (line 59) [INFO] [stdout] src/type_iter.rs - type_iter::tx (line 46) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.17s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "cc869ddbeb08306e206a1674698f99948a7a139296c66a34ddbc839e56c1af49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc869ddbeb08306e206a1674698f99948a7a139296c66a34ddbc839e56c1af49", kill_on_drop: false }` [INFO] [stdout] cc869ddbeb08306e206a1674698f99948a7a139296c66a34ddbc839e56c1af49