[INFO] cloning repository https://github.com/tynr426/future_pro [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tynr426/future_pro" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftynr426%2Ffuture_pro", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftynr426%2Ffuture_pro'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a60f107071499d786781396011a0e3ff5f51f65b [INFO] testing tynr426/future_pro against try#d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 for pr-86479 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftynr426%2Ffuture_pro" "/workspace/builds/worker-15/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-15/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tynr426/future_pro on toolchain d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tynr426/future_pro [INFO] finished tweaking git repo https://github.com/tynr426/future_pro [INFO] tweaked toml for git repo https://github.com/tynr426/future_pro written to /workspace/builds/worker-15/source/Cargo.toml [INFO] crate git repo https://github.com/tynr426/future_pro already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded memoffset v0.5.1 [INFO] [stderr] Downloaded tokio-threadpool v0.1.16 [INFO] [stderr] Downloaded libc v0.2.65 [INFO] [stderr] Downloaded tokio-reactor v0.1.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fa77abbbdbb0e620d094fad6eedd4f7f4ed9f9e2436c38415dcb406f4dd0d252 [INFO] running `Command { std: "docker" "start" "-a" "fa77abbbdbb0e620d094fad6eedd4f7f4ed9f9e2436c38415dcb406f4dd0d252", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fa77abbbdbb0e620d094fad6eedd4f7f4ed9f9e2436c38415dcb406f4dd0d252", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa77abbbdbb0e620d094fad6eedd4f7f4ed9f9e2436c38415dcb406f4dd0d252", kill_on_drop: false }` [INFO] [stdout] fa77abbbdbb0e620d094fad6eedd4f7f4ed9f9e2436c38415dcb406f4dd0d252 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad51328af6cc690feaea5c7a6c16e6e44b735f309285804d52a6a8b32983ddc1 [INFO] running `Command { std: "docker" "start" "-a" "ad51328af6cc690feaea5c7a6c16e6e44b735f309285804d52a6a8b32983ddc1", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling futures v0.1.29 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling smallvec v0.6.10 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling lock_api v0.3.1 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling tokio-executor v0.1.8 [INFO] [stderr] Compiling tokio-sync v0.1.7 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling tokio-timer v0.2.11 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling tokio-threadpool v0.1.16 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling tokio-reactor v0.1.10 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tokio-fs v0.1.6 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio-udp v0.1.5 [INFO] [stderr] Compiling tokio-uds v0.2.5 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling tokio-core v0.1.17 [INFO] [stderr] Compiling future_pro v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error_defined.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | fn cause(&self) -> Option<&error::Error>{ [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error_defined.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 29 | fn cause(&self)->Option<&error::Error>{ [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:36:49 [INFO] [stdout] | [INFO] [stdout] 36 | fn my_fut()->impl Future> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Error+'static` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:39:62 [INFO] [stdout] | [INFO] [stdout] 39 | fn my_fut_squared(i:u32)->impl Future> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Error+'static` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:42:43 [INFO] [stdout] | [INFO] [stdout] 42 | fn my_fut_squared2(i:u32)->Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Error+'static` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:45:75 [INFO] [stdout] | [INFO] [stdout] 45 | fn fut_generic_own (a1: A, a2: A) -> impl Future> [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Error+'static` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:30:41 [INFO] [stdout] | [INFO] [stdout] 30 | let future2= fut_error_a().map_err(|e|{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 15.27s [INFO] running `Command { std: "docker" "inspect" "ad51328af6cc690feaea5c7a6c16e6e44b735f309285804d52a6a8b32983ddc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad51328af6cc690feaea5c7a6c16e6e44b735f309285804d52a6a8b32983ddc1", kill_on_drop: false }` [INFO] [stdout] ad51328af6cc690feaea5c7a6c16e6e44b735f309285804d52a6a8b32983ddc1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a7dd9483eb00cc57eb9ad3480f40ef5d46cd1fb2f9a9918e393021f54c3b9b9 [INFO] running `Command { std: "docker" "start" "-a" "1a7dd9483eb00cc57eb9ad3480f40ef5d46cd1fb2f9a9918e393021f54c3b9b9", kill_on_drop: false }` [INFO] [stderr] Compiling future_pro v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error_defined.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | fn cause(&self) -> Option<&error::Error>{ [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error_defined.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 29 | fn cause(&self)->Option<&error::Error>{ [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:36:49 [INFO] [stdout] | [INFO] [stdout] 36 | fn my_fut()->impl Future> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Error+'static` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:39:62 [INFO] [stdout] | [INFO] [stdout] 39 | fn my_fut_squared(i:u32)->impl Future> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Error+'static` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:42:43 [INFO] [stdout] | [INFO] [stdout] 42 | fn my_fut_squared2(i:u32)->Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Error+'static` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:45:75 [INFO] [stdout] | [INFO] [stdout] 45 | fn fut_generic_own (a1: A, a2: A) -> impl Future> [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Error+'static` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:30:41 [INFO] [stdout] | [INFO] [stdout] 30 | let future2= fut_error_a().map_err(|e|{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.74s [INFO] running `Command { std: "docker" "inspect" "1a7dd9483eb00cc57eb9ad3480f40ef5d46cd1fb2f9a9918e393021f54c3b9b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a7dd9483eb00cc57eb9ad3480f40ef5d46cd1fb2f9a9918e393021f54c3b9b9", kill_on_drop: false }` [INFO] [stdout] 1a7dd9483eb00cc57eb9ad3480f40ef5d46cd1fb2f9a9918e393021f54c3b9b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 77183553bd792e663ae7e45d957ba31a009749654c4c7417a2b86c4effbdaba8 [INFO] running `Command { std: "docker" "start" "-a" "77183553bd792e663ae7e45d957ba31a009749654c4c7417a2b86c4effbdaba8", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/error_defined.rs:14:32 [INFO] [stderr] | [INFO] [stderr] 14 | fn cause(&self) -> Option<&error::Error>{ [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/error_defined.rs:29:30 [INFO] [stderr] | [INFO] [stderr] 29 | fn cause(&self)->Option<&error::Error>{ [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:36:49 [INFO] [stderr] | [INFO] [stderr] 36 | fn my_fut()->impl Future> { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Error+'static` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:39:62 [INFO] [stderr] | [INFO] [stderr] 39 | fn my_fut_squared(i:u32)->impl Future> { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Error+'static` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:42:43 [INFO] [stderr] | [INFO] [stderr] 42 | fn my_fut_squared2(i:u32)->Result> { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Error+'static` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:45:75 [INFO] [stderr] | [INFO] [stderr] 45 | fn fut_generic_own (a1: A, a2: A) -> impl Future> [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Error+'static` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/main.rs:30:41 [INFO] [stderr] | [INFO] [stderr] 30 | let future2= fut_error_a().map_err(|e|{ [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `future_pro` (bin "future_pro" test) generated 7 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.39s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/future_pro-ada56ddf8f643d20) [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" "77183553bd792e663ae7e45d957ba31a009749654c4c7417a2b86c4effbdaba8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77183553bd792e663ae7e45d957ba31a009749654c4c7417a2b86c4effbdaba8", kill_on_drop: false }` [INFO] [stdout] 77183553bd792e663ae7e45d957ba31a009749654c4c7417a2b86c4effbdaba8