[INFO] fetching crate csv-sanity 0.1.0...
[INFO] checking csv-sanity-0.1.0 against master#00bfd6b2734d9c28a147bf237490995731781fdd for pr-117984
[INFO] extracting crate csv-sanity 0.1.0 into /workspace/builds/worker-4-tc1/source
[INFO] validating manifest of crates.io crate csv-sanity 0.1.0 on toolchain 00bfd6b2734d9c28a147bf237490995731781fdd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+00bfd6b2734d9c28a147bf237490995731781fdd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate csv-sanity 0.1.0
[INFO] finished tweaking crates.io crate csv-sanity 0.1.0
[INFO] tweaked toml for crates.io crate csv-sanity 0.1.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+00bfd6b2734d9c28a147bf237490995731781fdd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+00bfd6b2734d9c28a147bf237490995731781fdd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Downloading crates ...
[INFO] [stderr] Downloaded maplit v0.1.6
[INFO] [stderr] Downloaded memchr v1.0.2
[INFO] [stderr] Downloaded csv v0.15.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+00bfd6b2734d9c28a147bf237490995731781fdd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 349a9eff6d07adb2b2ba3365abf4e564ec240292c92a5712147eee00e17627ad
[INFO] running `Command { std: "docker" "start" "-a" "349a9eff6d07adb2b2ba3365abf4e564ec240292c92a5712147eee00e17627ad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "349a9eff6d07adb2b2ba3365abf4e564ec240292c92a5712147eee00e17627ad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "349a9eff6d07adb2b2ba3365abf4e564ec240292c92a5712147eee00e17627ad", kill_on_drop: false }`
[INFO] [stdout] 349a9eff6d07adb2b2ba3365abf4e564ec240292c92a5712147eee00e17627ad
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+00bfd6b2734d9c28a147bf237490995731781fdd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 305b9d80d547678ce39b9460a6fdfdce1b3794014962f18a844f58478d0a4e5a
[INFO] running `Command { std: "docker" "start" "-a" "305b9d80d547678ce39b9460a6fdfdce1b3794014962f18a844f58478d0a4e5a", kill_on_drop: false }`
[INFO] [stderr] Compiling libc v0.2.150
[INFO] [stderr] Compiling semver v0.1.20
[INFO] [stderr] Compiling serde v1.0.193
[INFO] [stderr] Checking unicode-width v0.1.11
[INFO] [stderr] Compiling regex v0.2.11
[INFO] [stderr] Checking ucd-util v0.1.10
[INFO] [stderr] Checking thread_local v0.3.6
[INFO] [stderr] Checking aho-corasick v0.6.10
[INFO] [stderr] Checking textwrap v0.11.0
[INFO] [stderr] Checking regex-syntax v0.5.6
[INFO] [stderr] Checking vec_map v0.8.2
[INFO] [stderr] Checking utf8-ranges v1.0.5
[INFO] [stderr] Compiling rustc_version v0.1.7
[INFO] [stderr] Checking rustc-serialize v0.3.24
[INFO] [stderr] Checking ansi_term v0.12.1
[INFO] [stderr] Checking strsim v0.8.0
[INFO] [stderr] Checking log v0.3.9
[INFO] [stderr] Compiling newtype_derive v0.1.6
[INFO] [stderr] Checking custom_derive v0.1.7
[INFO] [stderr] Checking lazy_static v0.2.11
[INFO] [stderr] Checking unicode-segmentation v1.10.1
[INFO] [stderr] Checking maplit v0.1.6
[INFO] [stderr] Checking atty v0.2.14
[INFO] [stderr] Checking memchr v1.0.2
[INFO] [stderr] Checking time v0.1.45
[INFO] [stderr] Checking clap v2.34.0
[INFO] [stderr] Checking csv v0.15.0
[INFO] [stderr] Checking serde_json v1.0.108
[INFO] [stderr] Checking csv-sanity v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout] --> src/transformer.rs:70:10
[INFO] [stdout] |
[INFO] [stdout] 70 | #[derive(RustcEncodable, Deserialize, Serialize, Clone, PartialEq, Eq, Hash, Debug)]
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout] --> src/transformer.rs:70:10
[INFO] [stdout] |
[INFO] [stdout] 70 | #[derive(RustcEncodable, Deserialize, Serialize, Clone, PartialEq, Eq, Hash, Debug)]
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout] --> src/transformers/email.rs:9:1
[INFO] [stdout] |
[INFO] [stdout] 9 | / lazy_static! {
[INFO] [stdout] 10 | | static ref EMAIL_REGEX: Regex = Regex::new(r"(?i)\A[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z...
[INFO] [stdout] 11 | | }
[INFO] [stdout] | |_^
[INFO] [stdout] |
[INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (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/transformers/number.rs:9:1
[INFO] [stdout] |
[INFO] [stdout] 9 | / lazy_static! {
[INFO] [stdout] 10 | | static ref INTEGER_REGEX: Regex = Regex::new(r"\A(:?0|[1-9]\d*)\z").unwrap();
[INFO] [stdout] 11 | | }
[INFO] [stdout] | |_^
[INFO] [stdout] |
[INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (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/transformers/zipcode.rs:9:1
[INFO] [stdout] |
[INFO] [stdout] 9 | / lazy_static! {
[INFO] [stdout] 10 | | static ref ZIP_REGEX: Regex = Regex::new(r"\A(\d{5})\D*(?:(\d{4}))?\z").unwrap();
[INFO] [stdout] 11 | | }
[INFO] [stdout] | |_^
[INFO] [stdout] |
[INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (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/transformers/phone_number.rs:9:1
[INFO] [stdout] |
[INFO] [stdout] 9 | / lazy_static! {
[INFO] [stdout] 10 | | static ref NANP_REGEX: Regex = Regex::new(r"\A(?:\+?1)?\D*\(?(?P\d{3})\)?\D*(?P\d{3})\D*(?P\d{4})\z").unw...
[INFO] [stdout] 11 | | }
[INFO] [stdout] | |_^
[INFO] [stdout] |
[INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (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/transformers/email.rs:9:1
[INFO] [stdout] |
[INFO] [stdout] 9 | / lazy_static! {
[INFO] [stdout] 10 | | static ref EMAIL_REGEX: Regex = Regex::new(r"(?i)\A[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z...
[INFO] [stdout] 11 | | }
[INFO] [stdout] | |_^
[INFO] [stdout] |
[INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (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/transformers/number.rs:9:1
[INFO] [stdout] |
[INFO] [stdout] 9 | / lazy_static! {
[INFO] [stdout] 10 | | static ref INTEGER_REGEX: Regex = Regex::new(r"\A(:?0|[1-9]\d*)\z").unwrap();
[INFO] [stdout] 11 | | }
[INFO] [stdout] | |_^
[INFO] [stdout] |
[INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (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/transformers/zipcode.rs:9:1
[INFO] [stdout] |
[INFO] [stdout] 9 | / lazy_static! {
[INFO] [stdout] 10 | | static ref ZIP_REGEX: Regex = Regex::new(r"\A(\d{5})\D*(?:(\d{4}))?\z").unwrap();
[INFO] [stdout] 11 | | }
[INFO] [stdout] | |_^
[INFO] [stdout] |
[INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (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/transformers/phone_number.rs:9:1
[INFO] [stdout] |
[INFO] [stdout] 9 | / lazy_static! {
[INFO] [stdout] 10 | | static ref NANP_REGEX: Regex = Regex::new(r"\A(?:\+?1)?\D*\(?(?P\d{3})\)?\D*(?P\d{3})\D*(?P\d{4})\z").unw...
[INFO] [stdout] 11 | | }
[INFO] [stdout] | |_^
[INFO] [stdout] |
[INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout] --> src/cli.rs:179:62
[INFO] [stdout] |
[INFO] [stdout] 179 | let mut reader = csv::Reader::from_file(path.as_ref().clone()).map(|r| {
[INFO] [stdout] | ^^^^^^^^ help: remove this redundant call
[INFO] [stdout] |
[INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed
[INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 6 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout] --> src/cli.rs:179:62
[INFO] [stdout] |
[INFO] [stdout] 179 | let mut reader = csv::Reader::from_file(path.as_ref().clone()).map(|r| {
[INFO] [stdout] | ^^^^^^^^ help: remove this redundant call
[INFO] [stdout] |
[INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed
[INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 6 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.59s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.24
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "305b9d80d547678ce39b9460a6fdfdce1b3794014962f18a844f58478d0a4e5a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "305b9d80d547678ce39b9460a6fdfdce1b3794014962f18a844f58478d0a4e5a", kill_on_drop: false }`
[INFO] [stdout] 305b9d80d547678ce39b9460a6fdfdce1b3794014962f18a844f58478d0a4e5a