[INFO] cloning repository https://github.com/mgax/dedup [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mgax/dedup" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmgax%2Fdedup", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmgax%2Fdedup'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3a647cc46255876b23652711f3bc66cf2b16b2b9 [INFO] documenting mgax/dedup against 1.61.0 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmgax%2Fdedup" "/workspace/builds/worker-16/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-16/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mgax/dedup on toolchain 1.61.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mgax/dedup [INFO] finished tweaking git repo https://github.com/mgax/dedup [INFO] tweaked toml for git repo https://github.com/mgax/dedup written to /workspace/builds/worker-16/source/Cargo.toml [INFO] crate git repo https://github.com/mgax/dedup already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded memchr v1.0.0 [INFO] [stderr] Downloaded adler32 v0.3.0 [INFO] [stderr] Downloaded regex v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1.61.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 562513ed3e982ff91331feb0c60bd586b70592efaf8a205fcd7ef4c8b9ea03cf [INFO] running `Command { std: "docker" "start" "-a" "562513ed3e982ff91331feb0c60bd586b70592efaf8a205fcd7ef4c8b9ea03cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "562513ed3e982ff91331feb0c60bd586b70592efaf8a205fcd7ef4c8b9ea03cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "562513ed3e982ff91331feb0c60bd586b70592efaf8a205fcd7ef4c8b9ea03cf", kill_on_drop: false }` [INFO] [stdout] 562513ed3e982ff91331feb0c60bd586b70592efaf8a205fcd7ef4c8b9ea03cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1.61.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7db20e977d880e13ac9390e5b2fac435f9a052fb46f3e1d7b953a3d40d275075 [INFO] running `Command { std: "docker" "start" "-a" "7db20e977d880e13ac9390e5b2fac435f9a052fb46f3e1d7b953a3d40d275075", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking libc v0.2.18 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling gcc v0.3.41 [INFO] [stderr] Checking regex-syntax v0.4.0 [INFO] [stderr] Checking rustc-serialize v0.3.22 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking adler32 v0.3.0 [INFO] [stderr] Checking unreachable v0.1.1 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking thread-id v3.0.0 [INFO] [stderr] Checking memchr v1.0.0 [INFO] [stderr] Checking thread_local v0.3.2 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling tempfile v2.1.4 [INFO] [stderr] Checking time v0.1.35 [INFO] [stderr] Checking regex v0.2.0 [INFO] [stderr] Documenting dedup v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking dedup v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/deduplicator.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | let n = try!(self.reader.read(&mut buffer).map_err(SaveError::Io)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/deduplicator.rs:74:23 [INFO] [stdout] | [INFO] [stdout] 74 | match try!(self.next_byte()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/deduplicator.rs:101:23 [INFO] [stdout] | [INFO] [stdout] 101 | match try!(self.next_byte()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/deduplicator.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | try!(deduplicator.consume()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | try!(writer.write(&block).map_err(LoadError::Io)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:40:22 [INFO] [stdout] | [INFO] [stdout] 40 | for block_key in try!(repo.read_file(name)).iter() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | let block = try!(repo.read_block(block_key)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/deduplicator.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | reader: &'a mut Read, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 - reader: &'a mut Read, [INFO] [stdout] 9 + reader: &'a mut dyn Read, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/deduplicator.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | repo: &'b mut Repo, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 10 - repo: &'b mut Repo, [INFO] [stdout] 10 + repo: &'b mut dyn Repo, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn save(repo: &mut Repo, name: &str, reader: &mut Read) -> 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 - pub fn save(repo: &mut Repo, name: &str, reader: &mut Read) -> Result { [INFO] [stdout] 35 + pub fn save(repo: &mut dyn Repo, name: &str, reader: &mut Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:35:55 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn save(repo: &mut Repo, name: &str, reader: &mut Read) -> 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 - pub fn save(repo: &mut Repo, name: &str, reader: &mut Read) -> Result { [INFO] [stdout] 35 + pub fn save(repo: &mut Repo, name: &str, reader: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn load(repo: &Repo, name: &str, writer: &mut Write) -> Result<(), LoadError> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 - pub fn load(repo: &Repo, name: &str, writer: &mut Write) -> Result<(), LoadError> { [INFO] [stdout] 39 + pub fn load(repo: &dyn Repo, name: &str, writer: &mut Write) -> Result<(), LoadError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:39:51 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn load(repo: &Repo, name: &str, writer: &mut Write) -> Result<(), LoadError> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 - pub fn load(repo: &Repo, name: &str, writer: &mut Write) -> Result<(), LoadError> { [INFO] [stdout] 39 + pub fn load(repo: &Repo, name: &str, writer: &mut dyn Write) -> Result<(), LoadError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/deduplicator.rs:122:32 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn store(repo: &'b mut Repo, name: &str, reader: &'a mut Read) -> 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 122 - pub fn store(repo: &'b mut Repo, name: &str, reader: &'a mut Read) -> Result { [INFO] [stdout] 122 + pub fn store(repo: &'b mut dyn Repo, name: &str, reader: &'a mut Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/deduplicator.rs:122:66 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn store(repo: &'b mut Repo, name: &str, reader: &'a mut Read) -> 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 122 - pub fn store(repo: &'b mut Repo, name: &str, reader: &'a mut Read) -> Result { [INFO] [stdout] 122 + pub fn store(repo: &'b mut Repo, name: &str, reader: &'a mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.72s [INFO] running `Command { std: "docker" "inspect" "7db20e977d880e13ac9390e5b2fac435f9a052fb46f3e1d7b953a3d40d275075", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7db20e977d880e13ac9390e5b2fac435f9a052fb46f3e1d7b953a3d40d275075", kill_on_drop: false }` [INFO] [stdout] 7db20e977d880e13ac9390e5b2fac435f9a052fb46f3e1d7b953a3d40d275075 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "DOCS_RS=1" "-e" "RUSTC_BOOTSTRAP=1" "-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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1.61.0" "rustdoc" "--lib" "-Zrustdoc-map" "--frozen" "--message-format=json" "--" "-Z" "unstable-options" "--document-private-items", kill_on_drop: false }` [INFO] [stdout] 3d0e6f4ade330ddbf2c629fd3c20d001c504a28bb3705890270ba4ea1f4e5e7f [INFO] running `Command { std: "docker" "start" "-a" "3d0e6f4ade330ddbf2c629fd3c20d001c504a28bb3705890270ba4ea1f4e5e7f", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.18 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling gcc v0.3.41 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking rustc-serialize v0.3.22 [INFO] [stderr] Checking regex-syntax v0.4.0 [INFO] [stderr] Checking adler32 v0.3.0 [INFO] [stderr] Checking unreachable v0.1.1 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking thread-id v3.0.0 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Checking memchr v1.0.0 [INFO] [stderr] Checking thread_local v0.3.2 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Compiling tempfile v2.1.4 [INFO] [stderr] Checking regex v0.2.0 [INFO] [stderr] Checking time v0.1.35 [INFO] [stderr] Documenting dedup v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.57s [INFO] running `Command { std: "docker" "inspect" "3d0e6f4ade330ddbf2c629fd3c20d001c504a28bb3705890270ba4ea1f4e5e7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d0e6f4ade330ddbf2c629fd3c20d001c504a28bb3705890270ba4ea1f4e5e7f", kill_on_drop: false }` [INFO] [stdout] 3d0e6f4ade330ddbf2c629fd3c20d001c504a28bb3705890270ba4ea1f4e5e7f