[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 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftynr426%2Ffuture_pro" "/workspace/builds/worker-101/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-101/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tynr426/future_pro on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-101/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" "+1.60.0" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] de2fe6bd52730d558b9a09fe69f6ebadb48407bdd3cf831e50b3828a52b79ed3 [INFO] running `Command { std: "docker" "start" "-a" "de2fe6bd52730d558b9a09fe69f6ebadb48407bdd3cf831e50b3828a52b79ed3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de2fe6bd52730d558b9a09fe69f6ebadb48407bdd3cf831e50b3828a52b79ed3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de2fe6bd52730d558b9a09fe69f6ebadb48407bdd3cf831e50b3828a52b79ed3", kill_on_drop: false }` [INFO] [stdout] de2fe6bd52730d558b9a09fe69f6ebadb48407bdd3cf831e50b3828a52b79ed3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 543d8b3ecb3a163c0aae5a4ea193c4ec5acc2da74e5140fdee4bfcea0a555d83 [INFO] running `Command { std: "docker" "start" "-a" "543d8b3ecb3a163c0aae5a4ea193c4ec5acc2da74e5140fdee4bfcea0a555d83", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling futures v0.1.29 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling smallvec v0.6.10 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling lock_api v0.3.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling tokio-executor v0.1.8 [INFO] [stderr] Compiling tokio-sync v0.1.7 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling tokio-timer v0.2.11 [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 parking_lot_core v0.6.2 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tokio-reactor v0.1.10 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling tokio-threadpool v0.1.16 [INFO] [stderr] Compiling tokio-fs v0.1.6 [INFO] [stderr] Compiling tokio-uds v0.2.5 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio-udp v0.1.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/main.rs:42:43 [INFO] [stdout] | [INFO] [stdout] 42 | fn my_fut_squared2(i:u32)->Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 - fn my_fut_squared2(i:u32)->Result> { [INFO] [stdout] 42 + fn my_fut_squared2(i:u32)->Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [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] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 - fn cause(&self) -> Option<&error::Error>{ [INFO] [stdout] 14 + fn cause(&self) -> Option<&dyn error::Error>{ [INFO] [stdout] | [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] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 - fn cause(&self)->Option<&error::Error>{ [INFO] [stdout] 29 + fn cause(&self)->Option<&dyn error::Error>{ [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 - fn my_fut()->impl Future> { [INFO] [stdout] 36 + fn my_fut()->impl Future> { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 - fn my_fut_squared(i:u32)->impl Future> { [INFO] [stdout] 39 + fn my_fut_squared(i:u32)->impl Future> { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 - fn fut_generic_own (a1: A, a2: A) -> impl Future> [INFO] [stdout] 45 + fn fut_generic_own (a1: A, a2: A) -> impl Future> [INFO] [stdout] | [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 1m 32s [INFO] running `Command { std: "docker" "inspect" "543d8b3ecb3a163c0aae5a4ea193c4ec5acc2da74e5140fdee4bfcea0a555d83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "543d8b3ecb3a163c0aae5a4ea193c4ec5acc2da74e5140fdee4bfcea0a555d83", kill_on_drop: false }` [INFO] [stdout] 543d8b3ecb3a163c0aae5a4ea193c4ec5acc2da74e5140fdee4bfcea0a555d83 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/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" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 89888dead67061efc00afd12a039df18a8740d06d0020ad80092b55790b194eb [INFO] running `Command { std: "docker" "start" "-a" "89888dead67061efc00afd12a039df18a8740d06d0020ad80092b55790b194eb", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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/main.rs:42:43 [INFO] [stdout] | [INFO] [stdout] 42 | fn my_fut_squared2(i:u32)->Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 - fn my_fut_squared2(i:u32)->Result> { [INFO] [stdout] 42 + fn my_fut_squared2(i:u32)->Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [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] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 - fn cause(&self) -> Option<&error::Error>{ [INFO] [stdout] 14 + fn cause(&self) -> Option<&dyn error::Error>{ [INFO] [stdout] | [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] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 - fn cause(&self)->Option<&error::Error>{ [INFO] [stdout] 29 + fn cause(&self)->Option<&dyn error::Error>{ [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 - fn my_fut()->impl Future> { [INFO] [stdout] 36 + fn my_fut()->impl Future> { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 - fn my_fut_squared(i:u32)->impl Future> { [INFO] [stdout] 39 + fn my_fut_squared(i:u32)->impl Future> { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 - fn fut_generic_own (a1: A, a2: A) -> impl Future> [INFO] [stdout] 45 + fn fut_generic_own (a1: A, a2: A) -> impl Future> [INFO] [stdout] | [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 2.52s [INFO] running `Command { std: "docker" "inspect" "89888dead67061efc00afd12a039df18a8740d06d0020ad80092b55790b194eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89888dead67061efc00afd12a039df18a8740d06d0020ad80092b55790b194eb", kill_on_drop: false }` [INFO] [stdout] 89888dead67061efc00afd12a039df18a8740d06d0020ad80092b55790b194eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/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" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5511cd97a7229f20a2fb62d48c4ae44534b384360f55853994d9dee317cbdc3b [INFO] running `Command { std: "docker" "start" "-a" "5511cd97a7229f20a2fb62d48c4ae44534b384360f55853994d9dee317cbdc3b", 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] 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] | ^^^^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 42 - fn my_fut_squared2(i:u32)->Result> { [INFO] [stderr] 42 + fn my_fut_squared2(i:u32)->Result> { [INFO] [stderr] | [INFO] [stderr] [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] | ^^^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 14 - fn cause(&self) -> Option<&error::Error>{ [INFO] [stderr] 14 + fn cause(&self) -> Option<&dyn error::Error>{ [INFO] [stderr] | [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] | ^^^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 29 - fn cause(&self)->Option<&error::Error>{ [INFO] [stderr] 29 + fn cause(&self)->Option<&dyn error::Error>{ [INFO] [stderr] | [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] | ^^^^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 36 - fn my_fut()->impl Future> { [INFO] [stderr] 36 + fn my_fut()->impl Future> { [INFO] [stderr] | [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] | ^^^^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 39 - fn my_fut_squared(i:u32)->impl Future> { [INFO] [stderr] 39 + fn my_fut_squared(i:u32)->impl Future> { [INFO] [stderr] | [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] | ^^^^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 45 - fn fut_generic_own (a1: A, a2: A) -> impl Future> [INFO] [stderr] 45 + fn fut_generic_own (a1: A, a2: A) -> impl Future> [INFO] [stderr] | [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 1.27s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/future_pro-5b1cc65f55b30b99) [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" "5511cd97a7229f20a2fb62d48c4ae44534b384360f55853994d9dee317cbdc3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5511cd97a7229f20a2fb62d48c4ae44534b384360f55853994d9dee317cbdc3b", kill_on_drop: false }` [INFO] [stdout] 5511cd97a7229f20a2fb62d48c4ae44534b384360f55853994d9dee317cbdc3b