[INFO] cloning repository https://github.com/mrterry/lunchr [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mrterry/lunchr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmrterry%2Flunchr", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmrterry%2Flunchr'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 989fd3b0499e2601d61507bed0d5138f8031af81 [INFO] checking mrterry/lunchr against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmrterry%2Flunchr" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mrterry/lunchr [INFO] finished tweaking git repo https://github.com/mrterry/lunchr [INFO] tweaked toml for git repo https://github.com/mrterry/lunchr written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mrterry/lunchr on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mrterry/lunchr 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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6d1f885d17f3850fabecb68867e6025c628d1865cefa802fb985884be8481ef7 [INFO] running `Command { std: "docker" "start" "-a" "6d1f885d17f3850fabecb68867e6025c628d1865cefa802fb985884be8481ef7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6d1f885d17f3850fabecb68867e6025c628d1865cefa802fb985884be8481ef7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d1f885d17f3850fabecb68867e6025c628d1865cefa802fb985884be8481ef7", kill_on_drop: false }` [INFO] [stdout] 6d1f885d17f3850fabecb68867e6025c628d1865cefa802fb985884be8481ef7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 955dba7c0cb201ea427474c267a9faa84c96da031e39d4d0227830979517e7a6 [INFO] running `Command { std: "docker" "start" "-a" "955dba7c0cb201ea427474c267a9faa84c96da031e39d4d0227830979517e7a6", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking lunchr v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: unexpected token: `;` [INFO] [stdout] --> src/main.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | ; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected token: `;` [INFO] [stdout] --> src/main.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | ; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found enum `TableAction` [INFO] [stdout] --> src/main.rs:94:27 [INFO] [stdout] | [INFO] [stdout] 94 | let mut best_action = TableAction.Stay; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the enum is defined here [INFO] [stdout] --> src/main.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | / enum TableAction { [INFO] [stdout] 84 | | Join(TID), [INFO] [stdout] 85 | | Replace(PID, TID), [INFO] [stdout] 86 | | Stay, [INFO] [stdout] 87 | | } [INFO] [stdout] | |_^ [INFO] [stdout] help: use the path separator to refer to a variant [INFO] [stdout] | [INFO] [stdout] 94 - let mut best_action = TableAction.Stay; [INFO] [stdout] 94 + let mut best_action = TableAction::Stay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found enum `TableAction` [INFO] [stdout] --> src/main.rs:107:27 [INFO] [stdout] | [INFO] [stdout] 107 | best_action = TableAction.Join(tid); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the enum is defined here [INFO] [stdout] --> src/main.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | / enum TableAction { [INFO] [stdout] 84 | | Join(TID), [INFO] [stdout] 85 | | Replace(PID, TID), [INFO] [stdout] 86 | | Stay, [INFO] [stdout] 87 | | } [INFO] [stdout] | |_^ [INFO] [stdout] help: use the path separator to refer to a variant [INFO] [stdout] | [INFO] [stdout] 107 - best_action = TableAction.Join(tid); [INFO] [stdout] 107 + best_action = TableAction::Join(tid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found enum `TableAction` [INFO] [stdout] --> src/main.rs:115:35 [INFO] [stdout] | [INFO] [stdout] 115 | best_action = TableAction.Join(tid); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the enum is defined here [INFO] [stdout] --> src/main.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | / enum TableAction { [INFO] [stdout] 84 | | Join(TID), [INFO] [stdout] 85 | | Replace(PID, TID), [INFO] [stdout] 86 | | Stay, [INFO] [stdout] 87 | | } [INFO] [stdout] | |_^ [INFO] [stdout] help: use the path separator to refer to a variant [INFO] [stdout] | [INFO] [stdout] 115 - best_action = TableAction.Join(tid); [INFO] [stdout] 115 + best_action = TableAction::Join(tid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found enum `TableAction` [INFO] [stdout] --> src/main.rs:94:27 [INFO] [stdout] | [INFO] [stdout] 94 | let mut best_action = TableAction.Stay; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the enum is defined here [INFO] [stdout] --> src/main.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | / enum TableAction { [INFO] [stdout] 84 | | Join(TID), [INFO] [stdout] 85 | | Replace(PID, TID), [INFO] [stdout] 86 | | Stay, [INFO] [stdout] 87 | | } [INFO] [stdout] | |_^ [INFO] [stdout] help: use the path separator to refer to a variant [INFO] [stdout] | [INFO] [stdout] 94 - let mut best_action = TableAction.Stay; [INFO] [stdout] 94 + let mut best_action = TableAction::Stay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found enum `TableAction` [INFO] [stdout] --> src/main.rs:107:27 [INFO] [stdout] | [INFO] [stdout] 107 | best_action = TableAction.Join(tid); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the enum is defined here [INFO] [stdout] --> src/main.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | / enum TableAction { [INFO] [stdout] 84 | | Join(TID), [INFO] [stdout] 85 | | Replace(PID, TID), [INFO] [stdout] 86 | | Stay, [INFO] [stdout] 87 | | } [INFO] [stdout] | |_^ [INFO] [stdout] help: use the path separator to refer to a variant [INFO] [stdout] | [INFO] [stdout] 107 - best_action = TableAction.Join(tid); [INFO] [stdout] 107 + best_action = TableAction::Join(tid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found enum `TableAction` [INFO] [stdout] --> src/main.rs:115:35 [INFO] [stdout] | [INFO] [stdout] 115 | best_action = TableAction.Join(tid); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the enum is defined here [INFO] [stdout] --> src/main.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | / enum TableAction { [INFO] [stdout] 84 | | Join(TID), [INFO] [stdout] 85 | | Replace(PID, TID), [INFO] [stdout] 86 | | Stay, [INFO] [stdout] 87 | | } [INFO] [stdout] | |_^ [INFO] [stdout] help: use the path separator to refer to a variant [INFO] [stdout] | [INFO] [stdout] 115 - best_action = TableAction.Join(tid); [INFO] [stdout] 115 + best_action = TableAction::Join(tid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `one_pass` found for mutable reference `&mut TableSeq` in the current scope [INFO] [stdout] --> src/main.rs:103:35 [INFO] [stdout] | [INFO] [stdout] 103 | for (tid, table) in table_seq.one_pass() { [INFO] [stdout] | ^^^^^^^^ method not found in `&mut TableSeq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `drop_one` in this scope [INFO] [stdout] --> src/main.rs:111:35 [INFO] [stdout] | [INFO] [stdout] 111 | for (kicked_pid, left) in drop_one(table) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:120:20 [INFO] [stdout] | [INFO] [stdout] 120 | return (best < base, best_action) [INFO] [stdout] | ---- ^^^^ expected `u32`, found `Option` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `u32` [INFO] [stdout] | [INFO] [stdout] = note: expected type `u32` [INFO] [stdout] found enum `Option` [INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 120 | return (best < base.expect("REASON"), best_action) [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table_seq` [INFO] [stdout] --> src/main.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | let mut table_seq = TableSeq::new(&(0..3).collect()); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_seq` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pid` [INFO] [stdout] --> src/main.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | for pid in peeps { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | let mut man = AssociationManager::new(n_people, n_tables, 2); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | let mut table_seq = TableSeq::new(&(0..3).collect()); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected a pattern, found an expression [INFO] [stdout] --> src/main.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | let table_seq.one_pass() [INFO] [stdout] | _________^ [INFO] [stdout] 97 | | .map(|tid, table| (score_join(pid, table), tid)) [INFO] [stdout] 98 | | .filter(|table, tid| Some(table)) [INFO] [stdout] | |_________________________________________^ not a pattern [INFO] [stdout] | [INFO] [stdout] = note: arbitrary expressions are not allowed in patterns: [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0423, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `one_pass` found for mutable reference `&mut TableSeq` in the current scope [INFO] [stdout] --> src/main.rs:103:35 [INFO] [stdout] | [INFO] [stdout] 103 | for (tid, table) in table_seq.one_pass() { [INFO] [stdout] | ^^^^^^^^ method not found in `&mut TableSeq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `drop_one` in this scope [INFO] [stdout] --> src/main.rs:111:35 [INFO] [stdout] | [INFO] [stdout] 111 | for (kicked_pid, left) in drop_one(table) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:120:20 [INFO] [stdout] | [INFO] [stdout] 120 | return (best < base, best_action) [INFO] [stdout] | ---- ^^^^ expected `u32`, found `Option` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `u32` [INFO] [stdout] | [INFO] [stdout] = note: expected type `u32` [INFO] [stdout] found enum `Option` [INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 120 | return (best < base.expect("REASON"), best_action) [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lunchr` (bin "lunchr") due to 8 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `table_seq` [INFO] [stdout] --> src/main.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | let mut table_seq = TableSeq::new(&(0..3).collect()); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_seq` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pid` [INFO] [stdout] --> src/main.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | for pid in peeps { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | let mut man = AssociationManager::new(n_people, n_tables, 2); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | let mut table_seq = TableSeq::new(&(0..3).collect()); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected a pattern, found an expression [INFO] [stdout] --> src/main.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | let table_seq.one_pass() [INFO] [stdout] | _________^ [INFO] [stdout] 97 | | .map(|tid, table| (score_join(pid, table), tid)) [INFO] [stdout] 98 | | .filter(|table, tid| Some(table)) [INFO] [stdout] | |_________________________________________^ not a pattern [INFO] [stdout] | [INFO] [stdout] = note: arbitrary expressions are not allowed in patterns: [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0423, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lunchr` (bin "lunchr" test) due to 8 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "955dba7c0cb201ea427474c267a9faa84c96da031e39d4d0227830979517e7a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "955dba7c0cb201ea427474c267a9faa84c96da031e39d4d0227830979517e7a6", kill_on_drop: false }` [INFO] [stdout] 955dba7c0cb201ea427474c267a9faa84c96da031e39d4d0227830979517e7a6