[INFO] cloning repository https://github.com/JDPlumbing/ecs-lite [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JDPlumbing/ecs-lite" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJDPlumbing%2Fecs-lite", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJDPlumbing%2Fecs-lite'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a4b861e52d97312d21450413f15433633f722eed [INFO] checking JDPlumbing/ecs-lite against e5e97e3ef0ee95d34bea49cdac051ed1bbac01df for pr-158759-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJDPlumbing%2Fecs-lite" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/JDPlumbing/ecs-lite [INFO] finished tweaking git repo https://github.com/JDPlumbing/ecs-lite [INFO] tweaked toml for git repo https://github.com/JDPlumbing/ecs-lite written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/JDPlumbing/ecs-lite on toolchain e5e97e3ef0ee95d34bea49cdac051ed1bbac01df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/JDPlumbing/ecs-lite 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" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "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/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 0c36d9bd1ad173b329855bfd0c8dd02f43c89006f15be05fef6017c5c14caa08 [INFO] running `Command { std: "docker" "start" "0c36d9bd1ad173b329855bfd0c8dd02f43c89006f15be05fef6017c5c14caa08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c36d9bd1ad173b329855bfd0c8dd02f43c89006f15be05fef6017c5c14caa08", 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" "0c36d9bd1ad173b329855bfd0c8dd02f43c89006f15be05fef6017c5c14caa08" "/opt/rustwide/cargo-home/bin/cargo" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c36d9bd1ad173b329855bfd0c8dd02f43c89006f15be05fef6017c5c14caa08", 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" "0c36d9bd1ad173b329855bfd0c8dd02f43c89006f15be05fef6017c5c14caa08" "/opt/rustwide/cargo-home/bin/cargo" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling serde_core v1.0.225 [INFO] [stderr] Checking anstyle-query v1.1.4 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling serde v1.0.225 [INFO] [stderr] Checking anstyle v1.0.11 [INFO] [stderr] Checking colorchoice v1.0.4 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking clap_lex v0.7.5 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking anstyle-parse v0.2.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking iana-time-zone v0.1.64 [INFO] [stderr] Checking anstream v0.6.20 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking clap_builder v4.5.47 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Compiling serde_derive v1.0.225 [INFO] [stderr] Compiling clap_derive v4.5.47 [INFO] [stderr] Checking clap v4.5.47 [INFO] [stderr] Checking tdt v0.2.0 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking uvoxid v0.2.0 [INFO] [stderr] Checking ecs-lite v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `uvoxid::UvoxId` [INFO] [stdout] --> src/systems.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use uvoxid::UvoxId; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uvoxid::UvoxId` [INFO] [stdout] --> src/systems.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use uvoxid::UvoxId; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ecs_lite::Entity` [INFO] [stdout] --> examples/sim.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use ecs_lite::{World, Entity}; [INFO] [stdout] | ^^^^^^ no `Entity` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ecs_lite::Entity` [INFO] [stdout] --> tests/basic.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use ecs_lite::{World, Entity}; [INFO] [stdout] | ^^^^^^ no `Entity` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `ecs_lite::PositionUvoxid`, `ecs_lite::update_positions`, `ecs_lite::VEL_SCALE` [INFO] [stdout] --> examples/movement.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use ecs_lite::{World, PositionUvoxid, Velocity, update_positions, VEL_SCALE}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^ no `VEL_SCALE` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `update_positions` in the root [INFO] [stdout] | no `PositionUvoxid` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Velocity` has no field named `dr` [INFO] [stdout] --> examples/movement.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | world.add(human, Velocity { dr: 0, dlat: 0, dlon: 1_400_000 * VEL_SCALE }); [INFO] [stdout] | ^^ field does not exist [INFO] [stdout] | [INFO] [stdout] ::: src/components.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Velocity(pub Delta); [INFO] [stdout] | -------- `Velocity` defined here [INFO] [stdout] | [INFO] [stdout] help: `Velocity` is a tuple struct, use the appropriate syntax [INFO] [stdout] | [INFO] [stdout] 8 - world.add(human, Velocity { dr: 0, dlat: 0, dlon: 1_400_000 * VEL_SCALE }); [INFO] [stdout] 8 + world.add(human, Velocity(/* uvoxid::delta::Delta */)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Velocity` has no field named `dlat` [INFO] [stdout] --> examples/movement.rs:8:40 [INFO] [stdout] | [INFO] [stdout] 8 | world.add(human, Velocity { dr: 0, dlat: 0, dlon: 1_400_000 * VEL_SCALE }); [INFO] [stdout] | ^^^^ field does not exist [INFO] [stdout] | [INFO] [stdout] ::: src/components.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Velocity(pub Delta); [INFO] [stdout] | -------- `Velocity` defined here [INFO] [stdout] | [INFO] [stdout] help: `Velocity` is a tuple struct, use the appropriate syntax [INFO] [stdout] | [INFO] [stdout] 8 - world.add(human, Velocity { dr: 0, dlat: 0, dlon: 1_400_000 * VEL_SCALE }); [INFO] [stdout] 8 + world.add(human, Velocity(/* uvoxid::delta::Delta */)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Velocity` has no field named `dlon` [INFO] [stdout] --> examples/movement.rs:8:49 [INFO] [stdout] | [INFO] [stdout] 8 | world.add(human, Velocity { dr: 0, dlat: 0, dlon: 1_400_000 * VEL_SCALE }); [INFO] [stdout] | ^^^^ field does not exist [INFO] [stdout] | [INFO] [stdout] ::: src/components.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Velocity(pub Delta); [INFO] [stdout] | -------- `Velocity` defined here [INFO] [stdout] | [INFO] [stdout] help: `Velocity` is a tuple struct, use the appropriate syntax [INFO] [stdout] | [INFO] [stdout] 8 - world.add(human, Velocity { dr: 0, dlat: 0, dlon: 1_400_000 * VEL_SCALE }); [INFO] [stdout] 8 + world.add(human, Velocity(/* uvoxid::delta::Delta */)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Velocity` has no field named `dr` [INFO] [stdout] --> examples/movement.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | world.add(drone, Velocity { dr: 2_000_000 * VEL_SCALE, dlat: 0, dlon: 0 }); [INFO] [stdout] | ^^ field does not exist [INFO] [stdout] | [INFO] [stdout] ::: src/components.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Velocity(pub Delta); [INFO] [stdout] | -------- `Velocity` defined here [INFO] [stdout] | [INFO] [stdout] help: `Velocity` is a tuple struct, use the appropriate syntax [INFO] [stdout] | [INFO] [stdout] 12 - world.add(drone, Velocity { dr: 2_000_000 * VEL_SCALE, dlat: 0, dlon: 0 }); [INFO] [stdout] 12 + world.add(drone, Velocity(/* uvoxid::delta::Delta */)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Velocity` has no field named `dlat` [INFO] [stdout] --> examples/movement.rs:12:60 [INFO] [stdout] | [INFO] [stdout] 12 | world.add(drone, Velocity { dr: 2_000_000 * VEL_SCALE, dlat: 0, dlon: 0 }); [INFO] [stdout] | ^^^^ field does not exist [INFO] [stdout] | [INFO] [stdout] ::: src/components.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Velocity(pub Delta); [INFO] [stdout] | -------- `Velocity` defined here [INFO] [stdout] | [INFO] [stdout] help: `Velocity` is a tuple struct, use the appropriate syntax [INFO] [stdout] | [INFO] [stdout] 12 - world.add(drone, Velocity { dr: 2_000_000 * VEL_SCALE, dlat: 0, dlon: 0 }); [INFO] [stdout] 12 + world.add(drone, Velocity(/* uvoxid::delta::Delta */)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Velocity` has no field named `dlon` [INFO] [stdout] --> examples/movement.rs:12:69 [INFO] [stdout] | [INFO] [stdout] 12 | world.add(drone, Velocity { dr: 2_000_000 * VEL_SCALE, dlat: 0, dlon: 0 }); [INFO] [stdout] | ^^^^ field does not exist [INFO] [stdout] | [INFO] [stdout] ::: src/components.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Velocity(pub Delta); [INFO] [stdout] | -------- `Velocity` defined here [INFO] [stdout] | [INFO] [stdout] help: `Velocity` is a tuple struct, use the appropriate syntax [INFO] [stdout] | [INFO] [stdout] 12 - world.add(drone, Velocity { dr: 2_000_000 * VEL_SCALE, dlat: 0, dlon: 0 }); [INFO] [stdout] 12 + world.add(drone, Velocity(/* uvoxid::delta::Delta */)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ecs-lite` (test "basic") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `ecs-lite` (example "sim") due to 1 previous error [INFO] [stdout] error[E0432]: unresolved import `ecs_lite::Entity` [INFO] [stdout] --> examples/basic.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use ecs_lite::{World, Entity}; [INFO] [stdout] | ^^^^^^ no `Entity` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/movement.rs:17:56 [INFO] [stdout] | [INFO] [stdout] 17 | if let Some(pos) = world.get::(e) { [INFO] [stdout] | --------------------- ^ expected `usize`, found `&usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/world.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn get(&self, entity: usize) -> Option<&T> { [INFO] [stdout] | ^^^ [INFO] [stdout] help: consider dereferencing the borrow [INFO] [stdout] | [INFO] [stdout] 17 | if let Some(pos) = world.get::(*e) { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0560. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ecs-lite` (example "movement") due to 8 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ecs-lite` (example "basic") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "0c36d9bd1ad173b329855bfd0c8dd02f43c89006f15be05fef6017c5c14caa08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c36d9bd1ad173b329855bfd0c8dd02f43c89006f15be05fef6017c5c14caa08", kill_on_drop: false }` [INFO] [stdout] 0c36d9bd1ad173b329855bfd0c8dd02f43c89006f15be05fef6017c5c14caa08