[INFO] cloning repository https://github.com/michael-robbins/filemerger [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/michael-robbins/filemerger" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichael-robbins%2Ffilemerger", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichael-robbins%2Ffilemerger'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4d71225f56ffa8ba8609693fcf7ef8f4f20a7ada [INFO] testing michael-robbins/filemerger against 1.57.0 for beta-1.58-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichael-robbins%2Ffilemerger" "/workspace/builds/worker-91/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-91/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/michael-robbins/filemerger on toolchain 1.57.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.57.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/michael-robbins/filemerger [INFO] finished tweaking git repo https://github.com/michael-robbins/filemerger [INFO] tweaked toml for git repo https://github.com/michael-robbins/filemerger written to /workspace/builds/worker-91/source/Cargo.toml [INFO] crate git repo https://github.com/michael-robbins/filemerger already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.57.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/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:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+1.57.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8387ab638efd7a8685b8ec8899ad29769b4ae723bd36cd926c78f93e830fdd01 [INFO] running `Command { std: "docker" "start" "-a" "8387ab638efd7a8685b8ec8899ad29769b4ae723bd36cd926c78f93e830fdd01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8387ab638efd7a8685b8ec8899ad29769b4ae723bd36cd926c78f93e830fdd01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8387ab638efd7a8685b8ec8899ad29769b4ae723bd36cd926c78f93e830fdd01", kill_on_drop: false }` [INFO] [stdout] 8387ab638efd7a8685b8ec8899ad29769b4ae723bd36cd926c78f93e830fdd01 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+1.57.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 35c576fa7b887676ac6e0da49a8cdd79508dd14c12b51b8f5f2a8e25567cc463 [INFO] running `Command { std: "docker" "start" "-a" "35c576fa7b887676ac6e0da49a8cdd79508dd14c12b51b8f5f2a8e25567cc463", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling regex v1.0.5 [INFO] [stderr] Compiling ucd-util v0.1.2 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling termcolor v1.0.4 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling byteorder v1.2.7 [INFO] [stderr] Compiling linked-hash-map v0.5.1 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling humantime v1.1.1 [INFO] [stderr] Compiling getopts v0.2.18 [INFO] [stderr] Compiling regex-syntax v0.6.2 [INFO] [stderr] Compiling yaml-rust v0.4.2 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling csv v0.15.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling bzip2-sys v0.1.6 [INFO] [stderr] Compiling miniz-sys v0.1.11 [INFO] [stderr] Compiling flate2 v0.2.20 [INFO] [stderr] Compiling bzip2 v0.3.3 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling file-merger v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/merge_file_manager.rs:79:18 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(RustcDecodable,Debug)] [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/merge_file_manager.rs:96:32 [INFO] [stdout] | [INFO] [stdout] 96 | let metadata = try!(fs::metadata(filename)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/merge_file.rs:29:32 [INFO] [stdout] | [INFO] [stdout] 29 | lines: Lines<BufReader<Box<Read>>>, [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/merge_file.rs:58:20 [INFO] [stdout] | [INFO] [stdout] 58 | let file = try!(File::open(filepath)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/merge_file.rs:59:24 [INFO] [stdout] | [INFO] [stdout] 59 | let filesize = try!(file.metadata()).len(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/merge_file.rs:62:31 [INFO] [stdout] | [INFO] [stdout] 62 | let decompressor: Box<Read> = match file_ext.to_str() { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/settings.rs:56:30 [INFO] [stdout] | [INFO] [stdout] 56 | let delimiter_char = try!(self.parse_delimiter()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/settings.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 57 | let key_index = try!(self.parse_key_index()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/settings.rs:58:28 [INFO] [stdout] | [INFO] [stdout] 58 | let glob_choices = try!(self.parse_glob()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/settings.rs:59:26 [INFO] [stdout] | [INFO] [stdout] 59 | let cache_path = try!(self.parse_cache_file()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/settings.rs:68:25 [INFO] [stdout] | [INFO] [stdout] 68 | let key_start = try!(self.parse_key_generic("key-start")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/settings.rs:69:23 [INFO] [stdout] | [INFO] [stdout] 69 | let key_end = try!(self.parse_key_generic("key-end")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/settings.rs:71:24 [INFO] [stdout] | [INFO] [stdout] 71 | let key_type = try!(self.parse_key_type()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `beginning_merge_key` [INFO] [stdout] --> src/merge_file_manager.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | beginning_merge_key: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/settings.rs:38:36 [INFO] [stdout] | [INFO] [stdout] 38 | Err(failure) => panic!(failure.to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html> [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 38 | Err(failure) => panic!("{}", failure.to_string()), [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.76s [INFO] running `Command { std: "docker" "inspect" "35c576fa7b887676ac6e0da49a8cdd79508dd14c12b51b8f5f2a8e25567cc463", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35c576fa7b887676ac6e0da49a8cdd79508dd14c12b51b8f5f2a8e25567cc463", kill_on_drop: false }` [INFO] [stdout] 35c576fa7b887676ac6e0da49a8cdd79508dd14c12b51b8f5f2a8e25567cc463 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+1.57.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5045911d6e9875927f24c3387c3e78937297d09ed0581e7f3b5c7fc1ee7bbdcf [INFO] running `Command { std: "docker" "start" "-a" "5045911d6e9875927f24c3387c3e78937297d09ed0581e7f3b5c7fc1ee7bbdcf", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling file-merger v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/merge_file_manager.rs:79:18 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(RustcDecodable,Debug)] [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/merge_file_manager.rs:96:32 [INFO] [stdout] | [INFO] [stdout] 96 | let metadata = try!(fs::metadata(filename)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/merge_file.rs:29:32 [INFO] [stdout] | [INFO] [stdout] 29 | lines: Lines<BufReader<Box<Read>>>, [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/merge_file.rs:58:20 [INFO] [stdout] | [INFO] [stdout] 58 | let file = try!(File::open(filepath)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/merge_file.rs:59:24 [INFO] [stdout] | [INFO] [stdout] 59 | let filesize = try!(file.metadata()).len(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/merge_file.rs:62:31 [INFO] [stdout] | [INFO] [stdout] 62 | let decompressor: Box<Read> = match file_ext.to_str() { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/settings.rs:56:30 [INFO] [stdout] | [INFO] [stdout] 56 | let delimiter_char = try!(self.parse_delimiter()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/settings.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 57 | let key_index = try!(self.parse_key_index()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/settings.rs:58:28 [INFO] [stdout] | [INFO] [stdout] 58 | let glob_choices = try!(self.parse_glob()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/settings.rs:59:26 [INFO] [stdout] | [INFO] [stdout] 59 | let cache_path = try!(self.parse_cache_file()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/settings.rs:68:25 [INFO] [stdout] | [INFO] [stdout] 68 | let key_start = try!(self.parse_key_generic("key-start")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/settings.rs:69:23 [INFO] [stdout] | [INFO] [stdout] 69 | let key_end = try!(self.parse_key_generic("key-end")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/settings.rs:71:24 [INFO] [stdout] | [INFO] [stdout] 71 | let key_type = try!(self.parse_key_type()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `beginning_merge_key` [INFO] [stdout] --> src/merge_file_manager.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | beginning_merge_key: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/settings.rs:38:36 [INFO] [stdout] | [INFO] [stdout] 38 | Err(failure) => panic!(failure.to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html> [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 38 | Err(failure) => panic!("{}", failure.to_string()), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.56s [INFO] running `Command { std: "docker" "inspect" "5045911d6e9875927f24c3387c3e78937297d09ed0581e7f3b5c7fc1ee7bbdcf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5045911d6e9875927f24c3387c3e78937297d09ed0581e7f3b5c7fc1ee7bbdcf", kill_on_drop: false }` [INFO] [stdout] 5045911d6e9875927f24c3387c3e78937297d09ed0581e7f3b5c7fc1ee7bbdcf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+1.57.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 993f785ce74e0f43a56ea46104f229829bd6b184205c11b2f8c50db621fa877d [INFO] running `Command { std: "docker" "start" "-a" "993f785ce74e0f43a56ea46104f229829bd6b184205c11b2f8c50db621fa877d", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stderr] --> src/merge_file_manager.rs:79:18 [INFO] [stderr] | [INFO] [stderr] 79 | #[derive(RustcDecodable,Debug)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/merge_file_manager.rs:96:32 [INFO] [stderr] | [INFO] [stderr] 96 | let metadata = try!(fs::metadata(filename)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/merge_file.rs:29:32 [INFO] [stderr] | [INFO] [stderr] 29 | lines: Lines<BufReader<Box<Read>>>, [INFO] [stderr] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/merge_file.rs:58:20 [INFO] [stderr] | [INFO] [stderr] 58 | let file = try!(File::open(filepath)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/merge_file.rs:59:24 [INFO] [stderr] | [INFO] [stderr] 59 | let filesize = try!(file.metadata()).len(); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/merge_file.rs:62:31 [INFO] [stderr] | [INFO] [stderr] 62 | let decompressor: Box<Read> = match file_ext.to_str() { [INFO] [stderr] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/settings.rs:56:30 [INFO] [stderr] | [INFO] [stderr] 56 | let delimiter_char = try!(self.parse_delimiter()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/settings.rs:57:25 [INFO] [stderr] | [INFO] [stderr] 57 | let key_index = try!(self.parse_key_index()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/settings.rs:58:28 [INFO] [stderr] | [INFO] [stderr] 58 | let glob_choices = try!(self.parse_glob()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/settings.rs:59:26 [INFO] [stderr] | [INFO] [stderr] 59 | let cache_path = try!(self.parse_cache_file()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/settings.rs:68:25 [INFO] [stderr] | [INFO] [stderr] 68 | let key_start = try!(self.parse_key_generic("key-start")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/settings.rs:69:23 [INFO] [stderr] | [INFO] [stderr] 69 | let key_end = try!(self.parse_key_generic("key-end")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/settings.rs:71:24 [INFO] [stderr] | [INFO] [stderr] 71 | let key_type = try!(self.parse_key_type()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `beginning_merge_key` [INFO] [stderr] --> src/merge_file_manager.rs:82:13 [INFO] [stderr] | [INFO] [stderr] 82 | beginning_merge_key: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/settings.rs:38:36 [INFO] [stderr] | [INFO] [stderr] 38 | Err(failure) => panic!(failure.to_string()), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html> [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 38 | Err(failure) => panic!("{}", failure.to_string()), [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: `file-merger` (bin "file-merger" test) generated 15 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/file_merger-bf5d757407d75032) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test merge_file::tests::fast_forward_to_end ... ok [INFO] [stdout] test merge_file::tests::new ... ok [INFO] [stdout] test merge_file::tests::impl_formatting ... ok [INFO] [stdout] test merge_file::tests::fast_forward ... ok [INFO] [stdout] test merge_file::tests::impl_iterator ... ok [INFO] [stdout] test merge_file::tests::impl_ordering_and_equality ... ok [INFO] [stdout] test merge_file_manager::tests::new_merge_file ... ok [INFO] [stdout] test merge_file_manager::tests::retrieve_from_glob ... ok [INFO] [stdout] test merge_file_manager::tests::begin_merge ... ok [INFO] [stdout] test merge_file_manager::tests::write_cache ... ok [INFO] [stdout] test merge_file_manager::tests::retrieve_from_cache ... ok [INFO] [stdout] test merge_file_manager::tests::cache_to_vec ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "993f785ce74e0f43a56ea46104f229829bd6b184205c11b2f8c50db621fa877d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "993f785ce74e0f43a56ea46104f229829bd6b184205c11b2f8c50db621fa877d", kill_on_drop: false }` [INFO] [stdout] 993f785ce74e0f43a56ea46104f229829bd6b184205c11b2f8c50db621fa877d