[INFO] cloning repository https://github.com/wzhd/ustcp [INFO] running `"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"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwzhd%2Fustcp'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 65b5ac42483f805b20f640fc9cb98abec6fd167d [INFO] testing wzhd/ustcp against 1.101.0-beta.1+cargoflags=--release for beta-release-1.101-3 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwzhd%2Fustcp" "/workspace/builds/worker-3-tc2/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-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-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/wzhd/ustcp on toolchain 1.101.0-beta.1 [INFO] running `"cargo" "+1.101.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"` [INFO] crate git repo https://github.com/wzhd/ustcp already has a lockfile, it will not be regenerated [INFO] running `"cargo" "+1.101.0-beta.1" "fetch" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"` [INFO] [stdout] 680e0ca3d6890dbbd3da53980e9c9aaf4840eff6033d929b444e4ea4994f41fc [INFO] running `"docker" "start" "680e0ca3d6890dbbd3da53980e9c9aaf4840eff6033d929b444e4ea4994f41fc"` [INFO] running `"docker" "inspect" "680e0ca3d6890dbbd3da53980e9c9aaf4840eff6033d929b444e4ea4994f41fc"` [INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "680e0ca3d6890dbbd3da53980e9c9aaf4840eff6033d929b444e4ea4994f41fc" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "metadata" "--no-deps" "--format-version=1"` [INFO] running `"docker" "inspect" "680e0ca3d6890dbbd3da53980e9c9aaf4840eff6033d929b444e4ea4994f41fc"` [INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "680e0ca3d6890dbbd3da53980e9c9aaf4840eff6033d929b444e4ea4994f41fc" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "build" "--frozen" "--message-format=json" "--release"` [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 log v0.4.8 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling futures-core v0.3.4 [INFO] [stderr] Compiling cc v1.0.52 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling futures-sink v0.3.4 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling pin-project-lite v0.2.4 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.4 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling futures-task v0.3.4 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling tracing-core v0.1.10 [INFO] [stderr] Compiling managed v0.7.1 [INFO] [stderr] Compiling tokio v1.1.0 [INFO] [stderr] Compiling ioctl-sys v0.5.2 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling trilock v0.1.0 (https://github.com/wzhd/trilock.git#dc5b657f) [INFO] [stderr] Compiling backtrace-sys v0.1.36 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling mio v0.7.7 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [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 pin-project-internal v0.4.9 [INFO] [stderr] Compiling tracing-attributes v0.1.7 [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-util v0.6.3 [INFO] [stderr] Compiling tokio-stream v0.1.3 [INFO] [stderr] Compiling tokio-fd v0.3.0 [INFO] [stderr] Compiling ustunet v0.2.0 (/opt/rustwide/workdir/ustunet) [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> ustunet/src/stream/internal.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | error!("Dispatched empty tcp packet.") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `error` [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_non_local_macros)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if you wish to disregard this recommendation, use `let _ = ...` to ignore the 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> ustunet/src/util.rs:71:26 [INFO] [stdout] | [INFO] [stdout] 71 | pub(crate) fn select(&mut self) -> SelectorFuture { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type 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] warning: unused dependency `tracing-futures` [INFO] [stderr] --> ustunet/Cargo.toml:17:1 [INFO] [stderr] | [INFO] [stderr] 17 | tracing-futures = "0.2.4" [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `tracing-futures` [INFO] [stderr] warning: `ustunet` (manifest) generated 1 warning [INFO] [stderr] Finished `release` profile [optimized + debuginfo] target(s) in 30.74s [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 `"docker" "inspect" "680e0ca3d6890dbbd3da53980e9c9aaf4840eff6033d929b444e4ea4994f41fc"` [INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "680e0ca3d6890dbbd3da53980e9c9aaf4840eff6033d929b444e4ea4994f41fc" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release"` [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 num-integer v0.1.42 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling argh_shared v0.1.1 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling tracing-log v0.1.1 [INFO] [stderr] Compiling sharded-slab v0.0.9 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling smallvec v1.4.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> ustunet/src/stream/internal.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | error!("Dispatched empty tcp packet.") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `error` [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_non_local_macros)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if you wish to disregard this recommendation, use `let _ = ...` to ignore the 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> ustunet/src/util.rs:71:26 [INFO] [stdout] | [INFO] [stdout] 71 | pub(crate) fn select(&mut self) -> SelectorFuture { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type 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 heck v0.3.1 [INFO] [stderr] Compiling argh_derive v0.1.1 [INFO] [stderr] Compiling argh v0.1.3 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.52 [INFO] [stderr] Compiling tracing-serde v0.1.1 [INFO] [stderr] Compiling pretty_env_logger v0.4.0 [INFO] [stderr] Compiling tracing-subscriber v0.2.5 [INFO] [stderr] Compiling ustunet v0.2.0 (/opt/rustwide/workdir/ustunet) [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> ustunet/examples/rend_.rs:39:31 [INFO] [stdout] | [INFO] [stdout] 39 | Ok((s, r)) => info!("Received {} bytes, sent {}", r, s), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_non_local_macros)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `info` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> ustunet/examples/rend_.rs:40:31 [INFO] [stdout] | [INFO] [stdout] 40 | Err(error) => error!("Error while copying: {:?}", error), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> ustunet/examples/rendezvous.rs:37:31 [INFO] [stdout] | [INFO] [stdout] 37 | Ok((s, r)) => info!("Received {} bytes, sent {}", r, s), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_non_local_macros)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `info` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> ustunet/examples/rendezvous.rs:38:31 [INFO] [stdout] | [INFO] [stdout] 38 | Err(error) => error!("Error while copying: {:?}", error), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> ustunet/src/stream/internal.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | error!("Dispatched empty tcp packet.") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `error` [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_non_local_macros)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if you wish to disregard this recommendation, use `let _ = ...` to ignore the 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> ustunet/src/util.rs:71:26 [INFO] [stdout] | [INFO] [stdout] 71 | pub(crate) fn select(&mut self) -> SelectorFuture { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type 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] warning: unused dependency `tracing-futures` [INFO] [stderr] --> ustunet/Cargo.toml:17:1 [INFO] [stderr] | [INFO] [stderr] 17 | tracing-futures = "0.2.4" [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `tracing-futures` [INFO] [stderr] warning: `ustunet` (manifest) generated 1 warning [INFO] [stderr] Finished `release` profile [optimized + debuginfo] target(s) in 32.13s [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 `"docker" "inspect" "680e0ca3d6890dbbd3da53980e9c9aaf4840eff6033d929b444e4ea4994f41fc"` [INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "680e0ca3d6890dbbd3da53980e9c9aaf4840eff6033d929b444e4ea4994f41fc" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--release"` [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> ustunet/src/stream/internal.rs:102:17 [INFO] [stderr] | [INFO] [stderr] 102 | error!("Dispatched empty tcp packet.") [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: macro invocations at the end of a block are treated as expressions [INFO] [stderr] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `error` [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: `#[warn(semicolon_in_expressions_from_non_local_macros)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stderr] = note: this warning originates in the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: if you wish to disregard this recommendation, use `let _ = ...` to ignore the 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> ustunet/src/util.rs:71:26 [INFO] [stderr] | [INFO] [stderr] 71 | pub(crate) fn select(&mut self) -> SelectorFuture { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type 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 4 warnings (run `cargo fix --lib -p ustunet` to apply 2 suggestions) [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> ustunet/examples/rendezvous.rs:37:31 [INFO] [stderr] | [INFO] [stderr] 37 | Ok((s, r)) => info!("Received {} bytes, sent {}", r, s), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: `#[warn(semicolon_in_expressions_from_non_local_macros)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stderr] = note: this warning originates in the macro `info` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> ustunet/examples/rendezvous.rs:38:31 [INFO] [stderr] | [INFO] [stderr] 38 | Err(error) => error!("Error while copying: {:?}", error), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> ustunet/examples/rend_.rs:39:31 [INFO] [stderr] | [INFO] [stderr] 39 | Ok((s, r)) => info!("Received {} bytes, sent {}", r, s), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: `#[warn(semicolon_in_expressions_from_non_local_macros)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stderr] = note: this warning originates in the macro `info` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> ustunet/examples/rend_.rs:40:31 [INFO] [stderr] | [INFO] [stderr] 40 | Err(error) => error!("Error while copying: {:?}", error), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `ustunet` (example "rendezvous") generated 2 warnings [INFO] [stderr] warning: `ustunet` (example "rend_") generated 2 warnings [INFO] [stderr] warning: `ustunet` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] warning: unused dependency `tracing-futures` [INFO] [stderr] --> ustunet/Cargo.toml:17:1 [INFO] [stderr] | [INFO] [stderr] 17 | tracing-futures = "0.2.4" [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `tracing-futures` [INFO] [stderr] warning: `ustunet` (manifest) generated 1 warning [INFO] [stderr] Finished `release` profile [optimized + debuginfo] target(s) in 0.10s [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/release/build/ustunet/974afb0e1daed664/out/ustunet-974afb0e1daed664) [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 `"docker" "inspect" "680e0ca3d6890dbbd3da53980e9c9aaf4840eff6033d929b444e4ea4994f41fc"` [INFO] running `"docker" "rm" "-f" "680e0ca3d6890dbbd3da53980e9c9aaf4840eff6033d929b444e4ea4994f41fc"` [INFO] [stdout] 680e0ca3d6890dbbd3da53980e9c9aaf4840eff6033d929b444e4ea4994f41fc