[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 beta-2021-11-30 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-26/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-26/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/michael-robbins/filemerger on toolchain beta-2021-11-30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-11-30" "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-26/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" "+beta-2021-11-30" "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 bzip2-sys v0.1.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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" "+beta-2021-11-30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 05f0ea63eae28463103f20dc197cb1207ca6069e0e0bba04a57398a6e4f9bfdb [INFO] running `Command { std: "docker" "start" "-a" "05f0ea63eae28463103f20dc197cb1207ca6069e0e0bba04a57398a6e4f9bfdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "05f0ea63eae28463103f20dc197cb1207ca6069e0e0bba04a57398a6e4f9bfdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05f0ea63eae28463103f20dc197cb1207ca6069e0e0bba04a57398a6e4f9bfdb", kill_on_drop: false }` [INFO] [stdout] 05f0ea63eae28463103f20dc197cb1207ca6069e0e0bba04a57398a6e4f9bfdb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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" "+beta-2021-11-30" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f31a24e7f1fff7ebbc24370050d1a26ef0e063588e17cba9d312719c936d681 [INFO] running `Command { std: "docker" "start" "-a" "5f31a24e7f1fff7ebbc24370050d1a26ef0e063588e17cba9d312719c936d681", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling ucd-util v0.1.2 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling byteorder v1.2.7 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Compiling miniz-sys v0.1.11 [INFO] [stderr] Compiling bzip2-sys v0.1.6 [INFO] [stderr] Compiling yaml-rust v0.4.2 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling regex-syntax v0.6.2 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling flate2 v0.2.20 [INFO] [stderr] Compiling bzip2 v0.3.3 [INFO] [stderr] Compiling csv v0.15.0 [INFO] [stderr] Compiling regex v1.0.5 [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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.80s [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5f31a24e7f1fff7ebbc24370050d1a26ef0e063588e17cba9d312719c936d681", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f31a24e7f1fff7ebbc24370050d1a26ef0e063588e17cba9d312719c936d681", kill_on_drop: false }` [INFO] [stdout] 5f31a24e7f1fff7ebbc24370050d1a26ef0e063588e17cba9d312719c936d681 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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" "+beta-2021-11-30" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be3218b880ae561cd36edeae43ed6227220089f3757153a381611e40bc25c99d [INFO] running `Command { std: "docker" "start" "-a" "be3218b880ae561cd36edeae43ed6227220089f3757153a381611e40bc25c99d", 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 7.96s [INFO] running `Command { std: "docker" "inspect" "be3218b880ae561cd36edeae43ed6227220089f3757153a381611e40bc25c99d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be3218b880ae561cd36edeae43ed6227220089f3757153a381611e40bc25c99d", kill_on_drop: false }` [INFO] [stdout] be3218b880ae561cd36edeae43ed6227220089f3757153a381611e40bc25c99d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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" "+beta-2021-11-30" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 418fb34d818690dc553b07d1a949e46e23d529677d965d323665d1e1146f6bf3 [INFO] running `Command { std: "docker" "start" "-a" "418fb34d818690dc553b07d1a949e46e23d529677d965d323665d1e1146f6bf3", 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.14s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/file_merger-106e105297fb5216) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test merge_file::tests::fast_forward ... ok [INFO] [stdout] test merge_file_manager::tests::cache_to_vec ... ok [INFO] [stdout] test merge_file::tests::new ... ok [INFO] [stdout] test merge_file::tests::impl_ordering_and_equality ... ok [INFO] [stdout] test merge_file::tests::impl_formatting ... ok [INFO] [stdout] test merge_file_manager::tests::write_cache ... ok [INFO] [stdout] test merge_file_manager::tests::begin_merge ... ok [INFO] [stdout] test merge_file::tests::fast_forward_to_end ... 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::retrieve_from_cache ... ok [INFO] [stdout] test merge_file::tests::impl_iterator ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- merge_file::tests::impl_iterator stdout ---- [INFO] [stdout] thread 'merge_file::tests::impl_iterator' panicked at 'assertion failed: result.is_ok()', src/merge_file.rs:333:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55aa5b97ce9c - std::backtrace_rs::backtrace::libunwind::trace::hc534939746d0ae42 [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x55aa5b97ce9c - std::backtrace_rs::backtrace::trace_unsynchronized::h6b8f882146644430 [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55aa5b97ce9c - std::sys_common::backtrace::_print_fmt::h178c3a343658778c [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55aa5b97ce9c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h5321e7c94e7f76d6 [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55aa5b9a01dc - core::fmt::write::h4177df205e3207df [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/core/src/fmt/mod.rs:1149:17 [INFO] [stdout] 5: 0x55aa5b978985 - std::io::Write::write_fmt::h0f55d8f487d17094 [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/std/src/io/mod.rs:1697:15 [INFO] [stdout] 6: 0x55aa5b97e8f0 - std::sys_common::backtrace::_print::he542ad00850be793 [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55aa5b97e8f0 - std::sys_common::backtrace::print::h8eef2bd9b56f47f2 [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55aa5b97e8f0 - std::panicking::default_hook::{{closure}}::h8fb907b12ce9712e [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/std/src/panicking.rs:211:50 [INFO] [stdout] 9: 0x55aa5b97e4d6 - std::panicking::default_hook::ha5602a345e8a4e41 [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/std/src/panicking.rs:225:9 [INFO] [stdout] 10: 0x55aa5b97efa4 - std::panicking::rust_panic_with_hook::hf32fdbf39ade091f [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/std/src/panicking.rs:606:17 [INFO] [stdout] 11: 0x55aa5b97ea52 - std::panicking::begin_panic_handler::{{closure}}::h8b40c093e364b9b7 [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/std/src/panicking.rs:500:13 [INFO] [stdout] 12: 0x55aa5b97d344 - std::sys_common::backtrace::__rust_end_short_backtrace::h3ff630d901329a35 [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/std/src/sys_common/backtrace.rs:139:18 [INFO] [stdout] 13: 0x55aa5b97e9e9 - rust_begin_unwind [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/std/src/panicking.rs:498:5 [INFO] [stdout] 14: 0x55aa5b89d921 - core::panicking::panic_fmt::h74f9fec01e0efc2d [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/core/src/panicking.rs:107:14 [INFO] [stdout] 15: 0x55aa5b89d86d - core::panicking::panic::h14b34556179bc029 [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/core/src/panicking.rs:48:5 [INFO] [stdout] 16: 0x55aa5b8b84d5 - file_merger::merge_file::tests::impl_iterator::h661c0bd6ed61c369 [INFO] [stdout] at /opt/rustwide/workdir/src/merge_file.rs:333:9 [INFO] [stdout] 17: 0x55aa5b8b7f8a - file_merger::merge_file::tests::impl_iterator::{{closure}}::h8b36923da050cda4 [INFO] [stdout] at /opt/rustwide/workdir/src/merge_file.rs:317:5 [INFO] [stdout] 18: 0x55aa5b8a43ee - core::ops::function::FnOnce::call_once::h58c9261ae1888488 [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 19: 0x55aa5b9033c3 - core::ops::function::FnOnce::call_once::h1efdf8831cbe553f [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x55aa5b9033c3 - test::__rust_begin_short_backtrace::h0b35e710c36cd9a0 [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/test/src/lib.rs:585:5 [INFO] [stdout] 21: 0x55aa5b901fd7 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::he15cbd6a049610ef [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 22: 0x55aa5b901fd7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h46f4118d12807366 [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 23: 0x55aa5b901fd7 - std::panicking::try::do_call::he72099bfb52eb35b [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/std/src/panicking.rs:406:40 [INFO] [stdout] 24: 0x55aa5b901fd7 - std::panicking::try::h941266232d2749ab [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/std/src/panicking.rs:370:19 [INFO] [stdout] 25: 0x55aa5b901fd7 - std::panic::catch_unwind::he5606b2d8a805991 [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/std/src/panic.rs:133:14 [INFO] [stdout] 26: 0x55aa5b901fd7 - test::run_test_in_process::h8c906b4487d1b96d [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/test/src/lib.rs:608:18 [INFO] [stdout] 27: 0x55aa5b901fd7 - test::run_test::run_test_inner::{{closure}}::h37ad38432d9d5cfc [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/test/src/lib.rs:500:39 [INFO] [stdout] 28: 0x55aa5b8cf49e - test::run_test::run_test_inner::{{closure}}::h75c29073a41e7ab8 [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/test/src/lib.rs:527:37 [INFO] [stdout] 29: 0x55aa5b8cf49e - std::sys_common::backtrace::__rust_begin_short_backtrace::hafbfa87e07910bba [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/std/src/sys_common/backtrace.rs:123:18 [INFO] [stdout] 30: 0x55aa5b8d41d8 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h6a40b1642f9329e8 [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/std/src/thread/mod.rs:484:17 [INFO] [stdout] 31: 0x55aa5b8d41d8 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h570e68232d947237 [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 32: 0x55aa5b8d41d8 - std::panicking::try::do_call::hdaece62c2ee09687 [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/std/src/panicking.rs:406:40 [INFO] [stdout] 33: 0x55aa5b8d41d8 - std::panicking::try::h7d3a7a09dc9de3fa [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/std/src/panicking.rs:370:19 [INFO] [stdout] 34: 0x55aa5b8d41d8 - std::panic::catch_unwind::h02b55809c8e4572f [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/std/src/panic.rs:133:14 [INFO] [stdout] 35: 0x55aa5b8d41d8 - std::thread::Builder::spawn_unchecked::{{closure}}::h8a3286a479dd422d [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/std/src/thread/mod.rs:483:30 [INFO] [stdout] 36: 0x55aa5b8d41d8 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h2636c127e92e3a74 [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 37: 0x55aa5b984003 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h992aa775811728ca [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 38: 0x55aa5b984003 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h15f4030f59f40e4c [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 39: 0x55aa5b984003 - std::sys::unix::thread::Thread::new::thread_start::hd83e13d4fcd38086 [INFO] [stdout] at /rustc/426b94d7df183ac00ed4492541d92855181e9c4e/library/std/src/sys/unix/thread.rs:106:17 [INFO] [stdout] 40: 0x7fb77c240609 - start_thread [INFO] [stdout] 41: 0x7fb77c012293 - clone [INFO] [stdout] 42: 0x0 - <unknown> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] merge_file::tests::impl_iterator [INFO] [stdout] [INFO] [stdout] test result: FAILED. 11 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--bin file-merger' [INFO] running `Command { std: "docker" "inspect" "418fb34d818690dc553b07d1a949e46e23d529677d965d323665d1e1146f6bf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "418fb34d818690dc553b07d1a949e46e23d529677d965d323665d1e1146f6bf3", kill_on_drop: false }` [INFO] [stdout] 418fb34d818690dc553b07d1a949e46e23d529677d965d323665d1e1146f6bf3