[INFO] fetching crate ambient_package_semantic 0.3.1... [INFO] testing ambient_package_semantic-0.3.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate ambient_package_semantic 0.3.1 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate ambient_package_semantic 0.3.1 [INFO] finished tweaking crates.io crate ambient_package_semantic 0.3.1 [INFO] tweaked toml for crates.io crate ambient_package_semantic 0.3.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ambient_package_semantic 0.3.1 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ambient_package_semantic 0.3.1 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bceaa6a485f5af02d13b9dacb2415f2b43d3f573cbad2c2138cc671e8cd96bc6 [INFO] running `Command { std: "docker" "start" "-a" "bceaa6a485f5af02d13b9dacb2415f2b43d3f573cbad2c2138cc671e8cd96bc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bceaa6a485f5af02d13b9dacb2415f2b43d3f573cbad2c2138cc671e8cd96bc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bceaa6a485f5af02d13b9dacb2415f2b43d3f573cbad2c2138cc671e8cd96bc6", kill_on_drop: false }` [INFO] [stdout] bceaa6a485f5af02d13b9dacb2415f2b43d3f573cbad2c2138cc671e8cd96bc6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b0682810c361b36fa65a1a7741582bcbf91d4adfbd18559d72a2cc6ae9091c5 [INFO] running `Command { std: "docker" "start" "-a" "9b0682810c361b36fa65a1a7741582bcbf91d4adfbd18559d72a2cc6ae9091c5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling smallvec v1.11.1 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.5.4 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rustls v0.21.7 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling tokio v1.32.0 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling hashbrown v0.14.1 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling thiserror v1.0.49 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling winnow v0.5.15 [INFO] [stderr] Compiling gimli v0.28.0 [INFO] [stderr] Compiling semver v1.0.19 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling object v0.32.1 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling rustls-webpki v0.101.6 [INFO] [stderr] Compiling tokio-util v0.7.9 [INFO] [stderr] Compiling thiserror-impl v1.0.49 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling base64 v0.21.4 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Compiling iana-time-zone v0.1.57 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling ambient_schema v0.3.1 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling rustls-pemfile v1.0.3 [INFO] [stderr] Compiling directories v5.0.1 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling webpki-roots v0.25.2 [INFO] [stderr] Compiling bytemuck v1.14.0 [INFO] [stderr] Compiling ipnet v2.8.0 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling h2 v0.3.21 [INFO] [stderr] Compiling data-encoding v2.4.0 [INFO] [stderr] Compiling ambient_std v0.3.1 [INFO] [stderr] Compiling ambient_dirs v0.3.1 [INFO] [stderr] Compiling async-recursion v1.0.5 [INFO] [stderr] Compiling indexmap v2.0.2 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling serde_spanned v0.6.3 [INFO] [stderr] Compiling ulid v1.1.0 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling ambient_shared_types v0.3.1 [INFO] [stderr] Compiling glam v0.24.2 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling toml v0.7.8 [INFO] [stderr] Compiling ambient_package v0.3.1 [INFO] [stderr] Compiling hyper-rustls v0.24.1 [INFO] [stderr] Compiling reqwest v0.11.21 [INFO] [stderr] Compiling ambient_package_semantic v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `source` is never read [INFO] [stdout] --> src/lib.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | source: ambient_package::ManifestParseError, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `source` is never read [INFO] [stdout] --> src/lib.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | source: ambient_package::ManifestParseError, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [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/item.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn scope_and_dependencies(&self, id: ItemId) -> Vec> { [INFO] [stdout] | --------------------------------------------------------------------------------- move the `impl` block outside of this method `scope_and_dependencies` [INFO] [stdout] 229 | impl TopologicalSortable for ItemId { [INFO] [stdout] | ^^^^^-------------------^-------^^^^^^------^-------^ [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `Package` is not local [INFO] [stdout] | | | `ItemId` is not local [INFO] [stdout] | | `ItemMap` is not local [INFO] [stdout] | `TopologicalSortable` 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: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 56s [INFO] running `Command { std: "docker" "inspect" "9b0682810c361b36fa65a1a7741582bcbf91d4adfbd18559d72a2cc6ae9091c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b0682810c361b36fa65a1a7741582bcbf91d4adfbd18559d72a2cc6ae9091c5", kill_on_drop: false }` [INFO] [stdout] 9b0682810c361b36fa65a1a7741582bcbf91d4adfbd18559d72a2cc6ae9091c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3057356b4a58ea9ba9864847c33fa003966fe9b3cfe292bb02d86038210fc082 [INFO] running `Command { std: "docker" "start" "-a" "3057356b4a58ea9ba9864847c33fa003966fe9b3cfe292bb02d86038210fc082", kill_on_drop: false }` [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling tokio v1.32.0 [INFO] [stderr] Compiling tokio-util v0.7.9 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling h2 v0.3.21 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling hyper-rustls v0.24.1 [INFO] [stderr] Compiling reqwest v0.11.21 [INFO] [stderr] Compiling ambient_package_semantic v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `source` is never read [INFO] [stdout] --> src/lib.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | source: ambient_package::ManifestParseError, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `source` is never read [INFO] [stdout] --> src/lib.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | source: ambient_package::ManifestParseError, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [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/item.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn scope_and_dependencies(&self, id: ItemId) -> Vec> { [INFO] [stdout] | --------------------------------------------------------------------------------- move the `impl` block outside of this method `scope_and_dependencies` [INFO] [stdout] 229 | impl TopologicalSortable for ItemId { [INFO] [stdout] | ^^^^^-------------------^-------^^^^^^------^-------^ [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `Package` is not local [INFO] [stdout] | | | `ItemId` is not local [INFO] [stdout] | | `ItemMap` is not local [INFO] [stdout] | `TopologicalSortable` 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: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `source` is never read [INFO] [stdout] --> src/lib.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | source: ambient_package::ManifestParseError, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `source` is never read [INFO] [stdout] --> src/lib.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | source: ambient_package::ManifestParseError, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [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/item.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn scope_and_dependencies(&self, id: ItemId) -> Vec> { [INFO] [stdout] | --------------------------------------------------------------------------------- move the `impl` block outside of this method `scope_and_dependencies` [INFO] [stdout] 229 | impl TopologicalSortable for ItemId { [INFO] [stdout] | ^^^^^-------------------^-------^^^^^^------^-------^ [INFO] [stdout] | | | | | [INFO] [stdout] | | | | `Package` is not local [INFO] [stdout] | | | `ItemId` is not local [INFO] [stdout] | | `ItemMap` is not local [INFO] [stdout] | `TopologicalSortable` 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: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 29.83s [INFO] running `Command { std: "docker" "inspect" "3057356b4a58ea9ba9864847c33fa003966fe9b3cfe292bb02d86038210fc082", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3057356b4a58ea9ba9864847c33fa003966fe9b3cfe292bb02d86038210fc082", kill_on_drop: false }` [INFO] [stdout] 3057356b4a58ea9ba9864847c33fa003966fe9b3cfe292bb02d86038210fc082 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b764bc705ad774de08f7059b23a898467b67623d960defe7cd05782dc308ea8d [INFO] running `Command { std: "docker" "start" "-a" "b764bc705ad774de08f7059b23a898467b67623d960defe7cd05782dc308ea8d", kill_on_drop: false }` [INFO] [stderr] warning: value assigned to `source` is never read [INFO] [stderr] --> src/lib.rs:71:9 [INFO] [stderr] | [INFO] [stderr] 71 | source: ambient_package::ManifestParseError, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `source` is never read [INFO] [stderr] --> src/lib.rs:90:9 [INFO] [stderr] | [INFO] [stderr] 90 | source: ambient_package::ManifestParseError, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/item.rs:229:9 [INFO] [stderr] | [INFO] [stderr] 228 | pub fn scope_and_dependencies(&self, id: ItemId) -> Vec> { [INFO] [stderr] | --------------------------------------------------------------------------------- move the `impl` block outside of this method `scope_and_dependencies` [INFO] [stderr] 229 | impl TopologicalSortable for ItemId { [INFO] [stderr] | ^^^^^-------------------^-------^^^^^^------^-------^ [INFO] [stderr] | | | | | [INFO] [stderr] | | | | `Package` is not local [INFO] [stderr] | | | `ItemId` is not local [INFO] [stderr] | | `ItemMap` is not local [INFO] [stderr] | `TopologicalSortable` is not local [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `ambient_package_semantic` (lib) generated 3 warnings [INFO] [stderr] warning: `ambient_package_semantic` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.37s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ambient_package_semantic-f57f995c7920ce91) [INFO] [stdout] [INFO] [stderr] Doc-tests ambient_package_semantic [INFO] [stdout] running 2 tests [INFO] [stdout] test value::tests::test_scalar_value_from_toml ... ok [INFO] [stdout] test value::tests::test_value_from_toml ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b764bc705ad774de08f7059b23a898467b67623d960defe7cd05782dc308ea8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b764bc705ad774de08f7059b23a898467b67623d960defe7cd05782dc308ea8d", kill_on_drop: false }` [INFO] [stdout] b764bc705ad774de08f7059b23a898467b67623d960defe7cd05782dc308ea8d