[INFO] cloning repository https://github.com/ssun3/rustserver [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ssun3/rustserver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fssun3%2Frustserver", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fssun3%2Frustserver'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c06270216ed2f0d09497e457b93f5f38fd6ff606 [INFO] checking ssun3/rustserver against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fssun3%2Frustserver" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ssun3/rustserver [INFO] finished tweaking git repo https://github.com/ssun3/rustserver [INFO] tweaked toml for git repo https://github.com/ssun3/rustserver written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ssun3/rustserver on toolchain a5689b034ad287112f709693384a37f1377eb9cc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ssun3/rustserver 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" "+a5689b034ad287112f709693384a37f1377eb9cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `webserver` (manifest) generated 1 warning [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] c7f34abd1284e6fec2231154b03568eeae7627d200ce486ac2dfd62c16152328 [INFO] running `Command { std: "docker" "start" "c7f34abd1284e6fec2231154b03568eeae7627d200ce486ac2dfd62c16152328", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c7f34abd1284e6fec2231154b03568eeae7627d200ce486ac2dfd62c16152328", 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" "c7f34abd1284e6fec2231154b03568eeae7627d200ce486ac2dfd62c16152328" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c7f34abd1284e6fec2231154b03568eeae7627d200ce486ac2dfd62c16152328", 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" "c7f34abd1284e6fec2231154b03568eeae7627d200ce486ac2dfd62c16152328" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `webserver` (manifest) generated 1 warning [INFO] [stderr] Checking webserver v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected one of `,`, `:`, or `}`, found `(` [INFO] [stdout] --> src/lib.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 97 | Worker{ [INFO] [stdout] | ------ while parsing this struct [INFO] [stdout] 98 | id, [INFO] [stdout] 99 | Some(thread), [INFO] [stdout] | ----^ expected one of `,`, `:`, or `}` [INFO] [stdout] | | [INFO] [stdout] | while parsing this struct field [INFO] [stdout] | [INFO] [stdout] help: try naming a field [INFO] [stdout] | [INFO] [stdout] 99 | Some: Some(thread), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `,`, `:`, or `}`, found `(` [INFO] [stdout] --> src/lib.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 97 | Worker{ [INFO] [stdout] | ------ while parsing this struct [INFO] [stdout] 98 | id, [INFO] [stdout] 99 | Some(thread), [INFO] [stdout] | ----^ expected one of `,`, `:`, or `}` [INFO] [stdout] | | [INFO] [stdout] | while parsing this struct field [INFO] [stdout] | [INFO] [stdout] help: try naming a field [INFO] [stdout] | [INFO] [stdout] 99 | Some: Some(thread), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 26 | type Job = Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 | type Job = Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 26 | type Job = Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 | type Job = Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `join` found for enum `Option` in the current scope [INFO] [stdout] --> src/lib.rs:68:27 [INFO] [stdout] | [INFO] [stdout] 68 | worker.thread.join().unwrap(); [INFO] [stdout] | ^^^^ method not found in `Option>` [INFO] [stdout] | [INFO] [stdout] note: the method `join` exists on the type `JoinHandle<()>` [INFO] [stdout] --> /rustc/a5689b034ad287112f709693384a37f1377eb9cc/library/std/src/thread/join_handle.rs:149:4 [INFO] [stdout] help: consider using `Option::expect` to unwrap the `JoinHandle<()>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 68 | worker.thread.expect("REASON").join().unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `join` found for enum `Option` in the current scope [INFO] [stdout] --> src/lib.rs:68:27 [INFO] [stdout] | [INFO] [stdout] 68 | worker.thread.join().unwrap(); [INFO] [stdout] | ^^^^ method not found in `Option>` [INFO] [stdout] | [INFO] [stdout] note: the method `join` exists on the type `JoinHandle<()>` [INFO] [stdout] --> /rustc/a5689b034ad287112f709693384a37f1377eb9cc/library/std/src/thread/join_handle.rs:149:4 [INFO] [stdout] help: consider using `Option::expect` to unwrap the `JoinHandle<()>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 68 | worker.thread.expect("REASON").join().unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `webserver` (lib) due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `webserver` (lib test) due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "c7f34abd1284e6fec2231154b03568eeae7627d200ce486ac2dfd62c16152328", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7f34abd1284e6fec2231154b03568eeae7627d200ce486ac2dfd62c16152328", kill_on_drop: false }` [INFO] [stdout] c7f34abd1284e6fec2231154b03568eeae7627d200ce486ac2dfd62c16152328