[INFO] cloning repository https://github.com/wzhd/ustcp
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wzhd/ustcp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwzhd%2Fustcp", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwzhd%2Fustcp'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 65b5ac42483f805b20f640fc9cb98abec6fd167d
[INFO] testing wzhd/ustcp against try#0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 for pr-137122-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwzhd%2Fustcp" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/wzhd/ustcp
[INFO] finished tweaking git repo https://github.com/wzhd/ustcp
[INFO] tweaked toml for git repo https://github.com/wzhd/ustcp written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/wzhd/ustcp on toolchain 0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/wzhd/ustcp 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" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6fdf56b52ca869cc5d38044c1c89afb119c6090374e6369fa91e737680fbf9ca
[INFO] running `Command { std: "docker" "start" "-a" "6fdf56b52ca869cc5d38044c1c89afb119c6090374e6369fa91e737680fbf9ca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6fdf56b52ca869cc5d38044c1c89afb119c6090374e6369fa91e737680fbf9ca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6fdf56b52ca869cc5d38044c1c89afb119c6090374e6369fa91e737680fbf9ca", kill_on_drop: false }`
[INFO] [stdout] 6fdf56b52ca869cc5d38044c1c89afb119c6090374e6369fa91e737680fbf9ca
[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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 320b07579a944276b1d5989853d27cd7f1d2153632301db602510f6faaea495d
[INFO] running `Command { std: "docker" "start" "-a" "320b07579a944276b1d5989853d27cd7f1d2153632301db602510f6faaea495d", kill_on_drop: false }`
[INFO] [stderr] Compiling proc-macro2 v1.0.10
[INFO] [stderr] Compiling unicode-xid v0.2.0
[INFO] [stderr] Compiling syn v1.0.18
[INFO] [stderr] Compiling libc v0.2.84
[INFO] [stderr] Compiling cfg-if v0.1.10
[INFO] [stderr] Compiling memchr v2.3.3
[INFO] [stderr] Compiling log v0.4.8
[INFO] [stderr] Compiling autocfg v1.0.0
[INFO] [stderr] Compiling cc v1.0.52
[INFO] [stderr] Compiling futures-core v0.3.4
[INFO] [stderr] Compiling proc-macro-nested v0.1.4
[INFO] [stderr] Compiling tokio v1.1.0
[INFO] [stderr] Compiling futures-sink v0.3.4
[INFO] [stderr] Compiling proc-macro-hack v0.5.15
[INFO] [stderr] Compiling pin-project-lite v0.2.4
[INFO] [stderr] Compiling slab v0.4.2
[INFO] [stderr] Compiling bytes v1.0.1
[INFO] [stderr] Compiling once_cell v1.5.2
[INFO] [stderr] Compiling futures-channel v0.3.4
[INFO] [stderr] Compiling rustc-demangle v0.1.16
[INFO] [stderr] Compiling futures-io v0.3.4
[INFO] [stderr] Compiling num_cpus v1.13.0
[INFO] [stderr] Compiling quote v1.0.3
[INFO] [stderr] Compiling signal-hook-registry v1.3.0
[INFO] [stderr] Compiling mio v0.7.7
[INFO] [stderr] Compiling bitflags v1.2.1
[INFO] [stderr] Compiling backtrace-sys v0.1.36
[INFO] [stderr] Compiling futures-task v0.3.4
[INFO] [stderr] Compiling byteorder v1.3.4
[INFO] [stderr] Compiling pin-utils v0.1.0
[INFO] [stderr] Compiling doc-comment v0.3.3
[INFO] [stderr] Compiling lazy_static v1.4.0
[INFO] [stderr] Compiling ioctl-sys v0.5.2
[INFO] [stderr] Compiling tracing-core v0.1.10
[INFO] [stderr] Compiling managed v0.7.1
[INFO] [stderr] Compiling log v0.3.9
[INFO] [stderr] Compiling trilock v0.1.0 (https://github.com/wzhd/trilock.git#dc5b657f)
[INFO] [stderr] Compiling smoltcp v0.7.0 (https://github.com/wzhd/rstcp.git#4f8bb98c)
[INFO] [stderr] Compiling backtrace v0.3.46
[INFO] [stderr] Compiling error-chain v0.11.0
[INFO] [stderr] Compiling tun v0.4.4
[INFO] [stderr] Compiling tokio-macros v1.0.0
[INFO] [stderr] Compiling futures-macro v0.3.4
[INFO] [stderr] Compiling tracing-attributes v0.1.7
[INFO] [stderr] Compiling pin-project-internal v0.4.9
[INFO] [stderr] Compiling snafu-derive v0.6.6
[INFO] [stderr] Compiling futures-util v0.3.4
[INFO] [stderr] Compiling tracing v0.1.13
[INFO] [stderr] Compiling snafu v0.6.6
[INFO] [stderr] Compiling pin-project v0.4.9
[INFO] [stderr] Compiling tracing-futures v0.2.4
[INFO] [stderr] Compiling futures-executor v0.3.4
[INFO] [stderr] Compiling futures v0.3.4
[INFO] [stderr] Compiling tokio-stream v0.1.3
[INFO] [stderr] Compiling tokio-fd v0.3.0
[INFO] [stderr] Compiling tokio-util v0.6.3
[INFO] [stderr] Compiling ustunet v0.2.0 (/opt/rustwide/workdir/ustunet)
[INFO] [stdout] warning: unused output of future returned by `tokio::task::yield_now` that must be used
[INFO] [stdout] --> ustunet/src/dispatch/mod.rs:188:9
[INFO] [stdout] |
[INFO] [stdout] 188 | tokio::task::yield_now().await;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: yield_now does nothing unless polled/`await`-ed
[INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout] |
[INFO] [stdout] 188 | let _ = tokio::task::yield_now().await;
[INFO] [stdout] | +++++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing
[INFO] [stdout] --> ustunet/src/stream/internal.rs:198:18
[INFO] [stdout] |
[INFO] [stdout] 198 | let tcp = tcp.borrow();
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: the type `smoltcp::socket::TcpSocket<'_>` does not implement `Borrow`, so calling `borrow` on `&smoltcp::socket::TcpSocket<'_>` copies the reference, which does not do anything and can be removed
[INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout] |
[INFO] [stdout] 198 - let tcp = tcp.borrow();
[INFO] [stdout] 198 + let tcp = tcp;
[INFO] [stdout] |
[INFO] [stdout] help: if you meant to clone `smoltcp::socket::TcpSocket<'_>`, implement `Clone` for it
[INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rstcp-47d09303c34d0d4d/4f8bb98/src/socket/tcp.rs:281:1
[INFO] [stdout] |
[INFO] [stdout] 281 + #[derive(Clone)]
[INFO] [stdout] 282 | pub struct TcpSocket<'a> {
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout] --> ustunet/src/util.rs:71:26
[INFO] [stdout] |
[INFO] [stdout] 71 | pub(crate) fn select(&mut self) -> SelectorFuture {
[INFO] [stdout] | ^^^^^^^^^ -------------------------- the lifetime gets resolved as `'_`
[INFO] [stdout] | |
[INFO] [stdout] | this lifetime flows to the output
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout] |
[INFO] [stdout] 71 | pub(crate) fn select(&mut self) -> SelectorFuture<'_, A, B, C, D> {
[INFO] [stdout] | +++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.38s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: smoltcp v0.7.0 (https://github.com/wzhd/rstcp.git#4f8bb98c)
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "320b07579a944276b1d5989853d27cd7f1d2153632301db602510f6faaea495d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "320b07579a944276b1d5989853d27cd7f1d2153632301db602510f6faaea495d", kill_on_drop: false }`
[INFO] [stdout] 320b07579a944276b1d5989853d27cd7f1d2153632301db602510f6faaea495d
[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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 664bd98c9b46ea7049627af4291dffb6b8acd9c0f62c2de9d0efa405ad46165f
[INFO] running `Command { std: "docker" "start" "-a" "664bd98c9b46ea7049627af4291dffb6b8acd9c0f62c2de9d0efa405ad46165f", kill_on_drop: false }`
[INFO] [stderr] Compiling regex-syntax v0.6.17
[INFO] [stderr] Compiling num-traits v0.2.11
[INFO] [stderr] Compiling serde v1.0.106
[INFO] [stderr] Compiling aho-corasick v0.7.10
[INFO] [stderr] Compiling thread_local v1.0.1
[INFO] [stderr] Compiling num-integer v0.1.42
[INFO] [stderr] Compiling ryu v1.0.4
[INFO] [stderr] Compiling unicode-segmentation v1.6.0
[INFO] [stderr] Compiling quick-error v1.2.3
[INFO] [stderr] Compiling humantime v1.3.0
[INFO] [stderr] Compiling time v0.1.43
[INFO] [stderr] Compiling atty v0.2.14
[INFO] [stderr] Compiling argh_shared v0.1.1
[INFO] [stderr] Compiling termcolor v1.1.0
[INFO] [stderr] Compiling heck v0.3.1
[INFO] [stderr] Compiling itoa v0.4.5
[INFO] [stderr] Compiling tracing-log v0.1.1
[INFO] [stderr] Compiling argh_derive v0.1.1
[INFO] [stderr] Compiling sharded-slab v0.0.9
[INFO] [stderr] Compiling smallvec v1.4.0
[INFO] [stderr] Compiling ansi_term v0.11.0
[INFO] [stdout] warning: unused output of future returned by `tokio::task::yield_now` that must be used
[INFO] [stdout] --> ustunet/src/dispatch/mod.rs:188:9
[INFO] [stdout] |
[INFO] [stdout] 188 | tokio::task::yield_now().await;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: yield_now does nothing unless polled/`await`-ed
[INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout] |
[INFO] [stdout] 188 | let _ = tokio::task::yield_now().await;
[INFO] [stdout] | +++++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing
[INFO] [stdout] --> ustunet/src/stream/internal.rs:198:18
[INFO] [stdout] |
[INFO] [stdout] 198 | let tcp = tcp.borrow();
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: the type `smoltcp::socket::TcpSocket<'_>` does not implement `Borrow`, so calling `borrow` on `&smoltcp::socket::TcpSocket<'_>` copies the reference, which does not do anything and can be removed
[INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout] |
[INFO] [stdout] 198 - let tcp = tcp.borrow();
[INFO] [stdout] 198 + let tcp = tcp;
[INFO] [stdout] |
[INFO] [stdout] help: if you meant to clone `smoltcp::socket::TcpSocket<'_>`, implement `Clone` for it
[INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rstcp-47d09303c34d0d4d/4f8bb98/src/socket/tcp.rs:281:1
[INFO] [stdout] |
[INFO] [stdout] 281 + #[derive(Clone)]
[INFO] [stdout] 282 | pub struct TcpSocket<'a> {
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout] --> ustunet/src/util.rs:71:26
[INFO] [stdout] |
[INFO] [stdout] 71 | pub(crate) fn select(&mut self) -> SelectorFuture {
[INFO] [stdout] | ^^^^^^^^^ -------------------------- the lifetime gets resolved as `'_`
[INFO] [stdout] | |
[INFO] [stdout] | this lifetime flows to the output
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout] |
[INFO] [stdout] 71 | pub(crate) fn select(&mut self) -> SelectorFuture<'_, A, B, C, D> {
[INFO] [stdout] | +++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Compiling chrono v0.4.11
[INFO] [stderr] Compiling argh v0.1.3
[INFO] [stderr] Compiling regex v1.3.7
[INFO] [stderr] Compiling regex-automata v0.1.9
[INFO] [stderr] Compiling env_logger v0.7.1
[INFO] [stderr] Compiling matchers v0.0.1
[INFO] [stderr] Compiling pretty_env_logger v0.4.0
[INFO] [stderr] Compiling serde_json v1.0.52
[INFO] [stderr] Compiling tracing-serde v0.1.1
[INFO] [stderr] Compiling tracing-subscriber v0.2.5
[INFO] [stderr] Compiling ustunet v0.2.0 (/opt/rustwide/workdir/ustunet)
[INFO] [stdout] warning: unused output of future returned by `tokio::task::yield_now` that must be used
[INFO] [stdout] --> ustunet/src/dispatch/mod.rs:188:9
[INFO] [stdout] |
[INFO] [stdout] 188 | tokio::task::yield_now().await;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: yield_now does nothing unless polled/`await`-ed
[INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout] |
[INFO] [stdout] 188 | let _ = tokio::task::yield_now().await;
[INFO] [stdout] | +++++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing
[INFO] [stdout] --> ustunet/src/stream/internal.rs:198:18
[INFO] [stdout] |
[INFO] [stdout] 198 | let tcp = tcp.borrow();
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: the type `smoltcp::socket::TcpSocket<'_>` does not implement `Borrow`, so calling `borrow` on `&smoltcp::socket::TcpSocket<'_>` copies the reference, which does not do anything and can be removed
[INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout] |
[INFO] [stdout] 198 - let tcp = tcp.borrow();
[INFO] [stdout] 198 + let tcp = tcp;
[INFO] [stdout] |
[INFO] [stdout] help: if you meant to clone `smoltcp::socket::TcpSocket<'_>`, implement `Clone` for it
[INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rstcp-47d09303c34d0d4d/4f8bb98/src/socket/tcp.rs:281:1
[INFO] [stdout] |
[INFO] [stdout] 281 + #[derive(Clone)]
[INFO] [stdout] 282 | pub struct TcpSocket<'a> {
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout] --> ustunet/src/util.rs:71:26
[INFO] [stdout] |
[INFO] [stdout] 71 | pub(crate) fn select(&mut self) -> SelectorFuture {
[INFO] [stdout] | ^^^^^^^^^ -------------------------- the lifetime gets resolved as `'_`
[INFO] [stdout] | |
[INFO] [stdout] | this lifetime flows to the output
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout] |
[INFO] [stdout] 71 | pub(crate) fn select(&mut self) -> SelectorFuture<'_, A, B, C, D> {
[INFO] [stdout] | +++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 11.70s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: smoltcp v0.7.0 (https://github.com/wzhd/rstcp.git#4f8bb98c)
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "664bd98c9b46ea7049627af4291dffb6b8acd9c0f62c2de9d0efa405ad46165f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "664bd98c9b46ea7049627af4291dffb6b8acd9c0f62c2de9d0efa405ad46165f", kill_on_drop: false }`
[INFO] [stdout] 664bd98c9b46ea7049627af4291dffb6b8acd9c0f62c2de9d0efa405ad46165f
[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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 8c4c099679e2fefa89dd452a2670c4caae737a4ea972f57f6d2d03050a522ea1
[INFO] running `Command { std: "docker" "start" "-a" "8c4c099679e2fefa89dd452a2670c4caae737a4ea972f57f6d2d03050a522ea1", kill_on_drop: false }`
[INFO] [stderr] warning: unused output of future returned by `tokio::task::yield_now` that must be used
[INFO] [stderr] --> ustunet/src/dispatch/mod.rs:188:9
[INFO] [stderr] |
[INFO] [stderr] 188 | tokio::task::yield_now().await;
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: yield_now does nothing unless polled/`await`-ed
[INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr] |
[INFO] [stderr] 188 | let _ = tokio::task::yield_now().await;
[INFO] [stderr] | +++++++
[INFO] [stderr]
[INFO] [stderr] warning: call to `.borrow()` on a reference in this situation does nothing
[INFO] [stderr] --> ustunet/src/stream/internal.rs:198:18
[INFO] [stderr] |
[INFO] [stderr] 198 | let tcp = tcp.borrow();
[INFO] [stderr] | ^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: the type `smoltcp::socket::TcpSocket<'_>` does not implement `Borrow`, so calling `borrow` on `&smoltcp::socket::TcpSocket<'_>` copies the reference, which does not do anything and can be removed
[INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default
[INFO] [stderr] help: remove this redundant call
[INFO] [stderr] |
[INFO] [stderr] 198 - let tcp = tcp.borrow();
[INFO] [stderr] 198 + let tcp = tcp;
[INFO] [stderr] |
[INFO] [stderr] help: if you meant to clone `smoltcp::socket::TcpSocket<'_>`, implement `Clone` for it
[INFO] [stderr] --> /opt/rustwide/cargo-home/git/checkouts/rstcp-47d09303c34d0d4d/4f8bb98/src/socket/tcp.rs:281:1
[INFO] [stderr] |
[INFO] [stderr] 281 + #[derive(Clone)]
[INFO] [stderr] 282 | pub struct TcpSocket<'a> {
[INFO] [stderr] |
[INFO] [stderr]
[INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stderr] --> ustunet/src/util.rs:71:26
[INFO] [stderr] |
[INFO] [stderr] 71 | pub(crate) fn select(&mut self) -> SelectorFuture {
[INFO] [stderr] | ^^^^^^^^^ -------------------------- the lifetime gets resolved as `'_`
[INFO] [stderr] | |
[INFO] [stderr] | this lifetime flows to the output
[INFO] [stderr] |
[INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stderr] |
[INFO] [stderr] 71 | pub(crate) fn select(&mut self) -> SelectorFuture<'_, A, B, C, D> {
[INFO] [stderr] | +++
[INFO] [stderr]
[INFO] [stderr] warning: `ustunet` (lib) generated 3 warnings (run `cargo fix --lib -p ustunet` to apply 1 suggestion)
[INFO] [stderr] warning: `ustunet` (lib test) generated 3 warnings (3 duplicates)
[INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: smoltcp v0.7.0 (https://github.com/wzhd/rstcp.git#4f8bb98c)
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ustunet-9f32a54a8d58571c)
[INFO] [stdout]
[INFO] [stdout] running 3 tests
[INFO] [stdout] test stream::tests::t1 ... ok
[INFO] [stdout] test tests::it_works ... ok
[INFO] [stdout] test util::tests::testss ... ok
[INFO] [stdout]
[INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout]
[INFO] [stderr] Doc-tests ustunet
[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] running `Command { std: "docker" "inspect" "8c4c099679e2fefa89dd452a2670c4caae737a4ea972f57f6d2d03050a522ea1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8c4c099679e2fefa89dd452a2670c4caae737a4ea972f57f6d2d03050a522ea1", kill_on_drop: false }`
[INFO] [stdout] 8c4c099679e2fefa89dd452a2670c4caae737a4ea972f57f6d2d03050a522ea1