[INFO] cloning repository https://github.com/ElectricCoffee/city_generator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ElectricCoffee/city_generator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FElectricCoffee%2Fcity_generator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FElectricCoffee%2Fcity_generator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cf2a31e74bc5cf52d8d5c9907e5ac79bf1799e4c [INFO] checking ElectricCoffee/city_generator against master#029c9e18dd1f4668e1d42bb187c1c263dfe20093 for pr-157562 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FElectricCoffee%2Fcity_generator" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ElectricCoffee/city_generator [INFO] finished tweaking git repo https://github.com/ElectricCoffee/city_generator [INFO] tweaked toml for git repo https://github.com/ElectricCoffee/city_generator written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ElectricCoffee/city_generator on toolchain 029c9e18dd1f4668e1d42bb187c1c263dfe20093 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+029c9e18dd1f4668e1d42bb187c1c263dfe20093" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ElectricCoffee/city_generator 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" "+029c9e18dd1f4668e1d42bb187c1c263dfe20093" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `city_generator` (manifest) generated 1 warning [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded itoa v0.4.1 [INFO] [stderr] Downloaded serde_json v1.0.17 [INFO] [stderr] Downloaded serde_derive v1.0.60 [INFO] [stderr] Downloaded dtoa v0.4.2 [INFO] [stderr] Downloaded bitflags v1.0.3 [INFO] [stderr] Downloaded failure_derive v0.1.1 [INFO] [stderr] Downloaded cfg-if v0.1.3 [INFO] [stderr] Downloaded rustc-demangle v0.1.8 [INFO] [stderr] Downloaded synstructure v0.6.1 [INFO] [stderr] Downloaded quote v0.6.2 [INFO] [stderr] Downloaded proc-macro2 v0.4.3 [INFO] [stderr] Downloaded rand_core v0.2.0 [INFO] [stderr] Downloaded failure v0.1.1 [INFO] [stderr] Downloaded backtrace v0.3.8 [INFO] [stderr] Downloaded cc v1.0.17 [INFO] [stderr] Downloaded rand v0.5.0 [INFO] [stderr] Downloaded syn v0.14.0 [INFO] [stderr] Downloaded libc v0.2.41 [INFO] [stderr] Downloaded backtrace-sys v0.1.23 [INFO] [stderr] Downloaded winapi v0.3.4 [INFO] [stderr] Downloaded serde v1.0.60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 282c903229b5111b94d6f28738cfe97e9eec9e81179fbaceed5ea3f18a14d92b [INFO] running `Command { std: "docker" "start" "282c903229b5111b94d6f28738cfe97e9eec9e81179fbaceed5ea3f18a14d92b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "282c903229b5111b94d6f28738cfe97e9eec9e81179fbaceed5ea3f18a14d92b" "/opt/rustwide/cargo-home/bin/cargo" "+029c9e18dd1f4668e1d42bb187c1c263dfe20093" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "282c903229b5111b94d6f28738cfe97e9eec9e81179fbaceed5ea3f18a14d92b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "282c903229b5111b94d6f28738cfe97e9eec9e81179fbaceed5ea3f18a14d92b" "/opt/rustwide/cargo-home/bin/cargo" "+029c9e18dd1f4668e1d42bb187c1c263dfe20093" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `city_generator` (manifest) generated 1 warning [INFO] [stderr] Compiling cc v1.0.17 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking libc v0.2.41 [INFO] [stderr] Compiling serde v1.0.60 [INFO] [stderr] Checking cfg-if v0.1.3 [INFO] [stderr] Checking rustc-demangle v0.1.8 [INFO] [stderr] Checking rand_core v0.2.0 [INFO] [stderr] Checking dtoa v0.4.2 [INFO] [stderr] Checking itoa v0.4.1 [INFO] [stderr] Compiling proc-macro2 v0.4.3 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking rand v0.5.0 [INFO] [stderr] Compiling backtrace-sys v0.1.23 [INFO] [stderr] Compiling quote v0.6.2 [INFO] [stderr] Compiling syn v0.14.0 [INFO] [stderr] Checking backtrace v0.3.8 [INFO] [stderr] Compiling synstructure v0.6.1 [INFO] [stderr] Compiling failure_derive v0.1.1 [INFO] [stderr] Checking failure v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.60 [INFO] [stderr] Checking serde_json v1.0.17 [INFO] [stderr] Checking city_generator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `generate_random` is never used [INFO] [stdout] --> src/data.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl Data { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 38 | /// Generates a single random city based on the list of available prefixes and suffixes. [INFO] [stdout] 39 | pub fn generate_random(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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/data.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Deserialize, Debug)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Data` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Data` [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: method `generate_random` is never used [INFO] [stdout] --> src/data.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl Data { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 38 | /// Generates a single random city based on the list of available prefixes and suffixes. [INFO] [stdout] 39 | pub fn generate_random(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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/data.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Deserialize, Debug)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Data` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Data` [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 8.81s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "282c903229b5111b94d6f28738cfe97e9eec9e81179fbaceed5ea3f18a14d92b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "282c903229b5111b94d6f28738cfe97e9eec9e81179fbaceed5ea3f18a14d92b", kill_on_drop: false }` [INFO] [stdout] 282c903229b5111b94d6f28738cfe97e9eec9e81179fbaceed5ea3f18a14d92b