[INFO] cloning repository https://github.com/mjkillough/osrm-ch-m2m [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mjkillough/osrm-ch-m2m" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmjkillough%2Fosrm-ch-m2m", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmjkillough%2Fosrm-ch-m2m'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fd83de2bac824eae939dc384ed8a5ec5170fe705 [INFO] checking mjkillough/osrm-ch-m2m against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmjkillough%2Fosrm-ch-m2m" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mjkillough/osrm-ch-m2m on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mjkillough/osrm-ch-m2m [INFO] finished tweaking git repo https://github.com/mjkillough/osrm-ch-m2m [INFO] tweaked toml for git repo https://github.com/mjkillough/osrm-ch-m2m written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mjkillough/osrm-ch-m2m 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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded memchr v2.1.2 [INFO] [stderr] Downloaded serde v1.0.83 [INFO] [stderr] Downloaded which v1.0.5 [INFO] [stderr] Downloaded filetime v0.2.4 [INFO] [stderr] Downloaded superslice v0.1.0 [INFO] [stderr] Downloaded priority-queue v0.5.2 [INFO] [stderr] Downloaded proc-macro2 v0.3.5 [INFO] [stderr] Downloaded libloading v0.5.0 [INFO] [stderr] Downloaded nom v4.1.1 [INFO] [stderr] Downloaded bindgen v0.42.3 [INFO] [stderr] Downloaded clang-sys v0.26.4 [INFO] [stderr] Downloaded bitvec v0.9.0 [INFO] [stderr] Downloaded serde_derive v1.0.83 [INFO] [stderr] Downloaded indexmap v0.4.1 [INFO] [stderr] Downloaded tar v0.4.20 [INFO] [stderr] Downloaded cexpr v0.3.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c0cbcf79b2f7d3582033cfe45932a7fa2474f52693c136512302bec63b616e07 [INFO] running `Command { std: "docker" "start" "-a" "c0cbcf79b2f7d3582033cfe45932a7fa2474f52693c136512302bec63b616e07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c0cbcf79b2f7d3582033cfe45932a7fa2474f52693c136512302bec63b616e07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0cbcf79b2f7d3582033cfe45932a7fa2474f52693c136512302bec63b616e07", kill_on_drop: false }` [INFO] [stdout] c0cbcf79b2f7d3582033cfe45932a7fa2474f52693c136512302bec63b616e07 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a34fc06443c5a67f8d58617274f7fb07bc9bad7983415a1f72f006179691280 [INFO] running `Command { std: "docker" "start" "-a" "0a34fc06443c5a67f8d58617274f7fb07bc9bad7983415a1f72f006179691280", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.45 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling cc v1.0.28 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Compiling proc-macro2 v0.3.5 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling bindgen v0.42.3 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling humantime v1.2.0 [INFO] [stderr] Compiling termcolor v1.0.4 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Compiling regex-syntax v0.6.4 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Compiling syn v0.15.23 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling serde v1.0.83 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Compiling clang-sys v0.26.4 [INFO] [stderr] Checking indexmap v0.4.1 [INFO] [stderr] Checking superslice v0.1.0 [INFO] [stderr] Checking bitvec v0.9.0 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Checking priority-queue v0.5.2 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling which v1.0.5 [INFO] [stderr] Checking num_cpus v1.9.0 [INFO] [stderr] Checking xattr v0.2.2 [INFO] [stderr] Checking filetime v0.2.4 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling nom v4.1.1 [INFO] [stderr] Checking tar v0.4.20 [INFO] [stderr] Compiling cexpr v0.3.3 [INFO] [stderr] Compiling serde_derive v1.0.83 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling osrm-ch-m2m v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking serde_json v1.0.34 [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/osrm-ch-m2m-f7d4ec66de40ef8f/out/bindings.rs:108:778 [INFO] [stdout] | [INFO] [stdout] 108 | ...( unsafe { & ( * ( :: std :: ptr :: null :: < EdgeArrayEntry > ( ) ) ) . target as * const _ as usize } , 0usize , concat ! ( "Offset ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deref_nullptr)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/osrm-ch-m2m-f7d4ec66de40ef8f/out/bindings.rs:108:1007 [INFO] [stdout] | [INFO] [stdout] 108 | ...( unsafe { & ( * ( :: std :: ptr :: null :: < EdgeArrayEntry > ( ) ) ) . weight as * const _ as usize } , 8usize , concat ! ( "Offset ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/osrm-ch-m2m-f7d4ec66de40ef8f/out/bindings.rs:108:4615 [INFO] [stdout] | [INFO] [stdout] 108 | ...( unsafe { & ( * ( :: std :: ptr :: null :: < NodeArrayEntry > ( ) ) ) . first_edge as * const _ as usize } , 0usize , concat ! ( "Off... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/osrm-ch-m2m-f7d4ec66de40ef8f/out/bindings.rs:108:5292 [INFO] [stdout] | [INFO] [stdout] 108 | ... ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Metadata > ( ) ) ) . element_count as * const _ as usize } , 0usize , concat ! ( "Off... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 22.32s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cexpr v0.3.3, nom v4.1.1 [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" "0a34fc06443c5a67f8d58617274f7fb07bc9bad7983415a1f72f006179691280", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a34fc06443c5a67f8d58617274f7fb07bc9bad7983415a1f72f006179691280", kill_on_drop: false }` [INFO] [stdout] 0a34fc06443c5a67f8d58617274f7fb07bc9bad7983415a1f72f006179691280 [INFO] checking mjkillough/osrm-ch-m2m against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmjkillough%2Fosrm-ch-m2m" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mjkillough/osrm-ch-m2m on toolchain 7622c0f807a4e13c4db886a1681bf343795692df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mjkillough/osrm-ch-m2m [INFO] finished tweaking git repo https://github.com/mjkillough/osrm-ch-m2m [INFO] tweaked toml for git repo https://github.com/mjkillough/osrm-ch-m2m written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/mjkillough/osrm-ch-m2m 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" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 510a68349cbca43591de6e90cb7a78a05e6fa6b73b919ab32413b78153be2eb0 [INFO] running `Command { std: "docker" "start" "-a" "510a68349cbca43591de6e90cb7a78a05e6fa6b73b919ab32413b78153be2eb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "510a68349cbca43591de6e90cb7a78a05e6fa6b73b919ab32413b78153be2eb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "510a68349cbca43591de6e90cb7a78a05e6fa6b73b919ab32413b78153be2eb0", kill_on_drop: false }` [INFO] [stdout] 510a68349cbca43591de6e90cb7a78a05e6fa6b73b919ab32413b78153be2eb0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=forbid -Dnon_local_definitions" "-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" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b4bfd32b2d271791c72022a4f48bc66b3e67cfb62a6ccb84a6c5b9c9a7d7f1b [INFO] running `Command { std: "docker" "start" "-a" "6b4bfd32b2d271791c72022a4f48bc66b3e67cfb62a6ccb84a6c5b9c9a7d7f1b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.45 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling cc v1.0.28 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling proc-macro2 v0.3.5 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Compiling regex-syntax v0.6.4 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling humantime v1.2.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling bindgen v0.42.3 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling termcolor v1.0.4 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Compiling syn v0.15.23 [INFO] [stderr] Compiling serde v1.0.83 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling clang-sys v0.26.4 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Checking indexmap v0.4.1 [INFO] [stderr] Checking superslice v0.1.0 [INFO] [stderr] Checking bitvec v0.9.0 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling which v1.0.5 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Checking num_cpus v1.9.0 [INFO] [stderr] Checking filetime v0.2.4 [INFO] [stderr] Checking xattr v0.2.2 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling nom v4.1.1 [INFO] [stderr] Checking tar v0.4.20 [INFO] [stderr] Checking priority-queue v0.5.2 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Compiling cexpr v0.3.3 [INFO] [stderr] Compiling serde_derive v1.0.83 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling osrm-ch-m2m v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking serde_json v1.0.34 [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/main.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Queries` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/main.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Queries` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/osrm-ch-m2m-f7d4ec66de40ef8f/out/bindings.rs:108:778 [INFO] [stdout] | [INFO] [stdout] 108 | ...( unsafe { & ( * ( :: std :: ptr :: null :: < EdgeArrayEntry > ( ) ) ) . target as * const _ as usize } , 0usize , concat ! ( "Offset ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deref_nullptr)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/osrm-ch-m2m-f7d4ec66de40ef8f/out/bindings.rs:108:1007 [INFO] [stdout] | [INFO] [stdout] 108 | ...( unsafe { & ( * ( :: std :: ptr :: null :: < EdgeArrayEntry > ( ) ) ) . weight as * const _ as usize } , 8usize , concat ! ( "Offset ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/osrm-ch-m2m-f7d4ec66de40ef8f/out/bindings.rs:108:4615 [INFO] [stdout] | [INFO] [stdout] 108 | ...( unsafe { & ( * ( :: std :: ptr :: null :: < NodeArrayEntry > ( ) ) ) . first_edge as * const _ as usize } , 0usize , concat ! ( "Off... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/osrm-ch-m2m-f7d4ec66de40ef8f/out/bindings.rs:108:5292 [INFO] [stdout] | [INFO] [stdout] 108 | ... ! ( unsafe { & ( * ( :: std :: ptr :: null :: < Metadata > ( ) ) ) . element_count as * const _ as usize } , 0usize , concat ! ( "Off... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/heap.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Copy, Clone, Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Query` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/heap.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Copy, Clone, Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Query` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `osrm-ch-m2m` (bin "osrm-ch-m2m" test) due to 3 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `osrm-ch-m2m` (bin "osrm-ch-m2m") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "6b4bfd32b2d271791c72022a4f48bc66b3e67cfb62a6ccb84a6c5b9c9a7d7f1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b4bfd32b2d271791c72022a4f48bc66b3e67cfb62a6ccb84a6c5b9c9a7d7f1b", kill_on_drop: false }` [INFO] [stdout] 6b4bfd32b2d271791c72022a4f48bc66b3e67cfb62a6ccb84a6c5b9c9a7d7f1b