[INFO] cloning repository https://github.com/DrEden33773/ds_in_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DrEden33773/ds_in_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDrEden33773%2Fds_in_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDrEden33773%2Fds_in_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4f85bd7577afe53695357ca2168d6de17f344643 [INFO] checking DrEden33773/ds_in_rust/4f85bd7577afe53695357ca2168d6de17f344643 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDrEden33773%2Fds_in_rust" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DrEden33773/ds_in_rust on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DrEden33773/ds_in_rust [INFO] finished tweaking git repo https://github.com/DrEden33773/ds_in_rust [INFO] tweaked toml for git repo https://github.com/DrEden33773/ds_in_rust written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/DrEden33773/ds_in_rust 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f3b62bb0f3bd7f587d9d9f470f298fbca9e451d38f9743c5587c27f6708ff01f [INFO] running `Command { std: "docker" "start" "-a" "f3b62bb0f3bd7f587d9d9f470f298fbca9e451d38f9743c5587c27f6708ff01f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f3b62bb0f3bd7f587d9d9f470f298fbca9e451d38f9743c5587c27f6708ff01f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3b62bb0f3bd7f587d9d9f470f298fbca9e451d38f9743c5587c27f6708ff01f", kill_on_drop: false }` [INFO] [stdout] f3b62bb0f3bd7f587d9d9f470f298fbca9e451d38f9743c5587c27f6708ff01f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Dtail_expr_drop_order" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f9dc98ef1e123163d027c405875f1d5d5148b8b4dd02b9fd0a1976894e5a032 [INFO] running `Command { std: "docker" "start" "-a" "6f9dc98ef1e123163d027c405875f1d5d5148b8b4dd02b9fd0a1976894e5a032", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking lru_cache v0.1.0 (/opt/rustwide/workdir/lru_cache) [INFO] [stderr] Checking ordered-float v4.2.0 [INFO] [stderr] Checking ds_in_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/algorithms/graph_interface/greedy_extreme_path.rs:411:5 [INFO] [stdout] | [INFO] [stdout] 410 | fn test_leetcode_case() { [INFO] [stdout] | ----------------------- move the `impl` block outside of this function `test_leetcode_case` [INFO] [stdout] 411 | impl Bounded for NotNan { [INFO] [stdout] | ^^^^^-------^^^^^------^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `NotNan` is not local [INFO] [stdout] | `Bounded` is not local [INFO] [stdout] | [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: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.96s [INFO] running `Command { std: "docker" "inspect" "6f9dc98ef1e123163d027c405875f1d5d5148b8b4dd02b9fd0a1976894e5a032", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f9dc98ef1e123163d027c405875f1d5d5148b8b4dd02b9fd0a1976894e5a032", kill_on_drop: false }` [INFO] [stdout] 6f9dc98ef1e123163d027c405875f1d5d5148b8b4dd02b9fd0a1976894e5a032