[INFO] cloning repository https://github.com/pakosak/candy_game [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pakosak/candy_game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpakosak%2Fcandy_game", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpakosak%2Fcandy_game'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0a9f1d428d1d44117ec8b2168aaaf4396d499b76 [INFO] testing pakosak/candy_game against 1.91.0 for beta-1.92-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpakosak%2Fcandy_game" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/pakosak/candy_game [INFO] finished tweaking git repo https://github.com/pakosak/candy_game [INFO] tweaked toml for git repo https://github.com/pakosak/candy_game written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pakosak/candy_game on toolchain 1.91.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/pakosak/candy_game 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" "+1.91.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded anstyle-parse v0.2.2 [INFO] [stderr] Downloaded term v0.7.0 [INFO] [stderr] Downloaded clap_lex v0.5.1 [INFO] [stderr] Downloaded anstream v0.6.4 [INFO] [stderr] Downloaded anstyle-wincon v3.0.1 [INFO] [stderr] Downloaded async-trait v0.1.74 [INFO] [stderr] Downloaded dialoguer v0.11.0 [INFO] [stderr] Downloaded anstyle v1.0.4 [INFO] [stderr] Downloaded termion v2.0.1 [INFO] [stderr] Downloaded errno v0.3.5 [INFO] [stderr] Downloaded redox_termios v0.1.2 [INFO] [stderr] Downloaded thiserror v1.0.50 [INFO] [stderr] Downloaded is-terminal v0.4.9 [INFO] [stderr] Downloaded clap_builder v4.4.6 [INFO] [stderr] Downloaded thiserror-impl v1.0.50 [INFO] [stderr] Downloaded linux-raw-sys v0.4.10 [INFO] [stderr] Downloaded syn v2.0.38 [INFO] [stderr] Downloaded numtoa v0.1.0 [INFO] [stderr] Downloaded clap v4.4.6 [INFO] [stderr] Downloaded phf_macros v0.11.2 [INFO] [stderr] Downloaded prettytable-rs v0.10.0 [INFO] [stderr] Downloaded clap_derive v4.4.2 [INFO] [stderr] Downloaded serde_derive v1.0.190 [INFO] [stderr] Downloaded serde v1.0.190 [INFO] [stderr] Downloaded tokio v1.33.0 [INFO] [stderr] Downloaded libc v0.2.149 [INFO] [stderr] Downloaded chrono v0.4.31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+1.91.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 13c6979560427988fb5c5c90d7b4f8a5f082df8616e98a5d0666663a9513136c [INFO] running `Command { std: "docker" "start" "-a" "13c6979560427988fb5c5c90d7b4f8a5f082df8616e98a5d0666663a9513136c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "13c6979560427988fb5c5c90d7b4f8a5f082df8616e98a5d0666663a9513136c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13c6979560427988fb5c5c90d7b4f8a5f082df8616e98a5d0666663a9513136c", kill_on_drop: false }` [INFO] [stdout] 13c6979560427988fb5c5c90d7b4f8a5f082df8616e98a5d0666663a9513136c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.91.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 123476bf4a5b1fcd2751cafc281c1da0ef0c878c73eaa0ae46fa9bf3b2f5b875 [INFO] running `Command { std: "docker" "start" "-a" "123476bf4a5b1fcd2751cafc281c1da0ef0c878c73eaa0ae46fa9bf3b2f5b875", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling smallvec v1.11.1 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling serde v1.0.190 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling rustix v0.38.21 [INFO] [stderr] Compiling linux-raw-sys v0.4.10 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling futures-sink v0.3.29 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling mio v0.8.9 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling anstyle-parse v0.2.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling openssl-sys v0.9.93 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling openssl v0.10.57 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling anstream v0.6.4 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling csv-core v0.1.11 [INFO] [stderr] Compiling clap_lex v0.5.1 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling clap_builder v4.4.6 [INFO] [stderr] Compiling tempfile v3.8.1 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling console v0.15.7 [INFO] [stderr] Compiling iana-time-zone v0.1.58 [INFO] [stderr] Compiling zeroize v1.6.0 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling numtoa v0.1.0 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling termcolor v1.3.0 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling encode_unicode v1.0.0 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.190 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling tokio v1.33.0 [INFO] [stderr] Compiling pin-project v1.1.3 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling clap_derive v4.4.2 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling env_logger v0.10.0 [INFO] [stderr] Compiling dialoguer v0.11.0 [INFO] [stderr] Compiling termion v2.0.1 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling clap v4.4.6 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling h2 v0.3.21 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.14 [INFO] [stderr] Compiling csv v1.3.0 [INFO] [stderr] Compiling prettytable-rs v0.10.0 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling reqwest v0.11.22 [INFO] [stderr] Compiling world_game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/game/world.rs:80:22 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn get_state(&self) -> WorldState { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 80 | pub fn get_state(&self) -> WorldState<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_map_template` found for struct `tokio::sync::MutexGuard<'_, World>` in the current scope [INFO] [stdout] --> src/main.rs:58:29 [INFO] [stdout] | [INFO] [stdout] 58 | let map = world.get_map_template().place_objects(world_state.objects); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_state` with a similar name [INFO] [stdout] | [INFO] [stdout] 58 - let map = world.get_map_template().place_objects(world_state.objects); [INFO] [stdout] 58 + let map = world.get_state().place_objects(world_state.objects); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 4 arguments were supplied [INFO] [stdout] --> src/main.rs:133:37 [INFO] [stdout] | [INFO] [stdout] 133 | let world = Arc::new(Mutex::new(World::new( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 134 | args.width, [INFO] [stdout] | ---------- expected `&str`, found `usize` [INFO] [stdout] ... [INFO] [stdout] 137 | args.candy_cnt, [INFO] [stdout] | -------------- unexpected argument #4 of type `usize` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/game/world.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn new(maze_name: &str, mob_cnt: usize, candy_cnt: usize) -> Self { [INFO] [stdout] | ^^^ --------------- [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 134 ~ /* &str */, [INFO] [stdout] 135 | args.height, [INFO] [stdout] 136 ~ args.mob_cnt, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `world_game` (bin "main") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "123476bf4a5b1fcd2751cafc281c1da0ef0c878c73eaa0ae46fa9bf3b2f5b875", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "123476bf4a5b1fcd2751cafc281c1da0ef0c878c73eaa0ae46fa9bf3b2f5b875", kill_on_drop: false }` [INFO] [stdout] 123476bf4a5b1fcd2751cafc281c1da0ef0c878c73eaa0ae46fa9bf3b2f5b875