[INFO] cloning repository https://github.com/tsmaccabe/balloon_bots_0-1 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tsmaccabe/balloon_bots_0-1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftsmaccabe%2Fballoon_bots_0-1", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftsmaccabe%2Fballoon_bots_0-1'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 803925d467a33a5a027bb77ecea1f97ca12622d3 [INFO] checking tsmaccabe/balloon_bots_0-1 against try#e90f1ff63e694965281f833819a486da29772bdf for pr-146167 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftsmaccabe%2Fballoon_bots_0-1" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tsmaccabe/balloon_bots_0-1 [INFO] finished tweaking git repo https://github.com/tsmaccabe/balloon_bots_0-1 [INFO] tweaked toml for git repo https://github.com/tsmaccabe/balloon_bots_0-1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tsmaccabe/balloon_bots_0-1 on toolchain e90f1ff63e694965281f833819a486da29772bdf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e90f1ff63e694965281f833819a486da29772bdf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tsmaccabe/balloon_bots_0-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" "+e90f1ff63e694965281f833819a486da29772bdf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bytemuck v1.23.0 [INFO] [stderr] Downloaded rurel v0.6.0 [INFO] [stderr] Downloaded ordered-float v5.0.0 [INFO] [stderr] Downloaded windows-targets v0.53.0 [INFO] [stderr] Downloaded crossbeam v0.8.4 [INFO] [stderr] Downloaded xdg v2.5.2 [INFO] [stderr] Downloaded ordered-float v1.1.1 [INFO] [stderr] Downloaded rusttype v0.9.3 [INFO] [stderr] Downloaded simba v0.7.3 [INFO] [stderr] Downloaded cocoa v0.24.1 [INFO] [stderr] Downloaded libloading v0.8.7 [INFO] [stderr] Downloaded cc v1.2.24 [INFO] [stderr] Downloaded glow v0.11.2 [INFO] [stderr] Downloaded ttf-parser v0.15.2 [INFO] [stderr] Downloaded owned_ttf_parser v0.15.2 [INFO] [stderr] Downloaded ncollide3d v0.33.0 [INFO] [stderr] Downloaded parry2d v0.21.1 [INFO] [stderr] Downloaded nalgebra v0.30.1 [INFO] [stderr] Downloaded spade v2.13.1 [INFO] [stderr] Downloaded robust v1.2.0 [INFO] [stderr] Downloaded kiss3d v0.35.0 [INFO] [stderr] Downloaded rapier2d v0.26.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+e90f1ff63e694965281f833819a486da29772bdf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4de575305902b46acfc3d73a22031d66a711941ba035fe876cd0523c936c9e1c [INFO] running `Command { std: "docker" "start" "-a" "4de575305902b46acfc3d73a22031d66a711941ba035fe876cd0523c936c9e1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4de575305902b46acfc3d73a22031d66a711941ba035fe876cd0523c936c9e1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4de575305902b46acfc3d73a22031d66a711941ba035fe876cd0523c936c9e1c", kill_on_drop: false }` [INFO] [stdout] 4de575305902b46acfc3d73a22031d66a711941ba035fe876cd0523c936c9e1c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+e90f1ff63e694965281f833819a486da29772bdf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee96f44233741ceaeaec8159d5a7a4e002d320e5a3ab32da30779e9dc7083e15 [INFO] running `Command { std: "docker" "start" "-a" "ee96f44233741ceaeaec8159d5a7a4e002d320e5a3ab32da30779e9dc7083e15", kill_on_drop: false }` [INFO] [stderr] warning: profile package spec `rapier3d` in profile `dev` did not match any packages [INFO] [stderr] [INFO] [stderr] help: a package with a similar name exists: `rapier2d` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling xml-rs v0.8.26 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Checking bytemuck v1.23.0 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Checking libloading v0.8.7 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Checking ttf-parser v0.15.2 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking hashbrown v0.15.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Checking safe_arch v0.7.4 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Checking xdg v2.5.2 [INFO] [stderr] Checking xcursor v0.3.8 [INFO] [stderr] Checking raw-window-handle v0.4.3 [INFO] [stderr] Checking wide v0.7.32 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking weezl v0.1.10 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking num-traits v0.2.19 [INFO] [stderr] Compiling glutin_glx_sys v0.1.8 [INFO] [stderr] Compiling glutin_egl_sys v0.1.6 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Checking robust v1.2.0 [INFO] [stderr] Checking gif v0.11.4 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking owned_ttf_parser v0.15.2 [INFO] [stderr] Checking rusttype v0.9.3 [INFO] [stderr] Checking andrew v0.3.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking raw-window-handle v0.3.4 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking spade v2.13.1 [INFO] [stderr] Checking ordered-float v5.0.0 [INFO] [stderr] Checking simba v0.9.0 [INFO] [stderr] Checking simba v0.7.3 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking crossbeam-deque v0.7.4 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking ena v0.14.3 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking crossbeam-queue v0.3.12 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking downcast-rs v2.0.1 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking glow v0.11.2 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking calloop v0.6.5 [INFO] [stderr] Checking wayland-commons v0.28.6 [INFO] [stderr] Checking rurel v0.6.0 [INFO] [stderr] Compiling nalgebra-macros v0.2.2 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling profiling-procmacros v1.0.16 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Checking profiling v1.0.16 [INFO] [stderr] Checking wayland-cursor v0.28.6 [INFO] [stderr] Checking wayland-egl v0.28.6 [INFO] [stderr] Checking thiserror v2.0.12 [INFO] [stderr] Checking nalgebra v0.33.2 [INFO] [stderr] Checking nalgebra v0.30.1 [INFO] [stderr] Checking parry2d v0.21.1 [INFO] [stderr] Checking ncollide3d v0.33.0 [INFO] [stderr] Checking rapier2d v0.26.1 [INFO] [stderr] Checking smithay-client-toolkit v0.12.3 [INFO] [stderr] Checking winit v0.24.0 [INFO] [stderr] Checking glutin v0.26.0 [INFO] [stderr] Checking kiss3d v0.35.0 [INFO] [stderr] Checking balloon_bots_0-1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected expression, found `let` statement [INFO] [stdout] --> src/main.rs:340:9 [INFO] [stdout] | [INFO] [stdout] 340 | let kiss3d_ray_start_world: kna::OPoint> = kna::Point3::new(ray_start_world.x, ray_start_world.y, 0.); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: only supported directly in conditions of `if` and `while` expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `@` or `|`, found `:` [INFO] [stdout] --> src/main.rs:340:35 [INFO] [stdout] | [INFO] [stdout] 340 | let kiss3d_ray_start_world: kna::OPoint> = kna::Point3::new(ray_start_world.x, ray_start_world.y, 0.); [INFO] [stdout] | ^ ------------------------------- specifying the type of a pattern isn't supported [INFO] [stdout] | | [INFO] [stdout] | expected one of `@` or `|` [INFO] [stdout] | [INFO] [stdout] help: maybe write a path separator here [INFO] [stdout] | [INFO] [stdout] 340 | let kiss3d_ray_start_world::kna::OPoint> = kna::Point3::new(ray_start_world.x, ray_start_world.y, 0.); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `:` [INFO] [stdout] --> src/main.rs:606:18 [INFO] [stdout] | [INFO] [stdout] 602 | let balloonbot_state = StateParams { [INFO] [stdout] | ----------- while parsing this struct [INFO] [stdout] ... [INFO] [stdout] 606 | increment: PI/20., [INFO] [stdout] | ^ expected identifier [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `let` statement [INFO] [stdout] --> src/main.rs:340:9 [INFO] [stdout] | [INFO] [stdout] 340 | let kiss3d_ray_start_world: kna::OPoint> = kna::Point3::new(ray_start_world.x, ray_start_world.y, 0.); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: only supported directly in conditions of `if` and `while` expressions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `@` or `|`, found `:` [INFO] [stdout] --> src/main.rs:340:35 [INFO] [stdout] | [INFO] [stdout] 340 | let kiss3d_ray_start_world: kna::OPoint> = kna::Point3::new(ray_start_world.x, ray_start_world.y, 0.); [INFO] [stdout] | ^ ------------------------------- specifying the type of a pattern isn't supported [INFO] [stdout] | | [INFO] [stdout] | expected one of `@` or `|` [INFO] [stdout] | [INFO] [stdout] help: maybe write a path separator here [INFO] [stdout] | [INFO] [stdout] 340 | let kiss3d_ray_start_world::kna::OPoint> = kna::Point3::new(ray_start_world.x, ray_start_world.y, 0.); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `:` [INFO] [stdout] --> src/main.rs:606:18 [INFO] [stdout] | [INFO] [stdout] 602 | let balloonbot_state = StateParams { [INFO] [stdout] | ----------- while parsing this struct [INFO] [stdout] ... [INFO] [stdout] 606 | increment: PI/20., [INFO] [stdout] | ^ expected identifier [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Policy` in this scope [INFO] [stdout] --> src/main.rs:270:30 [INFO] [stdout] | [INFO] [stdout] 270 | fn simulate(behavior_policy: Policy, mut scene_window: &mut Window, cam: &mut kiss3d::camera::FirstPerson, mut rigid_bodies: RigidBodySet... [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ray_dir_world` in this scope [INFO] [stdout] --> src/main.rs:336:73 [INFO] [stdout] | [INFO] [stdout] 336 | let ray_hit = rna::Point2::new(ray_start_world.x + ray_length * ray_dir_world.x, ray_start_world.y + ray_length * ray_dir_world.y); [INFO] [stdout] | ^^^^^^^^^^^^^ help: a local variable with a similar name exists: `ray_start_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ray_dir_world` in this scope [INFO] [stdout] --> src/main.rs:336:123 [INFO] [stdout] | [INFO] [stdout] 336 | let ray_hit = rna::Point2::new(ray_start_world.x + ray_length * ray_dir_world.x, ray_start_world.y + ray_length * ray_dir_world.y); [INFO] [stdout] | ^^^^^^^^^^^^^ help: a local variable with a similar name exists: `ray_start_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `kiss3d_ray_start_world` in this scope [INFO] [stdout] --> src/main.rs:344:33 [INFO] [stdout] | [INFO] [stdout] 344 | scene_window.draw_line(&kiss3d_ray_start_world, &kiss3d_ray_target_world, &color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `kiss3d_ray_target_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StateParams` in this scope [INFO] [stdout] --> src/main.rs:354:16 [INFO] [stdout] | [INFO] [stdout] 354 | impl State for StateParams { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Policy` in this scope [INFO] [stdout] --> src/main.rs:415:317 [INFO] [stdout] | [INFO] [stdout] 415 | ...r2, sensor_rangers: Vec) -> impl FnMut(Policy) -> f32 { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `StateParams` in this scope [INFO] [stdout] --> src/main.rs:602:28 [INFO] [stdout] | [INFO] [stdout] 602 | let balloonbot_state = StateParams { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Policy` in this scope [INFO] [stdout] --> src/main.rs:609:18 [INFO] [stdout] | [INFO] [stdout] 609 | let policy = Policy{kind: PolicyKind::BalloonBotPolicy, inputs: BalloonBotSensorValues::new_zeros(), outputs: ActuatorValues{vec: vec... [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ActuatorValues` in this scope [INFO] [stdout] --> src/main.rs:609:115 [INFO] [stdout] | [INFO] [stdout] 609 | ...: BalloonBotSensorValues::new_zeros(), outputs: ActuatorValues{vec: vec![0.]}, parameters: BalloonBotActuatorValues::new_zeros(PI/100.)}; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Agent` [INFO] [stdout] --> src/main.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | use rurel::mdp::{State, Agent}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Policy` in this scope [INFO] [stdout] --> src/main.rs:270:30 [INFO] [stdout] | [INFO] [stdout] 270 | fn simulate(behavior_policy: Policy, mut scene_window: &mut Window, cam: &mut kiss3d::camera::FirstPerson, mut rigid_bodies: RigidBodySet... [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ray_dir_world` in this scope [INFO] [stdout] --> src/main.rs:336:73 [INFO] [stdout] | [INFO] [stdout] 336 | let ray_hit = rna::Point2::new(ray_start_world.x + ray_length * ray_dir_world.x, ray_start_world.y + ray_length * ray_dir_world.y); [INFO] [stdout] | ^^^^^^^^^^^^^ help: a local variable with a similar name exists: `ray_start_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ray_dir_world` in this scope [INFO] [stdout] --> src/main.rs:336:123 [INFO] [stdout] | [INFO] [stdout] 336 | let ray_hit = rna::Point2::new(ray_start_world.x + ray_length * ray_dir_world.x, ray_start_world.y + ray_length * ray_dir_world.y); [INFO] [stdout] | ^^^^^^^^^^^^^ help: a local variable with a similar name exists: `ray_start_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `kiss3d_ray_start_world` in this scope [INFO] [stdout] --> src/main.rs:344:33 [INFO] [stdout] | [INFO] [stdout] 344 | scene_window.draw_line(&kiss3d_ray_start_world, &kiss3d_ray_target_world, &color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `kiss3d_ray_target_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StateParams` in this scope [INFO] [stdout] --> src/main.rs:354:16 [INFO] [stdout] | [INFO] [stdout] 354 | impl State for StateParams { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Policy` in this scope [INFO] [stdout] --> src/main.rs:415:317 [INFO] [stdout] | [INFO] [stdout] 415 | ...r2, sensor_rangers: Vec) -> impl FnMut(Policy) -> f32 { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `StateParams` in this scope [INFO] [stdout] --> src/main.rs:602:28 [INFO] [stdout] | [INFO] [stdout] 602 | let balloonbot_state = StateParams { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Policy` in this scope [INFO] [stdout] --> src/main.rs:609:18 [INFO] [stdout] | [INFO] [stdout] 609 | let policy = Policy{kind: PolicyKind::BalloonBotPolicy, inputs: BalloonBotSensorValues::new_zeros(), outputs: ActuatorValues{vec: vec... [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ActuatorValues` in this scope [INFO] [stdout] --> src/main.rs:609:115 [INFO] [stdout] | [INFO] [stdout] 609 | ...: BalloonBotSensorValues::new_zeros(), outputs: ActuatorValues{vec: vec![0.]}, parameters: BalloonBotActuatorValues::new_zeros(PI/100.)}; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Agent` [INFO] [stdout] --> src/main.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | use rurel::mdp::{State, Agent}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 4 arguments but 5 arguments were supplied [INFO] [stdout] --> src/main.rs:255:55 [INFO] [stdout] | [INFO] [stdout] 255 | let (_, ray_length, ray_angle_world) = ranger.ray_trace(query_pipeline, rigid_bodies, colliders, coord_sys_origin, coord_sys_angle); [INFO] [stdout] | ^^^^^^^^^ --------------- unexpected argument #5 of type `f32` [INFO] [stdout] | [INFO] [stdout] note: expected `&LocalCoordFrame`, found `OPoint>` [INFO] [stdout] --> src/main.rs:255:106 [INFO] [stdout] | [INFO] [stdout] 255 | let (_, ray_length, ray_angle_world) = ranger.ray_trace(query_pipeline, rigid_bodies, colliders, coord_sys_origin, coord_sys_angle); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected reference `&LocalCoordFrame` [INFO] [stdout] found struct `rapier2d::nalgebra::OPoint>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/main.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 121 | ...fn ray_trace(&self, query_pipeline: &mut QueryPipeline, rigid_bodies: &RigidBodySet, colliders: &ColliderSet, frame: &LocalCoordFrame) -... [INFO] [stdout] | ^^^^^^^^^ ----------------------- [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 255 - let (_, ray_length, ray_angle_world) = ranger.ray_trace(query_pipeline, rigid_bodies, colliders, coord_sys_origin, coord_sys_angle); [INFO] [stdout] 255 + let (_, ray_length, ray_angle_world) = ranger.ray_trace(query_pipeline, rigid_bodies, colliders, /* &LocalCoordFrame */); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:325:45 [INFO] [stdout] | [INFO] [stdout] 325 | draw_sensor_rays(&mut scene_window, &query_pipeline, &rigid_bodies, &colliders, &sensor_rangers, head_pos, head_angle); [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^^ types differ in mutability [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut rapier2d::pipeline::QueryPipeline` [INFO] [stdout] found reference `&rapier2d::pipeline::QueryPipeline` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:252:4 [INFO] [stdout] | [INFO] [stdout] 252 | fn draw_sensor_rays(scene_window: &mut Window, query_pipeline: &mut QueryPipeline, rigid_bodies: &RigidBodySet, colliders: &ColliderSet, ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ---------------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 4 arguments but 5 arguments were supplied [INFO] [stdout] --> src/main.rs:255:55 [INFO] [stdout] | [INFO] [stdout] 255 | let (_, ray_length, ray_angle_world) = ranger.ray_trace(query_pipeline, rigid_bodies, colliders, coord_sys_origin, coord_sys_angle); [INFO] [stdout] | ^^^^^^^^^ --------------- unexpected argument #5 of type `f32` [INFO] [stdout] | [INFO] [stdout] note: expected `&LocalCoordFrame`, found `OPoint>` [INFO] [stdout] --> src/main.rs:255:106 [INFO] [stdout] | [INFO] [stdout] 255 | let (_, ray_length, ray_angle_world) = ranger.ray_trace(query_pipeline, rigid_bodies, colliders, coord_sys_origin, coord_sys_angle); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected reference `&LocalCoordFrame` [INFO] [stdout] found struct `rapier2d::nalgebra::OPoint>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/main.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 121 | ...fn ray_trace(&self, query_pipeline: &mut QueryPipeline, rigid_bodies: &RigidBodySet, colliders: &ColliderSet, frame: &LocalCoordFrame) -... [INFO] [stdout] | ^^^^^^^^^ ----------------------- [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 255 - let (_, ray_length, ray_angle_world) = ranger.ray_trace(query_pipeline, rigid_bodies, colliders, coord_sys_origin, coord_sys_angle); [INFO] [stdout] 255 + let (_, ray_length, ray_angle_world) = ranger.ray_trace(query_pipeline, rigid_bodies, colliders, /* &LocalCoordFrame */); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Ranger` has no field named `origin` [INFO] [stdout] --> src/main.rs:587:36 [INFO] [stdout] | [INFO] [stdout] 587 | sensor_rangers.push(Ranger{origin: local_front_sensor_pos, dir: front_dir}); [INFO] [stdout] | ^^^^^^ `Ranger` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `frame`, `ray_local_origin`, `ray_local_angle`, `range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Ranger` has no field named `dir` [INFO] [stdout] --> src/main.rs:587:68 [INFO] [stdout] | [INFO] [stdout] 587 | sensor_rangers.push(Ranger{origin: local_front_sensor_pos, dir: front_dir}); [INFO] [stdout] | ^^^ `Ranger` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `frame`, `ray_local_origin`, `ray_local_angle`, `range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Ranger` has no field named `origin` [INFO] [stdout] --> src/main.rs:588:36 [INFO] [stdout] | [INFO] [stdout] 588 | sensor_rangers.push(Ranger{origin: local_rear_sensor_pos, dir: rear_dir}); [INFO] [stdout] | ^^^^^^ `Ranger` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `frame`, `ray_local_origin`, `ray_local_angle`, `range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Ranger` has no field named `dir` [INFO] [stdout] --> src/main.rs:588:67 [INFO] [stdout] | [INFO] [stdout] 588 | sensor_rangers.push(Ranger{origin: local_rear_sensor_pos, dir: rear_dir}); [INFO] [stdout] | ^^^ `Ranger` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `frame`, `ray_local_origin`, `ray_local_angle`, `range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StateParamsKind` [INFO] [stdout] --> src/main.rs:603:15 [INFO] [stdout] | [INFO] [stdout] 603 | kind: StateParamsKind::BalloonBotParams, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `StateParamsKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BalloonBotActuatorValues` [INFO] [stdout] --> src/main.rs:604:20 [INFO] [stdout] | [INFO] [stdout] 604 | actuators: BalloonBotActuatorValues::new_zeros(1.), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `BalloonBotActuatorValues` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PolicyKind` [INFO] [stdout] --> src/main.rs:609:31 [INFO] [stdout] | [INFO] [stdout] 609 | let policy = Policy{kind: PolicyKind::BalloonBotPolicy, inputs: BalloonBotSensorValues::new_zeros(), outputs: ActuatorValues{vec: vec... [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PolicyKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BalloonBotSensorValues` [INFO] [stdout] --> src/main.rs:609:69 [INFO] [stdout] | [INFO] [stdout] 609 | ...Kind::BalloonBotPolicy, inputs: BalloonBotSensorValues::new_zeros(), outputs: ActuatorValues{vec: vec![0.]}, parameters: BalloonBotAct... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `BalloonBotSensorValues` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BalloonBotActuatorValues` [INFO] [stdout] --> src/main.rs:609:158 [INFO] [stdout] | [INFO] [stdout] 609 | ...s{vec: vec![0.]}, parameters: BalloonBotActuatorValues::new_zeros(PI/100.)}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `BalloonBotActuatorValues` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sensors` [INFO] [stdout] --> src/main.rs:186:16 [INFO] [stdout] | [INFO] [stdout] 186 | fn make_policy(sensors: SensorSuite, parameters: LegRhythmParams, ) -> () { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sensors` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parameters` [INFO] [stdout] --> src/main.rs:186:38 [INFO] [stdout] | [INFO] [stdout] 186 | fn make_policy(sensors: SensorSuite, parameters: LegRhythmParams, ) -> () { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parameters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:325:45 [INFO] [stdout] | [INFO] [stdout] 325 | draw_sensor_rays(&mut scene_window, &query_pipeline, &rigid_bodies, &colliders, &sensor_rangers, head_pos, head_angle); [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^^ types differ in mutability [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut rapier2d::pipeline::QueryPipeline` [INFO] [stdout] found reference `&rapier2d::pipeline::QueryPipeline` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:252:4 [INFO] [stdout] | [INFO] [stdout] 252 | fn draw_sensor_rays(scene_window: &mut Window, query_pipeline: &mut QueryPipeline, rigid_bodies: &RigidBodySet, colliders: &ColliderSet, ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ---------------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Ranger` has no field named `origin` [INFO] [stdout] --> src/main.rs:587:36 [INFO] [stdout] | [INFO] [stdout] 587 | sensor_rangers.push(Ranger{origin: local_front_sensor_pos, dir: front_dir}); [INFO] [stdout] | ^^^^^^ `Ranger` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `frame`, `ray_local_origin`, `ray_local_angle`, `range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Ranger` has no field named `dir` [INFO] [stdout] --> src/main.rs:587:68 [INFO] [stdout] | [INFO] [stdout] 587 | sensor_rangers.push(Ranger{origin: local_front_sensor_pos, dir: front_dir}); [INFO] [stdout] | ^^^ `Ranger` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `frame`, `ray_local_origin`, `ray_local_angle`, `range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Ranger` has no field named `origin` [INFO] [stdout] --> src/main.rs:588:36 [INFO] [stdout] | [INFO] [stdout] 588 | sensor_rangers.push(Ranger{origin: local_rear_sensor_pos, dir: rear_dir}); [INFO] [stdout] | ^^^^^^ `Ranger` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `frame`, `ray_local_origin`, `ray_local_angle`, `range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Ranger` has no field named `dir` [INFO] [stdout] --> src/main.rs:588:67 [INFO] [stdout] | [INFO] [stdout] 588 | sensor_rangers.push(Ranger{origin: local_rear_sensor_pos, dir: rear_dir}); [INFO] [stdout] | ^^^ `Ranger` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `frame`, `ray_local_origin`, `ray_local_angle`, `range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StateParamsKind` [INFO] [stdout] --> src/main.rs:603:15 [INFO] [stdout] | [INFO] [stdout] 603 | kind: StateParamsKind::BalloonBotParams, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `StateParamsKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BalloonBotActuatorValues` [INFO] [stdout] --> src/main.rs:604:20 [INFO] [stdout] | [INFO] [stdout] 604 | actuators: BalloonBotActuatorValues::new_zeros(1.), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `BalloonBotActuatorValues` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PolicyKind` [INFO] [stdout] --> src/main.rs:609:31 [INFO] [stdout] | [INFO] [stdout] 609 | let policy = Policy{kind: PolicyKind::BalloonBotPolicy, inputs: BalloonBotSensorValues::new_zeros(), outputs: ActuatorValues{vec: vec... [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PolicyKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BalloonBotSensorValues` [INFO] [stdout] --> src/main.rs:609:69 [INFO] [stdout] | [INFO] [stdout] 609 | ...Kind::BalloonBotPolicy, inputs: BalloonBotSensorValues::new_zeros(), outputs: ActuatorValues{vec: vec![0.]}, parameters: BalloonBotAct... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `BalloonBotSensorValues` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BalloonBotActuatorValues` [INFO] [stdout] --> src/main.rs:609:158 [INFO] [stdout] | [INFO] [stdout] 609 | ...s{vec: vec![0.]}, parameters: BalloonBotActuatorValues::new_zeros(PI/100.)}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `BalloonBotActuatorValues` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0412, E0422, E0425, E0433, E0560. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sensors` [INFO] [stdout] --> src/main.rs:186:16 [INFO] [stdout] | [INFO] [stdout] 186 | fn make_policy(sensors: SensorSuite, parameters: LegRhythmParams, ) -> () { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sensors` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parameters` [INFO] [stdout] --> src/main.rs:186:38 [INFO] [stdout] | [INFO] [stdout] 186 | fn make_policy(sensors: SensorSuite, parameters: LegRhythmParams, ) -> () { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parameters` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `balloon_bots_0-1` (bin "balloon_bots_0-1" test) due to 23 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0412, E0422, E0425, E0433, E0560. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `balloon_bots_0-1` (bin "balloon_bots_0-1") due to 23 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ee96f44233741ceaeaec8159d5a7a4e002d320e5a3ab32da30779e9dc7083e15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee96f44233741ceaeaec8159d5a7a4e002d320e5a3ab32da30779e9dc7083e15", kill_on_drop: false }` [INFO] [stdout] ee96f44233741ceaeaec8159d5a7a4e002d320e5a3ab32da30779e9dc7083e15