[INFO] fetching crate expectation 0.1.1... [INFO] checking expectation-0.1.1 against master#7dc9ff5c629753b6930ecfe9a0446538b8e25fb7 for pr-85387 [INFO] extracting crate expectation 0.1.1 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate expectation 0.1.1 on toolchain 7dc9ff5c629753b6930ecfe9a0446538b8e25fb7 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate expectation 0.1.1 [INFO] finished tweaking crates.io crate expectation 0.1.1 [INFO] tweaked toml for crates.io crate expectation 0.1.1 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a94edcf3f6f972faec8564191afae214d1d44fe6f7a0733aa4cf5500267374b0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a94edcf3f6f972faec8564191afae214d1d44fe6f7a0733aa4cf5500267374b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a94edcf3f6f972faec8564191afae214d1d44fe6f7a0733aa4cf5500267374b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a94edcf3f6f972faec8564191afae214d1d44fe6f7a0733aa4cf5500267374b0", kill_on_drop: false }` [INFO] [stdout] a94edcf3f6f972faec8564191afae214d1d44fe6f7a0733aa4cf5500267374b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] acb7e791524259dd85fca2b92ef80d6f43ce7880e6e737087b17e93b755f9f47 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "acb7e791524259dd85fca2b92ef80d6f43ce7880e6e737087b17e93b755f9f47", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking diff v0.1.12 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking png v0.12.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Checking image v0.19.0 [INFO] [stderr] Checking expectation-shared v0.1.0 [INFO] [stderr] Checking expectation v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/provider.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) fs: Box, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FileSystem` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/provider.rs:16:35 [INFO] [stdout] | [INFO] [stdout] 16 | Fn: for<'a> FnMut(&'a mut Write) -> IoResult<()>, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/provider.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | Box Fn(&'a mut ReadSeek, &'a mut ReadSeek) -> IoResult>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn for<'a> Fn(&'a mut ReadSeek, &'a mut ReadSeek) -> IoResult` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/provider.rs:27:32 [INFO] [stdout] | [INFO] [stdout] 27 | Box Fn(&'a mut ReadSeek, &'a mut ReadSeek) -> IoResult>, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn ReadSeek` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/provider.rs:27:50 [INFO] [stdout] | [INFO] [stdout] 27 | Box Fn(&'a mut ReadSeek, &'a mut ReadSeek) -> IoResult>, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn ReadSeek` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/provider.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | / for<'b> Fn(&'b mut ReadSeek, &'b mut ReadSeek, &'b Path, &'b mut WriteRequester) [INFO] [stdout] 30 | | -> IoResult<()>, [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 the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 | dyn for<'b> Fn(&'b mut ReadSeek, &'b mut ReadSeek, &'b Path, &'b mut WriteRequester) [INFO] [stdout] 30 | -> IoResult<()>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/provider.rs:29:32 [INFO] [stdout] | [INFO] [stdout] 29 | for<'b> Fn(&'b mut ReadSeek, &'b mut ReadSeek, &'b Path, &'b mut WriteRequester) [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn ReadSeek` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/provider.rs:29:50 [INFO] [stdout] | [INFO] [stdout] 29 | for<'b> Fn(&'b mut ReadSeek, &'b mut ReadSeek, &'b Path, &'b mut WriteRequester) [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn ReadSeek` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/provider.rs:36:29 [INFO] [stdout] | [INFO] [stdout] 36 | pub(crate) root_fs: Box, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FileSystem` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/provider.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | pub(crate) fs: Box, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FileSystem` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/provider.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | filesystem: Box, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FileSystem` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/provider.rs:60:28 [INFO] [stdout] | [INFO] [stdout] 60 | fn new(filesystem: Box, path: PathBuf) -> Self { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FileSystem` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/provider.rs:80:36 [INFO] [stdout] | [INFO] [stdout] 80 | pub(crate) fn new(root_fs: Box, fs: Box) -> Provider { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FileSystem` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/provider.rs:80:57 [INFO] [stdout] | [INFO] [stdout] 80 | pub(crate) fn new(root_fs: Box, fs: Box) -> Provider { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FileSystem` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/provider.rs:122:31 [INFO] [stdout] | [INFO] [stdout] 122 | C: for<'a> Fn(&'a mut (ReadSeek), &'a mut (ReadSeek)) -> IoResult + 'static, [INFO] [stdout] | ^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/provider.rs:122:32 [INFO] [stdout] | [INFO] [stdout] 122 | C: for<'a> Fn(&'a mut (ReadSeek), &'a mut (ReadSeek)) -> IoResult + 'static, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn ReadSeek` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/provider.rs:122:51 [INFO] [stdout] | [INFO] [stdout] 122 | C: for<'a> Fn(&'a mut (ReadSeek), &'a mut (ReadSeek)) -> IoResult + 'static, [INFO] [stdout] | ^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/provider.rs:122:52 [INFO] [stdout] | [INFO] [stdout] 122 | C: for<'a> Fn(&'a mut (ReadSeek), &'a mut (ReadSeek)) -> IoResult + 'static, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn ReadSeek` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/provider.rs:123:31 [INFO] [stdout] | [INFO] [stdout] 123 | D: for<'b> Fn(&'b mut (ReadSeek), &'b mut (ReadSeek), &'b Path, &'b mut WriteRequester) -> IoResult<()> [INFO] [stdout] | ^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/provider.rs:123:32 [INFO] [stdout] | [INFO] [stdout] 123 | D: for<'b> Fn(&'b mut (ReadSeek), &'b mut (ReadSeek), &'b Path, &'b mut WriteRequester) -> IoResult<()> [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn ReadSeek` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/provider.rs:123:51 [INFO] [stdout] | [INFO] [stdout] 123 | D: for<'b> Fn(&'b mut (ReadSeek), &'b mut (ReadSeek), &'b Path, &'b mut WriteRequester) -> IoResult<()> [INFO] [stdout] | ^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/provider.rs:123:52 [INFO] [stdout] | [INFO] [stdout] 123 | D: for<'b> Fn(&'b mut (ReadSeek), &'b mut (ReadSeek), &'b Path, &'b mut WriteRequester) -> IoResult<()> [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn ReadSeek` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/lib.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | fs: Box, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FileSystem` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/lib.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | let name = name.trim_left_matches("expectation_test_"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/provider.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) fs: Box, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FileSystem` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/provider.rs:16:35 [INFO] [stdout] | [INFO] [stdout] 16 | Fn: for<'a> FnMut(&'a mut Write) -> IoResult<()>, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/provider.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | Box Fn(&'a mut ReadSeek, &'a mut ReadSeek) -> IoResult>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn for<'a> Fn(&'a mut ReadSeek, &'a mut ReadSeek) -> IoResult` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/provider.rs:27:32 [INFO] [stdout] | [INFO] [stdout] 27 | Box Fn(&'a mut ReadSeek, &'a mut ReadSeek) -> IoResult>, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn ReadSeek` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/provider.rs:27:50 [INFO] [stdout] | [INFO] [stdout] 27 | Box Fn(&'a mut ReadSeek, &'a mut ReadSeek) -> IoResult>, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn ReadSeek` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/provider.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | / for<'b> Fn(&'b mut ReadSeek, &'b mut ReadSeek, &'b Path, &'b mut WriteRequester) [INFO] [stdout] 30 | | -> IoResult<()>, [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 the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 | dyn for<'b> Fn(&'b mut ReadSeek, &'b mut ReadSeek, &'b Path, &'b mut WriteRequester) [INFO] [stdout] 30 | -> IoResult<()>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/provider.rs:29:32 [INFO] [stdout] | [INFO] [stdout] 29 | for<'b> Fn(&'b mut ReadSeek, &'b mut ReadSeek, &'b Path, &'b mut WriteRequester) [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn ReadSeek` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/provider.rs:29:50 [INFO] [stdout] | [INFO] [stdout] 29 | for<'b> Fn(&'b mut ReadSeek, &'b mut ReadSeek, &'b Path, &'b mut WriteRequester) [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn ReadSeek` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/provider.rs:36:29 [INFO] [stdout] | [INFO] [stdout] 36 | pub(crate) root_fs: Box, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FileSystem` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/provider.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | pub(crate) fs: Box, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FileSystem` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/provider.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | filesystem: Box, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FileSystem` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/provider.rs:60:28 [INFO] [stdout] | [INFO] [stdout] 60 | fn new(filesystem: Box, path: PathBuf) -> Self { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FileSystem` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/provider.rs:80:36 [INFO] [stdout] | [INFO] [stdout] 80 | pub(crate) fn new(root_fs: Box, fs: Box) -> Provider { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FileSystem` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/provider.rs:80:57 [INFO] [stdout] | [INFO] [stdout] 80 | pub(crate) fn new(root_fs: Box, fs: Box) -> Provider { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FileSystem` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/provider.rs:122:31 [INFO] [stdout] | [INFO] [stdout] 122 | C: for<'a> Fn(&'a mut (ReadSeek), &'a mut (ReadSeek)) -> IoResult + 'static, [INFO] [stdout] | ^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/provider.rs:122:32 [INFO] [stdout] | [INFO] [stdout] 122 | C: for<'a> Fn(&'a mut (ReadSeek), &'a mut (ReadSeek)) -> IoResult + 'static, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn ReadSeek` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/provider.rs:122:51 [INFO] [stdout] | [INFO] [stdout] 122 | C: for<'a> Fn(&'a mut (ReadSeek), &'a mut (ReadSeek)) -> IoResult + 'static, [INFO] [stdout] | ^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/provider.rs:122:52 [INFO] [stdout] | [INFO] [stdout] 122 | C: for<'a> Fn(&'a mut (ReadSeek), &'a mut (ReadSeek)) -> IoResult + 'static, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn ReadSeek` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/provider.rs:123:31 [INFO] [stdout] | [INFO] [stdout] 123 | D: for<'b> Fn(&'b mut (ReadSeek), &'b mut (ReadSeek), &'b Path, &'b mut WriteRequester) -> IoResult<()> [INFO] [stdout] | ^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/provider.rs:123:32 [INFO] [stdout] | [INFO] [stdout] 123 | D: for<'b> Fn(&'b mut (ReadSeek), &'b mut (ReadSeek), &'b Path, &'b mut WriteRequester) -> IoResult<()> [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn ReadSeek` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/provider.rs:123:51 [INFO] [stdout] | [INFO] [stdout] 123 | D: for<'b> Fn(&'b mut (ReadSeek), &'b mut (ReadSeek), &'b Path, &'b mut WriteRequester) -> IoResult<()> [INFO] [stdout] | ^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/provider.rs:123:52 [INFO] [stdout] | [INFO] [stdout] 123 | D: for<'b> Fn(&'b mut (ReadSeek), &'b mut (ReadSeek), &'b Path, &'b mut WriteRequester) -> IoResult<()> [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn ReadSeek` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/provider.rs:141:61 [INFO] [stdout] | [INFO] [stdout] 141 | let filesystem = Box::new(FakeFileSystem::new()) as Box; [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FileSystem` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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/lib.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | fs: Box, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FileSystem` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/lib.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | let name = name.trim_left_matches("expectation_test_"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/extensions/image.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | writeln!(w, "image formats are different"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/extensions/image.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | writeln!(w, "actual: RGB8"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/extensions/image.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | writeln!(w, "expected: RGBA8 (Alpha)"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/extensions/image.rs:144:17 [INFO] [stdout] | [INFO] [stdout] 144 | writeln!(w, "image formats are different"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/extensions/image.rs:145:17 [INFO] [stdout] | [INFO] [stdout] 145 | writeln!(w, "actual: RGBA8 (Alpha)"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/extensions/image.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | writeln!(w, "expected: RGB8"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/extensions/image.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | writeln!(w, "image formats are different"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/extensions/image.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | writeln!(w, "actual: RGB8"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/extensions/image.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | writeln!(w, "expected: RGBA8 (Alpha)"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/extensions/image.rs:144:17 [INFO] [stdout] | [INFO] [stdout] 144 | writeln!(w, "image formats are different"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/extensions/image.rs:145:17 [INFO] [stdout] | [INFO] [stdout] 145 | writeln!(w, "actual: RGBA8 (Alpha)"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/extensions/image.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | writeln!(w, "expected: RGB8"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 33.48s [INFO] running `Command { std: "docker" "inspect" "acb7e791524259dd85fca2b92ef80d6f43ce7880e6e737087b17e93b755f9f47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acb7e791524259dd85fca2b92ef80d6f43ce7880e6e737087b17e93b755f9f47", kill_on_drop: false }` [INFO] [stdout] acb7e791524259dd85fca2b92ef80d6f43ce7880e6e737087b17e93b755f9f47