[INFO] cloning repository https://github.com/drewsilcock/nemolite2d-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/drewsilcock/nemolite2d-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrewsilcock%2Fnemolite2d-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrewsilcock%2Fnemolite2d-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 88788af4790ed0a70e96347b42b253a7a17962ad [INFO] checking drewsilcock/nemolite2d-rs/88788af4790ed0a70e96347b42b253a7a17962ad against master#3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777 for pr-132289 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrewsilcock%2Fnemolite2d-rs" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/drewsilcock/nemolite2d-rs on toolchain 3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/drewsilcock/nemolite2d-rs [INFO] finished tweaking git repo https://github.com/drewsilcock/nemolite2d-rs [INFO] tweaked toml for git repo https://github.com/drewsilcock/nemolite2d-rs written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/drewsilcock/nemolite2d-rs 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" "+3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5bc9ba3ee2f9510d6b42fedc1c74c0f8cd46d2dae2d7cf930a7265d15734a484 [INFO] running `Command { std: "docker" "start" "-a" "5bc9ba3ee2f9510d6b42fedc1c74c0f8cd46d2dae2d7cf930a7265d15734a484", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5bc9ba3ee2f9510d6b42fedc1c74c0f8cd46d2dae2d7cf930a7265d15734a484", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bc9ba3ee2f9510d6b42fedc1c74c0f8cd46d2dae2d7cf930a7265d15734a484", kill_on_drop: false }` [INFO] [stdout] 5bc9ba3ee2f9510d6b42fedc1c74c0f8cd46d2dae2d7cf930a7265d15734a484 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 63bbb5c023b9c85d737320aac0d0be070f2e31aafa657334b0d827015b58fd37 [INFO] running `Command { std: "docker" "start" "-a" "63bbb5c023b9c85d737320aac0d0be070f2e31aafa657334b0d827015b58fd37", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Compiling serde v1.0.99 [INFO] [stderr] Compiling proc-macro2 v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking serde v0.8.23 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking regex-syntax v0.6.11 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking yaml-rust v0.4.3 [INFO] [stderr] Checking rust-ini v0.13.0 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking serde_test v0.8.23 [INFO] [stderr] Checking linked-hash-map v0.3.0 [INFO] [stderr] Checking regex v1.2.1 [INFO] [stderr] Checking serde-hjson v0.8.2 [INFO] [stderr] Checking serde_json v1.0.40 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Compiling serde_derive v1.0.99 [INFO] [stderr] Checking config v0.9.3 [INFO] [stderr] Checking nemolite2d-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | why.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | why.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:184:17 [INFO] [stdout] | [INFO] [stdout] 184 | why.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:184:17 [INFO] [stdout] | [INFO] [stdout] 184 | why.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `iter_mut` is never used [INFO] [stdout] --> src/fortran_array_2d.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 16 | / impl FortranArray2D [INFO] [stdout] 17 | | where [INFO] [stdout] 18 | | T: Default, [INFO] [stdout] | |_______________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn iter_mut(&mut self) -> std::slice::IterMut<'_, T> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `iter_mut` is never used [INFO] [stdout] --> src/fortran_array_2d.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 16 | / impl FortranArray2D [INFO] [stdout] 17 | | where [INFO] [stdout] 18 | | T: Default, [INFO] [stdout] | |_______________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn iter_mut(&mut self) -> std::slice::IterMut<'_, T> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [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/model_parameters.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ModelParameters` [INFO] [stdout] 6 | pub struct ModelParameters { [INFO] [stdout] | --------------- `ModelParameters` is not local [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] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/model_parameters.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ModelParameters` [INFO] [stdout] 6 | pub struct ModelParameters { [INFO] [stdout] | --------------- `ModelParameters` is not local [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 5.11s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.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" "63bbb5c023b9c85d737320aac0d0be070f2e31aafa657334b0d827015b58fd37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63bbb5c023b9c85d737320aac0d0be070f2e31aafa657334b0d827015b58fd37", kill_on_drop: false }` [INFO] [stdout] 63bbb5c023b9c85d737320aac0d0be070f2e31aafa657334b0d827015b58fd37