[INFO] cloning repository https://github.com/tari/warcdedupe [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tari/warcdedupe" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftari%2Fwarcdedupe", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftari%2Fwarcdedupe'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 56f8b748ac21d849d3e998a9023ff300c90351b5 [INFO] testing tari/warcdedupe against 1.49.0 for beta-1.50-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftari%2Fwarcdedupe" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tari/warcdedupe on toolchain 1.49.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tari/warcdedupe [INFO] finished tweaking git repo https://github.com/tari/warcdedupe [INFO] tweaked toml for git repo https://github.com/tari/warcdedupe written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/tari/warcdedupe already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 11894019264c40f936d86f4b19d69385ba93ac9ddb00a971a0422b1d988503e4 [INFO] running `Command { std: "docker" "start" "-a" "11894019264c40f936d86f4b19d69385ba93ac9ddb00a971a0422b1d988503e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "11894019264c40f936d86f4b19d69385ba93ac9ddb00a971a0422b1d988503e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11894019264c40f936d86f4b19d69385ba93ac9ddb00a971a0422b1d988503e4", kill_on_drop: false }` [INFO] [stdout] 11894019264c40f936d86f4b19d69385ba93ac9ddb00a971a0422b1d988503e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e5b5162dd14347d0d41c8ee98662e2c65dd379e0b732b235f9f30231f086c11 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5e5b5162dd14347d0d41c8ee98662e2c65dd379e0b732b235f9f30231f086c11", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling build_const v0.2.1 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling regex v0.2.10 [INFO] [stderr] Compiling byte-tools v0.2.0 [INFO] [stderr] Compiling arrayref v0.3.4 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling serde v1.0.38 [INFO] [stderr] Compiling byteorder v1.2.2 [INFO] [stderr] Compiling adler32 v1.0.2 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling httparse v1.2.4 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling errno v0.2.3 [INFO] [stderr] Compiling log v0.4.1 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling block-buffer v0.3.3 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Compiling synstructure v0.6.1 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling regex-syntax v0.5.5 [INFO] [stderr] Compiling serde_derive_internals v0.23.1 [INFO] [stderr] Compiling aho-corasick v0.6.4 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling backtrace v0.3.6 [INFO] [stderr] Compiling crc v1.7.0 [INFO] [stderr] Compiling libflate v0.1.14 [INFO] [stderr] Compiling failure_derive v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.38 [INFO] [stderr] Compiling generic-array v0.9.0 [INFO] [stderr] Compiling digest v0.7.2 [INFO] [stderr] Compiling sha-1 v0.7.0 [INFO] [stderr] Compiling failure v0.1.1 [INFO] [stderr] Compiling docopt v0.8.3 [INFO] [stderr] Compiling warcdedupe v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Result as IoResult` [INFO] [stdout] --> src/reader.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{Error as IoError, Result as IoResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reader.rs:54:32 [INFO] [stdout] | [INFO] [stdout] 54 | fn cause(&self) -> Option<&StdError> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn StdError` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reader.rs:229:32 [INFO] [stdout] | [INFO] [stdout] 229 | fn cause(&self) -> Option<&StdError> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn StdError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | / lazy_static! { [INFO] [stdout] 271 | | static ref RE: Regex = Regex::new(r"^WARC/(\d+)\.(\d+)\r\n") [INFO] [stdout] 272 | | .expect("Version regex invalid"); [INFO] [stdout] 273 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:321:9 [INFO] [stdout] | [INFO] [stdout] 321 | / lazy_static! { [INFO] [stdout] 322 | | static ref RE: Regex = Regex::new(r"^([a-zA-Z_\-]+): *(.*?)\r\n") [INFO] [stdout] 323 | | .expect("Field regex invalid"); [INFO] [stdout] 324 | | static ref CONTINUATION: Regex = Regex::new(r"^[ \t]+(.*?)\r\n") [INFO] [stdout] 325 | | .expect("Continuation regex invalid"); [INFO] [stdout] 326 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:321:9 [INFO] [stdout] | [INFO] [stdout] 321 | / lazy_static! { [INFO] [stdout] 322 | | static ref RE: Regex = Regex::new(r"^([a-zA-Z_\-]+): *(.*?)\r\n") [INFO] [stdout] 323 | | .expect("Field regex invalid"); [INFO] [stdout] 324 | | static ref CONTINUATION: Regex = Regex::new(r"^[ \t]+(.*?)\r\n") [INFO] [stdout] 325 | | .expect("Continuation regex invalid"); [INFO] [stdout] 326 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::ascii::AsciiExt::is_ascii`: use inherent methods instead [INFO] [stdout] --> src/lib.rs:338:43 [INFO] [stdout] | [INFO] [stdout] 338 | debug_assert!(m[1].iter().all(std::ascii::AsciiExt::is_ascii)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:83:46 [INFO] [stdout] | [INFO] [stdout] 83 | e1.kind() == e2.kind() && e1.description() == e2.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:83:66 [INFO] [stdout] | [INFO] [stdout] 83 | e1.kind() == e2.kind() && e1.description() == e2.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:93:51 [INFO] [stdout] | [INFO] [stdout] 93 | write!(f, "Invalid WARC header: {}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/reader.rs:50:34 [INFO] [stdout] | [INFO] [stdout] 50 | &IoError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/reader.rs:215:34 [INFO] [stdout] | [INFO] [stdout] 215 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/reader.rs:225:29 [INFO] [stdout] | [INFO] [stdout] 225 | &Io(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/warcdedupe.rs:64:74 [INFO] [stdout] | [INFO] [stdout] 64 | fn open_input_stream(p: Option, compressed_stream: bool) -> Box { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn BufRead` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/warcdedupe.rs:87:73 [INFO] [stdout] | [INFO] [stdout] 87 | fn open_output_stream(p: Option, compress_stream: bool) -> Box { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/warcdedupe.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | / lazy_static!{ [INFO] [stdout] 60 | | static ref STDIN: std::io::Stdin = std::io::stdin(); [INFO] [stdout] 61 | | static ref STDOUT: std::io::Stdout = std::io::stdout(); [INFO] [stdout] 62 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/warcdedupe.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | / lazy_static!{ [INFO] [stdout] 60 | | static ref STDIN: std::io::Stdin = std::io::stdin(); [INFO] [stdout] 61 | | static ref STDOUT: std::io::Stdout = std::io::stdout(); [INFO] [stdout] 62 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/bin/warcdedupe.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | let mut output = open_output_stream(args.arg_outfile, args.flag_compress_output); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/bin/warcdedupe.rs:145:21 [INFO] [stdout] | [INFO] [stdout] 145 | Err(e) => unimplemented!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/warcdedupe.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | let mut output = open_output_stream(args.arg_outfile, args.flag_compress_output); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 34.03s [INFO] running `Command { std: "docker" "inspect" "5e5b5162dd14347d0d41c8ee98662e2c65dd379e0b732b235f9f30231f086c11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e5b5162dd14347d0d41c8ee98662e2c65dd379e0b732b235f9f30231f086c11", kill_on_drop: false }` [INFO] [stdout] 5e5b5162dd14347d0d41c8ee98662e2c65dd379e0b732b235f9f30231f086c11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff039938e22c293d263ab6bdb64c72b549fe816a54b7398b71e276722b959c79 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ff039938e22c293d263ab6bdb64c72b549fe816a54b7398b71e276722b959c79", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.2 [INFO] [stderr] Compiling cast v0.2.2 [INFO] [stderr] Compiling pest v1.0.6 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling quick-error v1.2.1 [INFO] [stderr] Compiling thread-scoped v1.0.2 [INFO] [stderr] Compiling time v0.1.39 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling term v0.5.1 [INFO] [stdout] warning: unused import: `Result as IoResult` [INFO] [stdout] --> src/reader.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{Error as IoError, Result as IoResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reader.rs:54:32 [INFO] [stdout] | [INFO] [stdout] 54 | fn cause(&self) -> Option<&StdError> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn StdError` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reader.rs:229:32 [INFO] [stdout] | [INFO] [stdout] 229 | fn cause(&self) -> Option<&StdError> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn StdError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | / lazy_static! { [INFO] [stdout] 271 | | static ref RE: Regex = Regex::new(r"^WARC/(\d+)\.(\d+)\r\n") [INFO] [stdout] 272 | | .expect("Version regex invalid"); [INFO] [stdout] 273 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:321:9 [INFO] [stdout] | [INFO] [stdout] 321 | / lazy_static! { [INFO] [stdout] 322 | | static ref RE: Regex = Regex::new(r"^([a-zA-Z_\-]+): *(.*?)\r\n") [INFO] [stdout] 323 | | .expect("Field regex invalid"); [INFO] [stdout] 324 | | static ref CONTINUATION: Regex = Regex::new(r"^[ \t]+(.*?)\r\n") [INFO] [stdout] 325 | | .expect("Continuation regex invalid"); [INFO] [stdout] 326 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:321:9 [INFO] [stdout] | [INFO] [stdout] 321 | / lazy_static! { [INFO] [stdout] 322 | | static ref RE: Regex = Regex::new(r"^([a-zA-Z_\-]+): *(.*?)\r\n") [INFO] [stdout] 323 | | .expect("Field regex invalid"); [INFO] [stdout] 324 | | static ref CONTINUATION: Regex = Regex::new(r"^[ \t]+(.*?)\r\n") [INFO] [stdout] 325 | | .expect("Continuation regex invalid"); [INFO] [stdout] 326 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::ascii::AsciiExt::is_ascii`: use inherent methods instead [INFO] [stdout] --> src/lib.rs:338:43 [INFO] [stdout] | [INFO] [stdout] 338 | debug_assert!(m[1].iter().all(std::ascii::AsciiExt::is_ascii)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:83:46 [INFO] [stdout] | [INFO] [stdout] 83 | e1.kind() == e2.kind() && e1.description() == e2.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:83:66 [INFO] [stdout] | [INFO] [stdout] 83 | e1.kind() == e2.kind() && e1.description() == e2.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:93:51 [INFO] [stdout] | [INFO] [stdout] 93 | write!(f, "Invalid WARC header: {}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/reader.rs:50:34 [INFO] [stdout] | [INFO] [stdout] 50 | &IoError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/reader.rs:215:34 [INFO] [stdout] | [INFO] [stdout] 215 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/reader.rs:225:29 [INFO] [stdout] | [INFO] [stdout] 225 | &Io(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling itertools v0.7.8 [INFO] [stderr] Compiling pest_derive v1.0.7 [INFO] [stderr] Compiling num-integer v0.1.36 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling serde_json v1.0.14 [INFO] [stderr] Compiling criterion-stats v0.2.3 [INFO] [stderr] Compiling itertools-num v0.1.1 [INFO] [stderr] Compiling chrono v0.4.2 [INFO] [stderr] Compiling criterion-plot v0.2.3 [INFO] [stderr] Compiling simplelog v0.5.1 [INFO] [stderr] Compiling handlebars v0.31.0 [INFO] [stderr] Compiling criterion v0.2.3 [INFO] [stderr] Compiling warcdedupe v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Result as IoResult` [INFO] [stdout] --> src/reader.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{Error as IoError, Result as IoResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reader.rs:54:32 [INFO] [stdout] | [INFO] [stdout] 54 | fn cause(&self) -> Option<&StdError> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn StdError` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reader.rs:229:32 [INFO] [stdout] | [INFO] [stdout] 229 | fn cause(&self) -> Option<&StdError> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn StdError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | / lazy_static! { [INFO] [stdout] 271 | | static ref RE: Regex = Regex::new(r"^WARC/(\d+)\.(\d+)\r\n") [INFO] [stdout] 272 | | .expect("Version regex invalid"); [INFO] [stdout] 273 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:321:9 [INFO] [stdout] | [INFO] [stdout] 321 | / lazy_static! { [INFO] [stdout] 322 | | static ref RE: Regex = Regex::new(r"^([a-zA-Z_\-]+): *(.*?)\r\n") [INFO] [stdout] 323 | | .expect("Field regex invalid"); [INFO] [stdout] 324 | | static ref CONTINUATION: Regex = Regex::new(r"^[ \t]+(.*?)\r\n") [INFO] [stdout] 325 | | .expect("Continuation regex invalid"); [INFO] [stdout] 326 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:321:9 [INFO] [stdout] | [INFO] [stdout] 321 | / lazy_static! { [INFO] [stdout] 322 | | static ref RE: Regex = Regex::new(r"^([a-zA-Z_\-]+): *(.*?)\r\n") [INFO] [stdout] 323 | | .expect("Field regex invalid"); [INFO] [stdout] 324 | | static ref CONTINUATION: Regex = Regex::new(r"^[ \t]+(.*?)\r\n") [INFO] [stdout] 325 | | .expect("Continuation regex invalid"); [INFO] [stdout] 326 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::ascii::AsciiExt::is_ascii`: use inherent methods instead [INFO] [stdout] --> src/lib.rs:338:43 [INFO] [stdout] | [INFO] [stdout] 338 | debug_assert!(m[1].iter().all(std::ascii::AsciiExt::is_ascii)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/warcdedupe.rs:64:74 [INFO] [stdout] | [INFO] [stdout] 64 | fn open_input_stream(p: Option, compressed_stream: bool) -> Box { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn BufRead` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/warcdedupe.rs:87:73 [INFO] [stdout] | [INFO] [stdout] 87 | fn open_output_stream(p: Option, compress_stream: bool) -> Box { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/warcdedupe.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | / lazy_static!{ [INFO] [stdout] 60 | | static ref STDIN: std::io::Stdin = std::io::stdin(); [INFO] [stdout] 61 | | static ref STDOUT: std::io::Stdout = std::io::stdout(); [INFO] [stdout] 62 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/warcdedupe.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | / lazy_static!{ [INFO] [stdout] 60 | | static ref STDIN: std::io::Stdin = std::io::stdin(); [INFO] [stdout] 61 | | static ref STDOUT: std::io::Stdout = std::io::stdout(); [INFO] [stdout] 62 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:83:46 [INFO] [stdout] | [INFO] [stdout] 83 | e1.kind() == e2.kind() && e1.description() == e2.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:83:66 [INFO] [stdout] | [INFO] [stdout] 83 | e1.kind() == e2.kind() && e1.description() == e2.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:93:51 [INFO] [stdout] | [INFO] [stdout] 93 | write!(f, "Invalid WARC header: {}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/reader.rs:50:34 [INFO] [stdout] | [INFO] [stdout] 50 | &IoError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/reader.rs:215:34 [INFO] [stdout] | [INFO] [stdout] 215 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/reader.rs:225:29 [INFO] [stdout] | [INFO] [stdout] 225 | &Io(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/bin/warcdedupe.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | let mut output = open_output_stream(args.arg_outfile, args.flag_compress_output); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/bin/warcdedupe.rs:145:21 [INFO] [stdout] | [INFO] [stdout] 145 | Err(e) => unimplemented!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/warcdedupe.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | let mut output = open_output_stream(args.arg_outfile, args.flag_compress_output); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 23.18s [INFO] running `Command { std: "docker" "inspect" "ff039938e22c293d263ab6bdb64c72b549fe816a54b7398b71e276722b959c79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff039938e22c293d263ab6bdb64c72b549fe816a54b7398b71e276722b959c79", kill_on_drop: false }` [INFO] [stdout] ff039938e22c293d263ab6bdb64c72b549fe816a54b7398b71e276722b959c79 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8dd1e902b8ad63d208d47132928e9cc803f911e7af5339ff73e9de661fbff082 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8dd1e902b8ad63d208d47132928e9cc803f911e7af5339ff73e9de661fbff082", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused import: `Result as IoResult` [INFO] [stderr] --> src/reader.rs:5:33 [INFO] [stderr] | [INFO] [stderr] 5 | use std::io::{Error as IoError, Result as IoResult}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/reader.rs:54:32 [INFO] [stderr] | [INFO] [stderr] 54 | fn cause(&self) -> Option<&StdError> { [INFO] [stderr] | ^^^^^^^^ help: use `dyn`: `dyn StdError` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/reader.rs:229:32 [INFO] [stderr] | [INFO] [stderr] 229 | fn cause(&self) -> Option<&StdError> { [INFO] [stderr] | ^^^^^^^^ help: use `dyn`: `dyn StdError` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/lib.rs:270:9 [INFO] [stderr] | [INFO] [stderr] 270 | / lazy_static! { [INFO] [stderr] 271 | | static ref RE: Regex = Regex::new(r"^WARC/(\d+)\.(\d+)\r\n") [INFO] [stderr] 272 | | .expect("Version regex invalid"); [INFO] [stderr] 273 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/lib.rs:321:9 [INFO] [stderr] | [INFO] [stderr] 321 | / lazy_static! { [INFO] [stderr] 322 | | static ref RE: Regex = Regex::new(r"^([a-zA-Z_\-]+): *(.*?)\r\n") [INFO] [stderr] 323 | | .expect("Field regex invalid"); [INFO] [stderr] 324 | | static ref CONTINUATION: Regex = Regex::new(r"^[ \t]+(.*?)\r\n") [INFO] [stderr] 325 | | .expect("Continuation regex invalid"); [INFO] [stderr] 326 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/lib.rs:321:9 [INFO] [stderr] | [INFO] [stderr] 321 | / lazy_static! { [INFO] [stderr] 322 | | static ref RE: Regex = Regex::new(r"^([a-zA-Z_\-]+): *(.*?)\r\n") [INFO] [stderr] 323 | | .expect("Field regex invalid"); [INFO] [stderr] 324 | | static ref CONTINUATION: Regex = Regex::new(r"^[ \t]+(.*?)\r\n") [INFO] [stderr] 325 | | .expect("Continuation regex invalid"); [INFO] [stderr] 326 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::ascii::AsciiExt::is_ascii`: use inherent methods instead [INFO] [stderr] --> src/lib.rs:338:43 [INFO] [stderr] | [INFO] [stderr] 338 | debug_assert!(m[1].iter().all(std::ascii::AsciiExt::is_ascii)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/lib.rs:83:46 [INFO] [stderr] | [INFO] [stderr] 83 | e1.kind() == e2.kind() && e1.description() == e2.description() [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/lib.rs:83:66 [INFO] [stderr] | [INFO] [stderr] 83 | e1.kind() == e2.kind() && e1.description() == e2.description() [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/lib.rs:93:51 [INFO] [stderr] | [INFO] [stderr] 93 | write!(f, "Invalid WARC header: {}", self.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/reader.rs:50:34 [INFO] [stderr] | [INFO] [stderr] 50 | &IoError(ref e) => e.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/reader.rs:215:34 [INFO] [stderr] | [INFO] [stderr] 215 | write!(f, "{}", self.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/reader.rs:225:29 [INFO] [stderr] | [INFO] [stderr] 225 | &Io(ref e) => e.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 13 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: unused import: `Result as IoResult` [INFO] [stderr] --> src/reader.rs:5:33 [INFO] [stderr] | [INFO] [stderr] 5 | use std::io::{Error as IoError, Result as IoResult}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/reader.rs:54:32 [INFO] [stderr] | [INFO] [stderr] 54 | fn cause(&self) -> Option<&StdError> { [INFO] [stderr] | ^^^^^^^^ help: use `dyn`: `dyn StdError` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/reader.rs:229:32 [INFO] [stderr] | [INFO] [stderr] 229 | fn cause(&self) -> Option<&StdError> { [INFO] [stderr] | ^^^^^^^^ help: use `dyn`: `dyn StdError` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/lib.rs:270:9 [INFO] [stderr] | [INFO] [stderr] 270 | / lazy_static! { [INFO] [stderr] 271 | | static ref RE: Regex = Regex::new(r"^WARC/(\d+)\.(\d+)\r\n") [INFO] [stderr] 272 | | .expect("Version regex invalid"); [INFO] [stderr] 273 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/lib.rs:321:9 [INFO] [stderr] | [INFO] [stderr] 321 | / lazy_static! { [INFO] [stderr] 322 | | static ref RE: Regex = Regex::new(r"^([a-zA-Z_\-]+): *(.*?)\r\n") [INFO] [stderr] 323 | | .expect("Field regex invalid"); [INFO] [stderr] 324 | | static ref CONTINUATION: Regex = Regex::new(r"^[ \t]+(.*?)\r\n") [INFO] [stderr] 325 | | .expect("Continuation regex invalid"); [INFO] [stderr] 326 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/lib.rs:321:9 [INFO] [stderr] | [INFO] [stderr] 321 | / lazy_static! { [INFO] [stderr] 322 | | static ref RE: Regex = Regex::new(r"^([a-zA-Z_\-]+): *(.*?)\r\n") [INFO] [stderr] 323 | | .expect("Field regex invalid"); [INFO] [stderr] 324 | | static ref CONTINUATION: Regex = Regex::new(r"^[ \t]+(.*?)\r\n") [INFO] [stderr] 325 | | .expect("Continuation regex invalid"); [INFO] [stderr] 326 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::ascii::AsciiExt::is_ascii`: use inherent methods instead [INFO] [stderr] --> src/lib.rs:338:43 [INFO] [stderr] | [INFO] [stderr] 338 | debug_assert!(m[1].iter().all(std::ascii::AsciiExt::is_ascii)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/lib.rs:83:46 [INFO] [stderr] | [INFO] [stderr] 83 | e1.kind() == e2.kind() && e1.description() == e2.description() [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/lib.rs:83:66 [INFO] [stderr] | [INFO] [stderr] 83 | e1.kind() == e2.kind() && e1.description() == e2.description() [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/lib.rs:93:51 [INFO] [stderr] | [INFO] [stderr] 93 | write!(f, "Invalid WARC header: {}", self.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/reader.rs:50:34 [INFO] [stderr] | [INFO] [stderr] 50 | &IoError(ref e) => e.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/reader.rs:215:34 [INFO] [stderr] | [INFO] [stderr] 215 | write!(f, "{}", self.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/reader.rs:225:29 [INFO] [stderr] | [INFO] [stderr] 225 | &Io(ref e) => e.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 13 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bin/warcdedupe.rs:64:74 [INFO] [stderr] | [INFO] [stderr] 64 | fn open_input_stream(p: Option, compressed_stream: bool) -> Box { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn BufRead` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bin/warcdedupe.rs:87:73 [INFO] [stderr] | [INFO] [stderr] 87 | fn open_output_stream(p: Option, compress_stream: bool) -> Box { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/bin/warcdedupe.rs:59:1 [INFO] [stderr] | [INFO] [stderr] 59 | / lazy_static!{ [INFO] [stderr] 60 | | static ref STDIN: std::io::Stdin = std::io::stdin(); [INFO] [stderr] 61 | | static ref STDOUT: std::io::Stdout = std::io::stdout(); [INFO] [stderr] 62 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/bin/warcdedupe.rs:59:1 [INFO] [stderr] | [INFO] [stderr] 59 | / lazy_static!{ [INFO] [stderr] 60 | | static ref STDIN: std::io::Stdin = std::io::stdin(); [INFO] [stderr] 61 | | static ref STDOUT: std::io::Stdout = std::io::stdout(); [INFO] [stderr] 62 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `output` [INFO] [stderr] --> src/bin/warcdedupe.rs:111:9 [INFO] [stderr] | [INFO] [stderr] 111 | let mut output = open_output_stream(args.arg_outfile, args.flag_compress_output); [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/bin/warcdedupe.rs:145:21 [INFO] [stderr] | [INFO] [stderr] 145 | Err(e) => unimplemented!(), [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/bin/warcdedupe.rs:111:9 [INFO] [stderr] | [INFO] [stderr] 111 | let mut output = open_output_stream(args.arg_outfile, args.flag_compress_output); [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 7 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/warcio-dd887811d0748e8f [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test tests::invalid_fields_are_invalid ... ok [INFO] [stdout] test tests::truncated_header_is_invalid ... ok [INFO] [stdout] test tests::extra_buffering_works ... ok [INFO] [stdout] test tests::incorrect_signature_is_invalid ... ok [INFO] [stderr] Running /opt/rustwide/target/debug/deps/warcdedupe-6d78965cbb25dced [INFO] [stdout] test tests::can_read_record_header ... ok [INFO] [stderr] Doc-tests warcio [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8dd1e902b8ad63d208d47132928e9cc803f911e7af5339ff73e9de661fbff082", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8dd1e902b8ad63d208d47132928e9cc803f911e7af5339ff73e9de661fbff082", kill_on_drop: false }` [INFO] [stdout] 8dd1e902b8ad63d208d47132928e9cc803f911e7af5339ff73e9de661fbff082