[INFO] cloning repository https://github.com/faradayio/geochunk [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/faradayio/geochunk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffaradayio%2Fgeochunk", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffaradayio%2Fgeochunk'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a2123d45a10d57b25243ab6bd97b6749d2e380ed [INFO] building faradayio/geochunk against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffaradayio%2Fgeochunk" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/faradayio/geochunk on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/faradayio/geochunk [INFO] finished tweaking git repo https://github.com/faradayio/geochunk [INFO] tweaked toml for git repo https://github.com/faradayio/geochunk written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/faradayio/geochunk already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c9e0f871d6845b79048aea83db585b3a029c4823fe91e3daef9b5e276088b443 [INFO] running `Command { std: "docker" "start" "-a" "c9e0f871d6845b79048aea83db585b3a029c4823fe91e3daef9b5e276088b443", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c9e0f871d6845b79048aea83db585b3a029c4823fe91e3daef9b5e276088b443", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9e0f871d6845b79048aea83db585b3a029c4823fe91e3daef9b5e276088b443", kill_on_drop: false }` [INFO] [stdout] c9e0f871d6845b79048aea83db585b3a029c4823fe91e3daef9b5e276088b443 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 39e19e482904c88cf925918143f9335e410a6d2bf00cb76326b405c63f6e2237 [INFO] running `Command { std: "docker" "start" "-a" "39e19e482904c88cf925918143f9335e410a6d2bf00cb76326b405c63f6e2237", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.32 [INFO] [stderr] Compiling lazy_static v0.2.9 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling cc v1.0.1 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.4.1 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling serde v1.0.15 [INFO] [stderr] Compiling rustc-demangle v0.1.5 [INFO] [stderr] Compiling byteorder v1.1.0 [INFO] [stderr] Compiling log v0.3.8 [INFO] [stderr] Compiling strsim v0.6.0 [INFO] [stderr] Compiling same-file v0.1.3 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling thread_local v0.3.4 [INFO] [stderr] Compiling walkdir v1.0.7 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling snap v0.2.3 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Compiling memchr v1.0.1 [INFO] [stderr] Compiling aho-corasick v0.6.3 [INFO] [stderr] Compiling csv-core v0.1.3 [INFO] [stderr] Compiling regex v0.2.2 [INFO] [stderr] Compiling serde_derive_internals v0.16.0 [INFO] [stderr] Compiling serde_derive v1.0.15 [INFO] [stderr] Compiling env_logger v0.4.3 [INFO] [stderr] Compiling csv v1.0.0-beta.5 [INFO] [stderr] Compiling docopt v0.8.1 [INFO] [stderr] Compiling backtrace v0.3.3 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling geochunk v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / error_chain! { [INFO] [stdout] 7 | | foreign_links { [INFO] [stdout] 8 | | Csv(csv::Error); [INFO] [stdout] 9 | | Io(io::Error); [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (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 `Once::new()` function is now preferred [INFO] [stdout] --> src/zip2010.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | / lazy_static! { [INFO] [stdout] 69 | | static ref ZIP_RE: Regex = Regex::new("^[0-9]{5}") [INFO] [stdout] 70 | | .expect("cannot parse zip code regular expression"); [INFO] [stdout] 71 | | } [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 `Once::new()` function is now preferred [INFO] [stdout] --> src/zip2010.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | / lazy_static! { [INFO] [stdout] 69 | | static ref ZIP_RE: Regex = Regex::new("^[0-9]{5}") [INFO] [stdout] 70 | | .expect("cannot parse zip code regular expression"); [INFO] [stdout] 71 | | } [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/zip2010.rs:82:36 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn export(&self, out: &mut Write) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 82 | pub fn export(&self, out: &mut dyn Write) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/zip2010.rs:100:38 [INFO] [stdout] | [INFO] [stdout] 100 | input: &mut Read, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 100 | input: &mut dyn Read, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/zip2010.rs:101:39 [INFO] [stdout] | [INFO] [stdout] 101 | output: &mut Write) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 101 | output: &mut dyn Write) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/errors.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / error_chain! { [INFO] [stdout] 7 | | foreign_links { [INFO] [stdout] 8 | | Csv(csv::Error); [INFO] [stdout] 9 | | Io(io::Error); [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `arg_type` is never read [INFO] [stdout] --> src/main.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 82 | struct Args { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 85 | arg_type: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Args` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | #[derive(Debug, Deserialize)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Args` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Args` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.90s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: snap v0.2.3 [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" "39e19e482904c88cf925918143f9335e410a6d2bf00cb76326b405c63f6e2237", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39e19e482904c88cf925918143f9335e410a6d2bf00cb76326b405c63f6e2237", kill_on_drop: false }` [INFO] [stdout] 39e19e482904c88cf925918143f9335e410a6d2bf00cb76326b405c63f6e2237 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aadbbde7fdf87b2a9e3f1d728b8387b29a6f7d9c6397bd22604fdfcaa576afb9 [INFO] running `Command { std: "docker" "start" "-a" "aadbbde7fdf87b2a9e3f1d728b8387b29a6f7d9c6397bd22604fdfcaa576afb9", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling cli_test_dir v0.1.4 [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / error_chain! { [INFO] [stdout] 7 | | foreign_links { [INFO] [stdout] 8 | | Csv(csv::Error); [INFO] [stdout] 9 | | Io(io::Error); [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (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 `Once::new()` function is now preferred [INFO] [stdout] --> src/zip2010.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | / lazy_static! { [INFO] [stdout] 69 | | static ref ZIP_RE: Regex = Regex::new("^[0-9]{5}") [INFO] [stdout] 70 | | .expect("cannot parse zip code regular expression"); [INFO] [stdout] 71 | | } [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 `Once::new()` function is now preferred [INFO] [stdout] --> src/zip2010.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | / lazy_static! { [INFO] [stdout] 69 | | static ref ZIP_RE: Regex = Regex::new("^[0-9]{5}") [INFO] [stdout] 70 | | .expect("cannot parse zip code regular expression"); [INFO] [stdout] 71 | | } [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/zip2010.rs:82:36 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn export(&self, out: &mut Write) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 82 | pub fn export(&self, out: &mut dyn Write) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/zip2010.rs:100:38 [INFO] [stdout] | [INFO] [stdout] 100 | input: &mut Read, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 100 | input: &mut dyn Read, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/zip2010.rs:101:39 [INFO] [stdout] | [INFO] [stdout] 101 | output: &mut Write) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 101 | output: &mut dyn Write) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/errors.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / error_chain! { [INFO] [stdout] 7 | | foreign_links { [INFO] [stdout] 8 | | Csv(csv::Error); [INFO] [stdout] 9 | | Io(io::Error); [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `arg_type` is never read [INFO] [stdout] --> src/main.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 82 | struct Args { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 85 | arg_type: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Args` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | #[derive(Debug, Deserialize)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Args` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Args` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling geochunk v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / error_chain! { [INFO] [stdout] 7 | | foreign_links { [INFO] [stdout] 8 | | Csv(csv::Error); [INFO] [stdout] 9 | | Io(io::Error); [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (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 `Once::new()` function is now preferred [INFO] [stdout] --> src/zip2010.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | / lazy_static! { [INFO] [stdout] 69 | | static ref ZIP_RE: Regex = Regex::new("^[0-9]{5}") [INFO] [stdout] 70 | | .expect("cannot parse zip code regular expression"); [INFO] [stdout] 71 | | } [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 `Once::new()` function is now preferred [INFO] [stdout] --> src/zip2010.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | / lazy_static! { [INFO] [stdout] 69 | | static ref ZIP_RE: Regex = Regex::new("^[0-9]{5}") [INFO] [stdout] 70 | | .expect("cannot parse zip code regular expression"); [INFO] [stdout] 71 | | } [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/zip2010.rs:82:36 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn export(&self, out: &mut Write) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 82 | pub fn export(&self, out: &mut dyn Write) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/zip2010.rs:100:38 [INFO] [stdout] | [INFO] [stdout] 100 | input: &mut Read, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 100 | input: &mut dyn Read, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/zip2010.rs:101:39 [INFO] [stdout] | [INFO] [stdout] 101 | output: &mut Write) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 101 | output: &mut dyn Write) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/errors.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / error_chain! { [INFO] [stdout] 7 | | foreign_links { [INFO] [stdout] 8 | | Csv(csv::Error); [INFO] [stdout] 9 | | Io(io::Error); [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `arg_type` is never read [INFO] [stdout] --> src/main.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 82 | struct Args { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 85 | arg_type: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Args` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | #[derive(Debug, Deserialize)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Args` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Args` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.40s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: snap v0.2.3 [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" "aadbbde7fdf87b2a9e3f1d728b8387b29a6f7d9c6397bd22604fdfcaa576afb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aadbbde7fdf87b2a9e3f1d728b8387b29a6f7d9c6397bd22604fdfcaa576afb9", kill_on_drop: false }` [INFO] [stdout] aadbbde7fdf87b2a9e3f1d728b8387b29a6f7d9c6397bd22604fdfcaa576afb9