[INFO] cloning repository https://github.com/oblique/docker-guard [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/oblique/docker-guard" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foblique%2Fdocker-guard", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foblique%2Fdocker-guard'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 34dc8eb36b44c7faec1e870998f07ba1f3ae1d62 [INFO] checking oblique/docker-guard against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foblique%2Fdocker-guard" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/oblique/docker-guard on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/oblique/docker-guard [INFO] finished tweaking git repo https://github.com/oblique/docker-guard [INFO] tweaked toml for git repo https://github.com/oblique/docker-guard written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/oblique/docker-guard already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded url v1.7.1 [INFO] [stderr] Downloaded matches v0.1.7 [INFO] [stderr] Downloaded percent-encoding v1.0.1 [INFO] [stderr] Downloaded void v1.0.2 [INFO] [stderr] Downloaded thread-id v2.0.0 [INFO] [stderr] Downloaded memchr v0.1.11 [INFO] [stderr] Downloaded wincolor v0.1.6 [INFO] [stderr] Downloaded unicode-bidi v0.3.4 [INFO] [stderr] Downloaded strsim v0.7.0 [INFO] [stderr] Downloaded itoa v0.4.2 [INFO] [stderr] Downloaded yaml-rust v0.4.0 [INFO] [stderr] Downloaded nom v4.0.0 [INFO] [stderr] Downloaded unreachable v1.0.0 [INFO] [stderr] Downloaded serde-hjson v0.8.1 [INFO] [stderr] Downloaded ansi_term v0.11.0 [INFO] [stderr] Downloaded unicode-width v0.1.5 [INFO] [stderr] Downloaded num-traits v0.2.5 [INFO] [stderr] Downloaded fs2 v0.4.3 [INFO] [stderr] Downloaded regex-syntax v0.6.1 [INFO] [stderr] Downloaded regex-syntax v0.3.9 [INFO] [stderr] Downloaded backtrace-sys v0.1.23 [INFO] [stderr] Downloaded clap v2.32.0 [INFO] [stderr] Downloaded regex v0.1.80 [INFO] [stderr] Downloaded aho-corasick v0.5.3 [INFO] [stderr] Downloaded rust-ini v0.12.2 [INFO] [stderr] Downloaded thread_local v0.2.7 [INFO] [stderr] Downloaded linked-hash-map v0.5.1 [INFO] [stderr] Downloaded atty v0.2.10 [INFO] [stderr] Downloaded humantime v1.1.1 [INFO] [stderr] Downloaded winapi v0.3.5 [INFO] [stderr] Downloaded aho-corasick v0.6.5 [INFO] [stderr] Downloaded epoll v4.0.0 [INFO] [stderr] Downloaded memchr v2.0.1 [INFO] [stderr] Downloaded serde_test v0.8.23 [INFO] [stderr] Downloaded redox_termios v0.1.1 [INFO] [stderr] Downloaded cc v1.0.17 [INFO] [stderr] Downloaded rustc-demangle v0.1.8 [INFO] [stderr] Downloaded error-chain v0.12.0 [INFO] [stderr] Downloaded cfg-if v0.1.4 [INFO] [stderr] Downloaded config v0.9.0 [INFO] [stderr] Downloaded libc v0.2.42 [INFO] [stderr] Downloaded utf8-ranges v1.0.0 [INFO] [stderr] Downloaded termcolor v0.3.6 [INFO] [stderr] Downloaded bitflags v1.0.3 [INFO] [stderr] Downloaded regex v1.0.1 [INFO] [stderr] Downloaded dtoa v0.4.3 [INFO] [stderr] Downloaded unicode-normalization v0.1.7 [INFO] [stderr] Downloaded idna v0.1.5 [INFO] [stderr] Downloaded env_logger v0.5.10 [INFO] [stderr] Downloaded backtrace v0.3.9 [INFO] [stderr] Downloaded serde v1.0.70 [INFO] [stderr] Downloaded serde_json v1.0.22 [INFO] [stderr] Downloaded textwrap v0.10.0 [INFO] [stderr] Downloaded vec_map v0.8.1 [INFO] [stderr] Downloaded lazy_static v0.2.11 [INFO] [stderr] Downloaded linked-hash-map v0.3.0 [INFO] [stderr] Downloaded num-traits v0.1.43 [INFO] [stderr] Downloaded utf8-ranges v0.1.3 [INFO] [stderr] Downloaded serde v0.8.23 [INFO] [stderr] Downloaded toml v0.4.6 [INFO] [stderr] Downloaded redox_syscall v0.1.40 [INFO] [stderr] Downloaded termion v1.5.1 [INFO] [stderr] Downloaded quick-error v1.2.2 [INFO] [stderr] Downloaded httparse v1.3.2 [INFO] [stderr] Downloaded log v0.4.3 [INFO] [stderr] Downloaded ucd-util v0.1.1 [INFO] [stderr] Downloaded lazy_static v1.0.1 [INFO] [stderr] Downloaded thread_local v0.3.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca9ea9034d9445a2c554137a768856dbaf3f2bef60c89c0708ea05ab6d8c11f4 [INFO] running `Command { std: "docker" "start" "-a" "ca9ea9034d9445a2c554137a768856dbaf3f2bef60c89c0708ea05ab6d8c11f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca9ea9034d9445a2c554137a768856dbaf3f2bef60c89c0708ea05ab6d8c11f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca9ea9034d9445a2c554137a768856dbaf3f2bef60c89c0708ea05ab6d8c11f4", kill_on_drop: false }` [INFO] [stdout] ca9ea9034d9445a2c554137a768856dbaf3f2bef60c89c0708ea05ab6d8c11f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fbac3ebe104c32ddbc3461af25f7a221d6398c2fa119814b061ba10285a80da7 [INFO] running `Command { std: "docker" "start" "-a" "fbac3ebe104c32ddbc3461af25f7a221d6398c2fa119814b061ba10285a80da7", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking libc v0.2.42 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling cc v1.0.17 [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Compiling serde v1.0.70 [INFO] [stderr] Checking serde v0.8.23 [INFO] [stderr] Checking lazy_static v1.0.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking cfg-if v0.1.4 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Compiling regex v1.0.1 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking matches v0.1.7 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking bitflags v1.0.3 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking dtoa v0.4.3 [INFO] [stderr] Checking linked-hash-map v0.5.1 [INFO] [stderr] Checking regex-syntax v0.6.1 [INFO] [stderr] Checking unicode-normalization v0.1.7 [INFO] [stderr] Compiling httparse v1.3.2 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking thread_local v0.3.5 [INFO] [stderr] Checking rustc-demangle v0.1.8 [INFO] [stderr] Checking itoa v0.4.2 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking yaml-rust v0.4.0 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking humantime v1.1.1 [INFO] [stderr] Checking log v0.4.3 [INFO] [stderr] Checking rust-ini v0.12.2 [INFO] [stderr] Checking termcolor v0.3.6 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking atty v0.2.10 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking epoll v4.0.0 [INFO] [stderr] Checking aho-corasick v0.6.5 [INFO] [stderr] Checking nom v4.0.0 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Compiling backtrace-sys v0.1.23 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking serde_test v0.8.23 [INFO] [stderr] Checking backtrace v0.3.9 [INFO] [stderr] Checking linked-hash-map v0.3.0 [INFO] [stderr] Checking error-chain v0.12.0 [INFO] [stderr] Checking serde-hjson v0.8.1 [INFO] [stderr] Checking url v1.7.1 [INFO] [stderr] Checking env_logger v0.5.10 [INFO] [stderr] Checking serde_json v1.0.22 [INFO] [stderr] Checking toml v0.4.6 [INFO] [stderr] Checking config v0.9.0 [INFO] [stderr] Checking docker-guard v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / error_chain! { [INFO] [stdout] 39 | | foreign_links { [INFO] [stdout] 40 | | Io(::std::io::Error) #[cfg(unix)]; [INFO] [stdout] 41 | | HttpParse(::httparse::Error); [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [INFO] [stdout] 47 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:53:39 [INFO] [stdout] | [INFO] [stdout] 53 | fn as_read_mut(&mut self) -> &mut Read; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 53 | fn as_read_mut(&mut self) -> &mut dyn Read; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:54:40 [INFO] [stdout] | [INFO] [stdout] 54 | fn as_write_mut(&mut self) -> &mut Write; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 54 | fn as_write_mut(&mut self) -> &mut dyn Write; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:58:39 [INFO] [stdout] | [INFO] [stdout] 58 | fn as_read_mut(&mut self) -> &mut Read { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 58 | fn as_read_mut(&mut self) -> &mut dyn Read { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:62:40 [INFO] [stdout] | [INFO] [stdout] 62 | fn as_write_mut(&mut self) -> &mut Write { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 62 | fn as_write_mut(&mut self) -> &mut dyn Write { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / error_chain! { [INFO] [stdout] 39 | | foreign_links { [INFO] [stdout] 40 | | Io(::std::io::Error) #[cfg(unix)]; [INFO] [stdout] 41 | | HttpParse(::httparse::Error); [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [INFO] [stdout] 47 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:262:16 [INFO] [stdout] | [INFO] [stdout] 262 | from: &mut Read, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 262 | from: &mut dyn Read, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:53:39 [INFO] [stdout] | [INFO] [stdout] 53 | fn as_read_mut(&mut self) -> &mut Read; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 53 | fn as_read_mut(&mut self) -> &mut dyn Read; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:263:14 [INFO] [stdout] | [INFO] [stdout] 263 | to: &mut Write, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 263 | to: &mut dyn Write, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:54:40 [INFO] [stdout] | [INFO] [stdout] 54 | fn as_write_mut(&mut self) -> &mut Write; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 54 | fn as_write_mut(&mut self) -> &mut dyn Write; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:58:39 [INFO] [stdout] | [INFO] [stdout] 58 | fn as_read_mut(&mut self) -> &mut Read { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 58 | fn as_read_mut(&mut self) -> &mut dyn Read { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:103:28 [INFO] [stdout] | [INFO] [stdout] 103 | fn read_until(reader: &mut Read, buf: &mut Vec, until: &[u8]) -> io::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 103 | fn read_until(reader: &mut dyn Read, buf: &mut Vec, until: &[u8]) -> io::Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:62:40 [INFO] [stdout] | [INFO] [stdout] 62 | fn as_write_mut(&mut self) -> &mut Write { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 62 | fn as_write_mut(&mut self) -> &mut dyn Write { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:262:16 [INFO] [stdout] | [INFO] [stdout] 262 | from: &mut Read, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 262 | from: &mut dyn Read, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:263:14 [INFO] [stdout] | [INFO] [stdout] 263 | to: &mut Write, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 263 | to: &mut dyn Write, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:138:18 [INFO] [stdout] | [INFO] [stdout] 138 | reader: &mut Read, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 138 | reader: &mut dyn Read, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:146:35 [INFO] [stdout] | [INFO] [stdout] 146 | fn read_http_content(reader: &mut Read, http: &Http) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 146 | fn read_http_content(reader: &mut dyn Read, http: &Http) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:200:36 [INFO] [stdout] | [INFO] [stdout] 200 | fn write_http_headers(writer: &mut Write, http: &Http, content_len: Option) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 200 | fn write_http_headers(writer: &mut dyn Write, http: &Http, content_len: Option) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:103:28 [INFO] [stdout] | [INFO] [stdout] 103 | fn read_until(reader: &mut Read, buf: &mut Vec, until: &[u8]) -> io::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 103 | fn read_until(reader: &mut dyn Read, buf: &mut Vec, until: &[u8]) -> io::Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:239:36 [INFO] [stdout] | [INFO] [stdout] 239 | fn write_http_content(writer: &mut Write, content: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 239 | fn write_http_content(writer: &mut dyn Write, content: &[u8]) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:244:44 [INFO] [stdout] | [INFO] [stdout] 244 | fn write_http_content_chunked(writer: &mut Write, content: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 244 | fn write_http_content_chunked(writer: &mut dyn Write, content: &[u8]) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:254:28 [INFO] [stdout] | [INFO] [stdout] 254 | fn forward_data(from: &mut Read, to: &mut Write) -> io::Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 254 | fn forward_data(from: &mut dyn Read, to: &mut Write) -> io::Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:254:43 [INFO] [stdout] | [INFO] [stdout] 254 | fn forward_data(from: &mut Read, to: &mut Write) -> io::Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 254 | fn forward_data(from: &mut Read, to: &mut dyn Write) -> io::Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:138:18 [INFO] [stdout] | [INFO] [stdout] 138 | reader: &mut Read, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 138 | reader: &mut dyn Read, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:302:34 [INFO] [stdout] | [INFO] [stdout] 302 | fn handle_upgraded(stream1: &mut Stream, stream2: &mut Stream) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 302 | fn handle_upgraded(stream1: &mut dyn Stream, stream2: &mut Stream) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:302:56 [INFO] [stdout] | [INFO] [stdout] 302 | fn handle_upgraded(stream1: &mut Stream, stream2: &mut Stream) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 302 | fn handle_upgraded(stream1: &mut Stream, stream2: &mut dyn Stream) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:146:35 [INFO] [stdout] | [INFO] [stdout] 146 | fn read_http_content(reader: &mut Read, http: &Http) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 146 | fn read_http_content(reader: &mut dyn Read, http: &Http) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:336:47 [INFO] [stdout] | [INFO] [stdout] 336 | fn connect_to_docker(url: &Url) -> Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 336 | fn connect_to_docker(url: &Url) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:200:36 [INFO] [stdout] | [INFO] [stdout] 200 | fn write_http_headers(writer: &mut Write, http: &Http, content_len: Option) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 200 | fn write_http_headers(writer: &mut dyn Write, http: &Http, content_len: Option) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:239:36 [INFO] [stdout] | [INFO] [stdout] 239 | fn write_http_content(writer: &mut Write, content: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 239 | fn write_http_content(writer: &mut dyn Write, content: &[u8]) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:244:44 [INFO] [stdout] | [INFO] [stdout] 244 | fn write_http_content_chunked(writer: &mut Write, content: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 244 | fn write_http_content_chunked(writer: &mut dyn Write, content: &[u8]) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:254:28 [INFO] [stdout] | [INFO] [stdout] 254 | fn forward_data(from: &mut Read, to: &mut Write) -> io::Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 254 | fn forward_data(from: &mut dyn Read, to: &mut Write) -> io::Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:254:43 [INFO] [stdout] | [INFO] [stdout] 254 | fn forward_data(from: &mut Read, to: &mut Write) -> io::Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 254 | fn forward_data(from: &mut Read, to: &mut dyn Write) -> io::Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:302:34 [INFO] [stdout] | [INFO] [stdout] 302 | fn handle_upgraded(stream1: &mut Stream, stream2: &mut Stream) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 302 | fn handle_upgraded(stream1: &mut dyn Stream, stream2: &mut Stream) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:302:56 [INFO] [stdout] | [INFO] [stdout] 302 | fn handle_upgraded(stream1: &mut Stream, stream2: &mut Stream) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 302 | fn handle_upgraded(stream1: &mut Stream, stream2: &mut dyn Stream) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:336:47 [INFO] [stdout] | [INFO] [stdout] 336 | fn connect_to_docker(url: &Url) -> Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 336 | fn connect_to_docker(url: &Url) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / error_chain! { [INFO] [stdout] 39 | | foreign_links { [INFO] [stdout] 40 | | Io(::std::io::Error) #[cfg(unix)]; [INFO] [stdout] 41 | | HttpParse(::httparse::Error); [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [INFO] [stdout] 47 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / error_chain! { [INFO] [stdout] 39 | | foreign_links { [INFO] [stdout] 40 | | Io(::std::io::Error) #[cfg(unix)]; [INFO] [stdout] 41 | | HttpParse(::httparse::Error); [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [INFO] [stdout] 47 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.45s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.0.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "fbac3ebe104c32ddbc3461af25f7a221d6398c2fa119814b061ba10285a80da7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbac3ebe104c32ddbc3461af25f7a221d6398c2fa119814b061ba10285a80da7", kill_on_drop: false }` [INFO] [stdout] fbac3ebe104c32ddbc3461af25f7a221d6398c2fa119814b061ba10285a80da7 [INFO] checking oblique/docker-guard against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foblique%2Fdocker-guard" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/oblique/docker-guard on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/oblique/docker-guard [INFO] finished tweaking git repo https://github.com/oblique/docker-guard [INFO] tweaked toml for git repo https://github.com/oblique/docker-guard written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/oblique/docker-guard already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a3555a0e3a74423be575225bc3e27128832347c22a5aeef1350635d6489d1d17 [INFO] running `Command { std: "docker" "start" "-a" "a3555a0e3a74423be575225bc3e27128832347c22a5aeef1350635d6489d1d17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a3555a0e3a74423be575225bc3e27128832347c22a5aeef1350635d6489d1d17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3555a0e3a74423be575225bc3e27128832347c22a5aeef1350635d6489d1d17", kill_on_drop: false }` [INFO] [stdout] a3555a0e3a74423be575225bc3e27128832347c22a5aeef1350635d6489d1d17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 66e4702fb03efe9b25511100a2de10548018e62d9e06b8fdd01c81615e99001a [INFO] running `Command { std: "docker" "start" "-a" "66e4702fb03efe9b25511100a2de10548018e62d9e06b8fdd01c81615e99001a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking libc v0.2.42 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling serde v1.0.70 [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Compiling cc v1.0.17 [INFO] [stderr] Checking serde v0.8.23 [INFO] [stderr] Checking lazy_static v1.0.1 [INFO] [stderr] Checking cfg-if v0.1.4 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling regex v1.0.1 [INFO] [stderr] Checking matches v0.1.7 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking itoa v0.4.2 [INFO] [stderr] Compiling httparse v1.3.2 [INFO] [stderr] Checking bitflags v1.0.3 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking regex-syntax v0.6.1 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking thread_local v0.3.5 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking rustc-demangle v0.1.8 [INFO] [stderr] Checking unicode-normalization v0.1.7 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking dtoa v0.4.3 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking linked-hash-map v0.5.1 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking humantime v1.1.1 [INFO] [stderr] Checking log v0.4.3 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking rust-ini v0.12.2 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking yaml-rust v0.4.0 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking atty v0.2.10 [INFO] [stderr] Checking termcolor v0.3.6 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking epoll v4.0.0 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking aho-corasick v0.6.5 [INFO] [stderr] Checking nom v4.0.0 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Compiling backtrace-sys v0.1.23 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking backtrace v0.3.9 [INFO] [stderr] Checking serde_test v0.8.23 [INFO] [stderr] Checking error-chain v0.12.0 [INFO] [stderr] Checking linked-hash-map v0.3.0 [INFO] [stderr] Checking url v1.7.1 [INFO] [stderr] Checking serde-hjson v0.8.1 [INFO] [stderr] Checking env_logger v0.5.10 [INFO] [stderr] Checking toml v0.4.6 [INFO] [stderr] Checking serde_json v1.0.22 [INFO] [stderr] Checking config v0.9.0 [INFO] [stderr] Checking docker-guard v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / error_chain! { [INFO] [stdout] 39 | | foreign_links { [INFO] [stdout] 40 | | Io(::std::io::Error) #[cfg(unix)]; [INFO] [stdout] 41 | | HttpParse(::httparse::Error); [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [INFO] [stdout] 47 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:53:39 [INFO] [stdout] | [INFO] [stdout] 53 | fn as_read_mut(&mut self) -> &mut Read; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 53 | fn as_read_mut(&mut self) -> &mut dyn Read; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:54:40 [INFO] [stdout] | [INFO] [stdout] 54 | fn as_write_mut(&mut self) -> &mut Write; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 54 | fn as_write_mut(&mut self) -> &mut dyn Write; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:58:39 [INFO] [stdout] | [INFO] [stdout] 58 | fn as_read_mut(&mut self) -> &mut Read { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 58 | fn as_read_mut(&mut self) -> &mut dyn Read { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:62:40 [INFO] [stdout] | [INFO] [stdout] 62 | fn as_write_mut(&mut self) -> &mut Write { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 62 | fn as_write_mut(&mut self) -> &mut dyn Write { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:262:16 [INFO] [stdout] | [INFO] [stdout] 262 | from: &mut Read, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 262 | from: &mut dyn Read, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:263:14 [INFO] [stdout] | [INFO] [stdout] 263 | to: &mut Write, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 263 | to: &mut dyn Write, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:103:28 [INFO] [stdout] | [INFO] [stdout] 103 | fn read_until(reader: &mut Read, buf: &mut Vec, until: &[u8]) -> io::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 103 | fn read_until(reader: &mut dyn Read, buf: &mut Vec, until: &[u8]) -> io::Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:138:18 [INFO] [stdout] | [INFO] [stdout] 138 | reader: &mut Read, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 138 | reader: &mut dyn Read, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:146:35 [INFO] [stdout] | [INFO] [stdout] 146 | fn read_http_content(reader: &mut Read, http: &Http) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 146 | fn read_http_content(reader: &mut dyn Read, http: &Http) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:200:36 [INFO] [stdout] | [INFO] [stdout] 200 | fn write_http_headers(writer: &mut Write, http: &Http, content_len: Option) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 200 | fn write_http_headers(writer: &mut dyn Write, http: &Http, content_len: Option) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:239:36 [INFO] [stdout] | [INFO] [stdout] 239 | fn write_http_content(writer: &mut Write, content: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 239 | fn write_http_content(writer: &mut dyn Write, content: &[u8]) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:244:44 [INFO] [stdout] | [INFO] [stdout] 244 | fn write_http_content_chunked(writer: &mut Write, content: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 244 | fn write_http_content_chunked(writer: &mut dyn Write, content: &[u8]) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:254:28 [INFO] [stdout] | [INFO] [stdout] 254 | fn forward_data(from: &mut Read, to: &mut Write) -> io::Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 254 | fn forward_data(from: &mut dyn Read, to: &mut Write) -> io::Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:254:43 [INFO] [stdout] | [INFO] [stdout] 254 | fn forward_data(from: &mut Read, to: &mut Write) -> io::Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 254 | fn forward_data(from: &mut Read, to: &mut dyn Write) -> io::Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:302:34 [INFO] [stdout] | [INFO] [stdout] 302 | fn handle_upgraded(stream1: &mut Stream, stream2: &mut Stream) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 302 | fn handle_upgraded(stream1: &mut dyn Stream, stream2: &mut Stream) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:302:56 [INFO] [stdout] | [INFO] [stdout] 302 | fn handle_upgraded(stream1: &mut Stream, stream2: &mut Stream) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 302 | fn handle_upgraded(stream1: &mut Stream, stream2: &mut dyn Stream) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:336:47 [INFO] [stdout] | [INFO] [stdout] 336 | fn connect_to_docker(url: &Url) -> Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 336 | fn connect_to_docker(url: &Url) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / error_chain! { [INFO] [stdout] 39 | | foreign_links { [INFO] [stdout] 40 | | Io(::std::io::Error) #[cfg(unix)]; [INFO] [stdout] 41 | | HttpParse(::httparse::Error); [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [INFO] [stdout] 47 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:53:39 [INFO] [stdout] | [INFO] [stdout] 53 | fn as_read_mut(&mut self) -> &mut Read; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 53 | fn as_read_mut(&mut self) -> &mut dyn Read; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:54:40 [INFO] [stdout] | [INFO] [stdout] 54 | fn as_write_mut(&mut self) -> &mut Write; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 54 | fn as_write_mut(&mut self) -> &mut dyn Write; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:58:39 [INFO] [stdout] | [INFO] [stdout] 58 | fn as_read_mut(&mut self) -> &mut Read { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 58 | fn as_read_mut(&mut self) -> &mut dyn Read { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:62:40 [INFO] [stdout] | [INFO] [stdout] 62 | fn as_write_mut(&mut self) -> &mut Write { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 62 | fn as_write_mut(&mut self) -> &mut dyn Write { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:262:16 [INFO] [stdout] | [INFO] [stdout] 262 | from: &mut Read, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 262 | from: &mut dyn Read, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:263:14 [INFO] [stdout] | [INFO] [stdout] 263 | to: &mut Write, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 263 | to: &mut dyn Write, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:103:28 [INFO] [stdout] | [INFO] [stdout] 103 | fn read_until(reader: &mut Read, buf: &mut Vec, until: &[u8]) -> io::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 103 | fn read_until(reader: &mut dyn Read, buf: &mut Vec, until: &[u8]) -> io::Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:138:18 [INFO] [stdout] | [INFO] [stdout] 138 | reader: &mut Read, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 138 | reader: &mut dyn Read, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:146:35 [INFO] [stdout] | [INFO] [stdout] 146 | fn read_http_content(reader: &mut Read, http: &Http) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 146 | fn read_http_content(reader: &mut dyn Read, http: &Http) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:200:36 [INFO] [stdout] | [INFO] [stdout] 200 | fn write_http_headers(writer: &mut Write, http: &Http, content_len: Option) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 200 | fn write_http_headers(writer: &mut dyn Write, http: &Http, content_len: Option) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:239:36 [INFO] [stdout] | [INFO] [stdout] 239 | fn write_http_content(writer: &mut Write, content: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 239 | fn write_http_content(writer: &mut dyn Write, content: &[u8]) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:244:44 [INFO] [stdout] | [INFO] [stdout] 244 | fn write_http_content_chunked(writer: &mut Write, content: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 244 | fn write_http_content_chunked(writer: &mut dyn Write, content: &[u8]) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:254:28 [INFO] [stdout] | [INFO] [stdout] 254 | fn forward_data(from: &mut Read, to: &mut Write) -> io::Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 254 | fn forward_data(from: &mut dyn Read, to: &mut Write) -> io::Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:254:43 [INFO] [stdout] | [INFO] [stdout] 254 | fn forward_data(from: &mut Read, to: &mut Write) -> io::Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 254 | fn forward_data(from: &mut Read, to: &mut dyn Write) -> io::Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:302:34 [INFO] [stdout] | [INFO] [stdout] 302 | fn handle_upgraded(stream1: &mut Stream, stream2: &mut Stream) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 302 | fn handle_upgraded(stream1: &mut dyn Stream, stream2: &mut Stream) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:302:56 [INFO] [stdout] | [INFO] [stdout] 302 | fn handle_upgraded(stream1: &mut Stream, stream2: &mut Stream) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 302 | fn handle_upgraded(stream1: &mut Stream, stream2: &mut dyn Stream) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:336:47 [INFO] [stdout] | [INFO] [stdout] 336 | fn connect_to_docker(url: &Url) -> Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 336 | fn connect_to_docker(url: &Url) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / error_chain! { [INFO] [stdout] 39 | | foreign_links { [INFO] [stdout] 40 | | Io(::std::io::Error) #[cfg(unix)]; [INFO] [stdout] 41 | | HttpParse(::httparse::Error); [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [INFO] [stdout] 47 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / error_chain! { [INFO] [stdout] 39 | | foreign_links { [INFO] [stdout] 40 | | Io(::std::io::Error) #[cfg(unix)]; [INFO] [stdout] 41 | | HttpParse(::httparse::Error); [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [INFO] [stdout] 47 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/config.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn from_arg_matches(matches: ArgMatches) -> Result { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 29 | let mut env_whitelist = [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 35 | let mut settings = config::Config::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 50 | Ok(Config { [INFO] [stdout] | ____________^ [INFO] [stdout] 51 | | docker_host: docker_host, [INFO] [stdout] 52 | | docker_guard_dir: PathBuf::from("/var/run/docker-guard"), [INFO] [stdout] 53 | | http_path_whitelist: Vec::new(), [INFO] [stdout] 54 | | env_whitelist: env_whitelist, [INFO] [stdout] 55 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/config.rs:48:46 [INFO] [stdout] | [INFO] [stdout] 48 | ... .filter_map(|v| v.into_str().ok())); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/config.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn from_arg_matches(matches: ArgMatches) -> Result { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 29 | let mut env_whitelist = [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 35 | let mut settings = config::Config::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 50 | Ok(Config { [INFO] [stdout] | ____________^ [INFO] [stdout] 51 | | docker_host: docker_host, [INFO] [stdout] 52 | | docker_guard_dir: PathBuf::from("/var/run/docker-guard"), [INFO] [stdout] 53 | | http_path_whitelist: Vec::new(), [INFO] [stdout] 54 | | env_whitelist: env_whitelist, [INFO] [stdout] 55 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/config.rs:48:46 [INFO] [stdout] | [INFO] [stdout] 48 | ... .filter_map(|v| v.into_str().ok())); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `docker-guard` (bin "docker-guard") due to 3 previous errors; 19 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors; 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `docker-guard` (bin "docker-guard" test) due to 3 previous errors; 19 warnings emitted [INFO] running `Command { std: "docker" "inspect" "66e4702fb03efe9b25511100a2de10548018e62d9e06b8fdd01c81615e99001a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66e4702fb03efe9b25511100a2de10548018e62d9e06b8fdd01c81615e99001a", kill_on_drop: false }` [INFO] [stdout] 66e4702fb03efe9b25511100a2de10548018e62d9e06b8fdd01c81615e99001a