[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#eafdee2dfae8c2233b74f98b123308be7ccefcc6 for pr-79296 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftari%2Fwarcdedupe" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tari/warcdedupe on toolchain eafdee2dfae8c2233b74f98b123308be7ccefcc6 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "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-11/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" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded errno v0.2.3 [INFO] [stderr] Downloaded docopt v0.8.3 [INFO] [stderr] Downloaded lmdb-sys v0.6.0 [INFO] [stderr] Downloaded thread-scoped v1.0.2 [INFO] [stderr] Downloaded simplelog v0.5.1 [INFO] [stderr] Downloaded serde v1.0.38 [INFO] [stderr] Downloaded itertools v0.7.8 [INFO] [stderr] Downloaded criterion v0.2.3 [INFO] [stderr] Downloaded criterion-stats v0.2.3 [INFO] [stderr] Downloaded itertools-num v0.1.1 [INFO] [stderr] Downloaded criterion-plot v0.2.3 [INFO] [stderr] Downloaded serde_derive v1.0.38 [INFO] [stderr] Downloaded handlebars v0.31.0 [INFO] [stderr] Downloaded lmdb-zero v0.1.0 [INFO] [stderr] Downloaded serde_json v1.0.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 63ecfc25b000d5b05f2df511af1b81f88f02756d779d2c96af6e871670baf9a2 [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" "63ecfc25b000d5b05f2df511af1b81f88f02756d779d2c96af6e871670baf9a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "63ecfc25b000d5b05f2df511af1b81f88f02756d779d2c96af6e871670baf9a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63ecfc25b000d5b05f2df511af1b81f88f02756d779d2c96af6e871670baf9a2", kill_on_drop: false }` [INFO] [stdout] 63ecfc25b000d5b05f2df511af1b81f88f02756d779d2c96af6e871670baf9a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 71869e11037be362a428c8fe847ca77655cc9c2a804251d582c188cf0d5b9f18 [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" "71869e11037be362a428c8fe847ca77655cc9c2a804251d582c188cf0d5b9f18", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.40 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling cc v1.0.10 [INFO] [stderr] Compiling void v1.0.2 [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 utf8-ranges v1.0.0 [INFO] [stderr] Compiling serde v1.0.38 [INFO] [stderr] Compiling byteorder v1.2.2 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling httparse v1.2.4 [INFO] [stderr] Compiling proc-macro2 v0.3.6 [INFO] [stderr] Compiling crc v1.7.0 [INFO] [stderr] Compiling log v0.4.1 [INFO] [stderr] Compiling synstructure v0.6.1 [INFO] [stderr] Compiling regex-syntax v0.5.5 [INFO] [stderr] Compiling block-buffer v0.3.3 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling quote v0.5.1 [INFO] [stderr] Compiling libflate v0.1.14 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling errno v0.2.3 [INFO] [stderr] Compiling syn v0.13.1 [INFO] [stderr] Compiling aho-corasick v0.6.4 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling failure_derive v0.1.1 [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 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] [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 51.52s [INFO] running `Command { std: "docker" "inspect" "71869e11037be362a428c8fe847ca77655cc9c2a804251d582c188cf0d5b9f18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71869e11037be362a428c8fe847ca77655cc9c2a804251d582c188cf0d5b9f18", kill_on_drop: false }` [INFO] [stdout] 71869e11037be362a428c8fe847ca77655cc9c2a804251d582c188cf0d5b9f18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d0ee31da0a63f1e6aeaf88ea51cede550ae6f0c102648f44ca540313f5d9253 [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" "3d0ee31da0a63f1e6aeaf88ea51cede550ae6f0c102648f44ca540313f5d9253", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.2 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling thread-scoped v1.0.2 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling time v0.1.39 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling atty v0.2.8 [INFO] [stderr] Compiling term v0.5.1 [INFO] [stderr] Compiling pest_derive v1.0.7 [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 textwrap v0.9.0 [INFO] [stderr] Compiling itertools v0.7.8 [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] [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 14.24s [INFO] running `Command { std: "docker" "inspect" "3d0ee31da0a63f1e6aeaf88ea51cede550ae6f0c102648f44ca540313f5d9253", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d0ee31da0a63f1e6aeaf88ea51cede550ae6f0c102648f44ca540313f5d9253", kill_on_drop: false }` [INFO] [stdout] 3d0ee31da0a63f1e6aeaf88ea51cede550ae6f0c102648f44ca540313f5d9253 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b13a0f625d869d5b3e987786dde4c3d7f6ab22763e8463168383b5e18d51f36a [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" "b13a0f625d869d5b3e987786dde4c3d7f6ab22763e8463168383b5e18d51f36a", 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.29s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/warcio-115bb13f5dd97e76 [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test tests::invalid_fields_are_invalid ... ok [INFO] [stdout] test tests::incorrect_signature_is_invalid ... ok [INFO] [stdout] test tests::extra_buffering_works ... ok [INFO] [stdout] test tests::can_read_record_header ... ok [INFO] [stdout] test tests::truncated_header_is_invalid ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/warcdedupe-881b43ae791cc485 [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] [stderr] Doc-tests warcio [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" "b13a0f625d869d5b3e987786dde4c3d7f6ab22763e8463168383b5e18d51f36a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b13a0f625d869d5b3e987786dde4c3d7f6ab22763e8463168383b5e18d51f36a", kill_on_drop: false }` [INFO] [stdout] b13a0f625d869d5b3e987786dde4c3d7f6ab22763e8463168383b5e18d51f36a