[INFO] cloning repository https://github.com/arpan-dhatt/csclubwebsite [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/arpan-dhatt/csclubwebsite" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farpan-dhatt%2Fcsclubwebsite", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farpan-dhatt%2Fcsclubwebsite'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c93d5898e27c37f1c1d2621657e21c9216d58873 [INFO] checking arpan-dhatt/csclubwebsite/c93d5898e27c37f1c1d2621657e21c9216d58873 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farpan-dhatt%2Fcsclubwebsite" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/arpan-dhatt/csclubwebsite on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/arpan-dhatt/csclubwebsite [INFO] finished tweaking git repo https://github.com/arpan-dhatt/csclubwebsite [INFO] tweaked toml for git repo https://github.com/arpan-dhatt/csclubwebsite written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/arpan-dhatt/csclubwebsite 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded aho-corasick v0.7.6 [INFO] [stderr] Downloaded memchr v2.3.0 [INFO] [stderr] Downloaded regex v1.3.3 [INFO] [stderr] Downloaded regex-syntax v0.6.13 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3304dd52228b41be7c67f8a9e59b6ecc3d25577a51bcc1d000ec17434ba567e5 [INFO] running `Command { std: "docker" "start" "-a" "3304dd52228b41be7c67f8a9e59b6ecc3d25577a51bcc1d000ec17434ba567e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3304dd52228b41be7c67f8a9e59b6ecc3d25577a51bcc1d000ec17434ba567e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3304dd52228b41be7c67f8a9e59b6ecc3d25577a51bcc1d000ec17434ba567e5", kill_on_drop: false }` [INFO] [stdout] 3304dd52228b41be7c67f8a9e59b6ecc3d25577a51bcc1d000ec17434ba567e5 [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=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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 105c071b00d30b42ffac0a53a3adedd597d181e67641e4498abc7b576cb14d97 [INFO] running `Command { std: "docker" "start" "-a" "105c071b00d30b42ffac0a53a3adedd597d181e67641e4498abc7b576cb14d97", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking regex-syntax v0.6.13 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Checking regex v1.3.3 [INFO] [stderr] Checking csclubwebsite v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `header_body_pair` in this scope [INFO] [stdout] --> src/parser.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 49 | content: header_body_pair [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `HeaderBodyPair` [INFO] [stdout] ... [INFO] [stdout] 52 | struct HeaderBodyPair { [INFO] [stdout] | --------------------- similarly named struct `HeaderBodyPair` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_pairs` in module `parser` [INFO] [stdout] --> src/main.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | let output = parser::read_pairs(&input); [INFO] [stdout] | ^^^^^^^^^^ not found in `parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::num::flt2dec::strategy::grisu::format_exact` [INFO] [stdout] --> src/parser.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::num::flt2dec::strategy::grisu::format_exact; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `header_body_pair` in this scope [INFO] [stdout] --> src/parser.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 49 | content: header_body_pair [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `HeaderBodyPair` [INFO] [stdout] ... [INFO] [stdout] 52 | struct HeaderBodyPair { [INFO] [stdout] | --------------------- similarly named struct `HeaderBodyPair` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_pairs` in module `parser` [INFO] [stdout] --> src/main.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | let output = parser::read_pairs(&input); [INFO] [stdout] | ^^^^^^^^^^ not found in `parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::num::flt2dec::strategy::grisu::format_exact` [INFO] [stdout] --> src/parser.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::num::flt2dec::strategy::grisu::format_exact; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'flt2dec': internal routines only exposed for testing [INFO] [stdout] --> src/parser.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::num::flt2dec::strategy::grisu::format_exact; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(flt2dec)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'flt2dec': internal routines only exposed for testing [INFO] [stdout] --> src/parser.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::num::flt2dec::strategy::grisu::format_exact; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(flt2dec)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 29 | fn html_render(&self) -> String { [INFO] [stdout] | ----------- ^^^^^^ expected `String`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] help: consider returning the local binding `html` [INFO] [stdout] | [INFO] [stdout] 43 ~ ); [INFO] [stdout] 44 + html [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 29 | fn html_render(&self) -> String { [INFO] [stdout] | ----------- ^^^^^^ expected `String`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] help: consider returning the local binding `html` [INFO] [stdout] | [INFO] [stdout] 43 ~ ); [INFO] [stdout] 44 + html [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `str` cannot be indexed by `usize` [INFO] [stdout] --> src/parser.rs:79:41 [INFO] [stdout] | [INFO] [stdout] 79 | let curr = format!("{}{}",input[i],input[i+1]); [INFO] [stdout] | ^ string indices are ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex` is not implemented for `usize`, which is required by `String: Index<_>` [INFO] [stdout] = help: the trait `SliceIndex<[_]>` is implemented for `usize` [INFO] [stdout] = help: for that trait implementation, expected `[_]`, found `str` [INFO] [stdout] = note: required for `String` to implement `Index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `str` cannot be indexed by `usize` [INFO] [stdout] --> src/parser.rs:79:41 [INFO] [stdout] | [INFO] [stdout] 79 | let curr = format!("{}{}",input[i],input[i+1]); [INFO] [stdout] | ^ string indices are ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex` is not implemented for `usize`, which is required by `String: Index<_>` [INFO] [stdout] = help: the trait `SliceIndex<[_]>` is implemented for `usize` [INFO] [stdout] = help: for that trait implementation, expected `[_]`, found `str` [INFO] [stdout] = note: required for `String` to implement `Index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `str` cannot be indexed by `usize` [INFO] [stdout] --> src/parser.rs:79:50 [INFO] [stdout] | [INFO] [stdout] 79 | let curr = format!("{}{}",input[i],input[i+1]); [INFO] [stdout] | ^^^ string indices are ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex` is not implemented for `usize`, which is required by `String: Index<_>` [INFO] [stdout] = help: the trait `SliceIndex<[_]>` is implemented for `usize` [INFO] [stdout] = help: for that trait implementation, expected `[_]`, found `str` [INFO] [stdout] = note: required for `String` to implement `Index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `str` cannot be indexed by `usize` [INFO] [stdout] --> src/parser.rs:79:50 [INFO] [stdout] | [INFO] [stdout] 79 | let curr = format!("{}{}",input[i],input[i+1]); [INFO] [stdout] | ^^^ string indices are ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex` is not implemented for `usize`, which is required by `String: Index<_>` [INFO] [stdout] = help: the trait `SliceIndex<[_]>` is implemented for `usize` [INFO] [stdout] = help: for that trait implementation, expected `[_]`, found `str` [INFO] [stdout] = note: required for `String` to implement `Index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0412, E0425, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0412, E0425, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `csclubwebsite` (bin "csclubwebsite") due to 7 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `csclubwebsite` (bin "csclubwebsite" test) due to 7 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "105c071b00d30b42ffac0a53a3adedd597d181e67641e4498abc7b576cb14d97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "105c071b00d30b42ffac0a53a3adedd597d181e67641e4498abc7b576cb14d97", kill_on_drop: false }` [INFO] [stdout] 105c071b00d30b42ffac0a53a3adedd597d181e67641e4498abc7b576cb14d97