[INFO] cloning repository https://github.com/irwinsnet/rustcar [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/irwinsnet/rustcar" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Firwinsnet%2Frustcar", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Firwinsnet%2Frustcar'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b933cdc419f095e3d221facc64d548159cb7ecac [INFO] testing irwinsnet/rustcar against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Firwinsnet%2Frustcar" "/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/irwinsnet/rustcar [INFO] finished tweaking git repo https://github.com/irwinsnet/rustcar [INFO] tweaked toml for git repo https://github.com/irwinsnet/rustcar written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/irwinsnet/rustcar on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/irwinsnet/rustcar 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e6c70025cafa58ea4f3bde7c53a70f4b793c5a441659469280e8ab5a04470f7d [INFO] running `Command { std: "docker" "start" "-a" "e6c70025cafa58ea4f3bde7c53a70f4b793c5a441659469280e8ab5a04470f7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e6c70025cafa58ea4f3bde7c53a70f4b793c5a441659469280e8ab5a04470f7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6c70025cafa58ea4f3bde7c53a70f4b793c5a441659469280e8ab5a04470f7d", kill_on_drop: false }` [INFO] [stdout] e6c70025cafa58ea4f3bde7c53a70f4b793c5a441659469280e8ab5a04470f7d [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" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d20a645b61eebd16812b95bfeb3f5ed38f459db07d69fc58d5daacaa8f32eac [INFO] running `Command { std: "docker" "start" "-a" "9d20a645b61eebd16812b95bfeb3f5ed38f459db07d69fc58d5daacaa8f32eac", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling bytemuck v1.21.0 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling safe_arch v0.7.4 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling wide v0.7.32 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling clap_builder v4.5.31 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling noisy_float v0.2.0 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling simba v0.9.0 [INFO] [stderr] Compiling ndarray v0.16.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.28 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling clap v4.5.31 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling ndarray-stats v0.6.0 [INFO] [stderr] Compiling nalgebra v0.33.2 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling config-file v0.2.3 [INFO] [stderr] Compiling statrs v0.18.0 [INFO] [stderr] Compiling rustcar2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.18s [INFO] running `Command { std: "docker" "inspect" "9d20a645b61eebd16812b95bfeb3f5ed38f459db07d69fc58d5daacaa8f32eac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d20a645b61eebd16812b95bfeb3f5ed38f459db07d69fc58d5daacaa8f32eac", kill_on_drop: false }` [INFO] [stdout] 9d20a645b61eebd16812b95bfeb3f5ed38f459db07d69fc58d5daacaa8f32eac [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" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c6be0bf640ba72b0e76f41a87fac7c91d1e74d4e90f1327d0b3d471d8fbb428 [INFO] running `Command { std: "docker" "start" "-a" "4c6be0bf640ba72b0e76f41a87fac7c91d1e74d4e90f1327d0b3d471d8fbb428", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling test-case-core v3.3.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.28 [INFO] [stderr] Compiling test-case-macros v3.3.1 [INFO] [stderr] Compiling test-case v3.3.1 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling clap v4.5.31 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling ndarray-stats v0.6.0 [INFO] [stderr] Compiling nalgebra v0.33.2 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling config-file v0.2.3 [INFO] [stderr] Compiling statrs v0.18.0 [INFO] [stderr] Compiling rustcar2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0061]: this method takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/cars.rs:398:25 [INFO] [stdout] | [INFO] [stdout] 398 | let cv = agency.calc_value(&s1, &pi); [INFO] [stdout] | ^^^^^^^^^^---------- argument #3 of type `Option` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/cars.rs:285:12 [INFO] [stdout] | [INFO] [stdout] 285 | pub fn calc_value( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 286 | &self, s1: &State, pi: &policy::Policy, action: Option) -> f64 { [INFO] [stdout] | ------------------ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 398 | let cv = agency.calc_value(&s1, &pi, /* Option */); [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/cars.rs:412:25 [INFO] [stdout] | [INFO] [stdout] 412 | let cv = agency.calc_value(&s1, &pi); [INFO] [stdout] | ^^^^^^^^^^---------- argument #3 of type `Option` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/cars.rs:285:12 [INFO] [stdout] | [INFO] [stdout] 285 | pub fn calc_value( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 286 | &self, s1: &State, pi: &policy::Policy, action: Option) -> f64 { [INFO] [stdout] | ------------------ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 412 | let cv = agency.calc_value(&s1, &pi, /* Option */); [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0610]: `i8` is a primitive type and therefore doesn't have fields [INFO] [stdout] --> src/policy.rs:139:53 [INFO] [stdout] | [INFO] [stdout] 139 | println!("Action: {}, Value: {}", best_move.0, best_move.1); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0610]: `i8` is a primitive type and therefore doesn't have fields [INFO] [stdout] --> src/policy.rs:139:66 [INFO] [stdout] | [INFO] [stdout] 139 | println!("Action: {}, Value: {}", best_move.0, best_move.1); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0610]: `i8` is a primitive type and therefore doesn't have fields [INFO] [stdout] --> src/policy.rs:140:27 [INFO] [stdout] | [INFO] [stdout] 140 | assert!(best_move.0 >= -2 && best_move.0 <= 2); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0610]: `i8` is a primitive type and therefore doesn't have fields [INFO] [stdout] --> src/policy.rs:140:48 [INFO] [stdout] | [INFO] [stdout] 140 | assert!(best_move.0 >= -2 && best_move.0 <= 2); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0610]: `i8` is a primitive type and therefore doesn't have fields [INFO] [stdout] --> src/policy.rs:141:27 [INFO] [stdout] | [INFO] [stdout] 141 | assert!(best_move.1 >= 0.0); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `learn` in this scope [INFO] [stdout] --> src/lib.rs:105:18 [INFO] [stdout] | [INFO] [stdout] 105 | let pi = learn(agency); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0425, E0610. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustcar2` (lib test) due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "4c6be0bf640ba72b0e76f41a87fac7c91d1e74d4e90f1327d0b3d471d8fbb428", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c6be0bf640ba72b0e76f41a87fac7c91d1e74d4e90f1327d0b3d471d8fbb428", kill_on_drop: false }` [INFO] [stdout] 4c6be0bf640ba72b0e76f41a87fac7c91d1e74d4e90f1327d0b3d471d8fbb428