[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 try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [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 ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded docopt v0.8.3 [INFO] [stderr] Downloaded handlebars v0.31.0 [INFO] [stderr] Downloaded lmdb-zero v0.1.0 [INFO] [stderr] Downloaded criterion-plot v0.2.3 [INFO] [stderr] Downloaded criterion v0.2.3 [INFO] [stderr] Downloaded criterion-stats v0.2.3 [INFO] [stderr] Downloaded lmdb-sys v0.6.0 [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cad4f08a85099e612324d925566af76ed8c4f5b6e744d4c2a09e679a7f1f309f [INFO] running `Command { std: "docker" "start" "-a" "cad4f08a85099e612324d925566af76ed8c4f5b6e744d4c2a09e679a7f1f309f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cad4f08a85099e612324d925566af76ed8c4f5b6e744d4c2a09e679a7f1f309f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cad4f08a85099e612324d925566af76ed8c4f5b6e744d4c2a09e679a7f1f309f", kill_on_drop: false }` [INFO] [stdout] cad4f08a85099e612324d925566af76ed8c4f5b6e744d4c2a09e679a7f1f309f [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=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b0a801133603200062b1e0aab8ec121ad78db4ccdd5ed92491de046cf29a2e6d [INFO] running `Command { std: "docker" "start" "-a" "b0a801133603200062b1e0aab8ec121ad78db4ccdd5ed92491de046cf29a2e6d", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.10 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling build_const v0.2.1 [INFO] [stderr] Compiling arrayref v0.3.4 [INFO] [stderr] Compiling serde v1.0.38 [INFO] [stderr] Compiling byteorder v1.2.2 [INFO] [stderr] Compiling strsim v0.6.0 [INFO] [stderr] Compiling adler32 v1.0.2 [INFO] [stderr] Compiling httparse v1.2.4 [INFO] [stderr] Compiling errno v0.2.3 [INFO] [stderr] Compiling proc-macro2 v0.3.6 [INFO] [stderr] Compiling regex-syntax v0.5.5 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling block-buffer v0.3.3 [INFO] [stderr] Compiling crc v1.7.0 [INFO] [stderr] Compiling quote v0.5.1 [INFO] [stderr] Compiling syn v0.13.1 [INFO] [stderr] Compiling libflate v0.1.14 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [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 serde_derive_internals v0.23.1 [INFO] [stderr] Compiling regex v0.2.10 [INFO] [stderr] Compiling serde_derive v1.0.38 [INFO] [stderr] Compiling docopt v0.8.3 [INFO] [stderr] Compiling backtrace v0.3.6 [INFO] [stderr] Compiling failure v0.1.1 [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] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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:13 [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 19.58s [INFO] running `Command { std: "docker" "inspect" "b0a801133603200062b1e0aab8ec121ad78db4ccdd5ed92491de046cf29a2e6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0a801133603200062b1e0aab8ec121ad78db4ccdd5ed92491de046cf29a2e6d", kill_on_drop: false }` [INFO] [stdout] b0a801133603200062b1e0aab8ec121ad78db4ccdd5ed92491de046cf29a2e6d [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=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a3b937d6679ef056c93e58bc87b9a72c2cd44e08dabec74cf4af059578cf479c [INFO] running `Command { std: "docker" "start" "-a" "a3b937d6679ef056c93e58bc87b9a72c2cd44e08dabec74cf4af059578cf479c", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.2 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling itoa v0.4.1 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling pest v1.0.6 [INFO] [stderr] Compiling cast v0.2.2 [INFO] [stderr] Compiling dtoa v0.4.2 [INFO] [stderr] Compiling quick-error v1.2.1 [INFO] [stderr] Compiling vec_map v0.8.0 [INFO] [stderr] Compiling thread-scoped v1.0.2 [INFO] [stderr] Compiling time v0.1.39 [INFO] [stderr] Compiling atty v0.2.8 [INFO] [stderr] Compiling num_cpus v1.8.0 [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] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 textwrap v0.9.0 [INFO] [stderr] Compiling itertools v0.7.8 [INFO] [stderr] Compiling pest_derive v1.0.7 [INFO] [stderr] Compiling clap v2.31.2 [INFO] [stderr] Compiling num-integer v0.1.36 [INFO] [stderr] Compiling serde_json v1.0.14 [INFO] [stderr] Compiling num-traits v0.1.43 [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] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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:13 [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 13.33s [INFO] running `Command { std: "docker" "inspect" "a3b937d6679ef056c93e58bc87b9a72c2cd44e08dabec74cf4af059578cf479c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3b937d6679ef056c93e58bc87b9a72c2cd44e08dabec74cf4af059578cf479c", kill_on_drop: false }` [INFO] [stdout] a3b937d6679ef056c93e58bc87b9a72c2cd44e08dabec74cf4af059578cf479c [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=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3b6d1a520b8958dc78e7b9af9fef81210f391b1079ed4e3b40f0d4340b2905f5 [INFO] running `Command { std: "docker" "start" "-a" "3b6d1a520b8958dc78e7b9af9fef81210f391b1079ed4e3b40f0d4340b2905f5", 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] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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:13 [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.29s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/warcio-b7e3d9cc9aaf018f) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/warcdedupe-6cf6231542b2df48) [INFO] [stdout] test tests::invalid_fields_are_invalid ... ok [INFO] [stderr] Doc-tests warcio [INFO] [stdout] test tests::can_read_record_header ... 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] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [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; finished in 0.00s [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; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3b6d1a520b8958dc78e7b9af9fef81210f391b1079ed4e3b40f0d4340b2905f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b6d1a520b8958dc78e7b9af9fef81210f391b1079ed4e3b40f0d4340b2905f5", kill_on_drop: false }` [INFO] [stdout] 3b6d1a520b8958dc78e7b9af9fef81210f391b1079ed4e3b40f0d4340b2905f5