[INFO] cloning repository https://github.com/TwistingTwists/100-rust-exercises [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TwistingTwists/100-rust-exercises" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTwistingTwists%2F100-rust-exercises", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTwistingTwists%2F100-rust-exercises'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e99a15390e86b28154b3471437dd959ce014ead0 [INFO] testing TwistingTwists/100-rust-exercises/e99a15390e86b28154b3471437dd959ce014ead0 against master#552a959051cebf8f88a8f558399baf733bec9ce0 for pr-136932 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTwistingTwists%2F100-rust-exercises" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TwistingTwists/100-rust-exercises on toolchain 552a959051cebf8f88a8f558399baf733bec9ce0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/TwistingTwists/100-rust-exercises [INFO] finished tweaking git repo https://github.com/TwistingTwists/100-rust-exercises [INFO] tweaked toml for git repo https://github.com/TwistingTwists/100-rust-exercises written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/TwistingTwists/100-rust-exercises 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" "+552a959051cebf8f88a8f558399baf733bec9ce0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap_complete v4.5.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 46b57a494fa266cced9f827a299e573e28f8080d7362b66be4122d195d064f03 [INFO] running `Command { std: "docker" "start" "-a" "46b57a494fa266cced9f827a299e573e28f8080d7362b66be4122d195d064f03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "46b57a494fa266cced9f827a299e573e28f8080d7362b66be4122d195d064f03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46b57a494fa266cced9f827a299e573e28f8080d7362b66be4122d195d064f03", kill_on_drop: false }` [INFO] [stdout] 46b57a494fa266cced9f827a299e573e28f8080d7362b66be4122d195d064f03 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 59a79180ed3a452437c1cad75fe7f347b3a0fe269bb408eb01bf031011f64544 [INFO] running `Command { std: "docker" "start" "-a" "59a79180ed3a452437c1cad75fe7f347b3a0fe269bb408eb01bf031011f64544", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling thiserror v1.0.60 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling common v0.1.0 (/opt/rustwide/workdir/helpers/common) [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling syn v2.0.63 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling anstyle-query v1.0.3 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling markup5ever v0.12.1 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling terminal_size v0.3.0 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling inotify v0.9.6 [INFO] [stderr] Compiling crossbeam-channel v0.5.13 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling filetime v0.2.23 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling pulldown-cmark v0.10.3 [INFO] [stderr] Compiling headers v0.3.9 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling notify v6.1.1 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling pulldown-cmark-escape v0.10.1 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling bstr v1.9.1 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling notify-debouncer-mini v0.4.1 [INFO] [stderr] Compiling env_filter v0.1.0 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling globset v0.4.14 [INFO] [stderr] Compiling opener v0.7.1 [INFO] [stderr] Compiling thiserror-impl v1.0.60 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.202 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling html5ever v0.27.0 [INFO] [stderr] Compiling ticket_fields v0.1.0 (/opt/rustwide/workdir/helpers/ticket_fields) [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling pest v2.7.10 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling clap_complete v4.5.2 [INFO] [stderr] Compiling ignore v0.4.22 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling pest_meta v2.7.10 [INFO] [stderr] Compiling env_logger v0.11.3 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling pathdiff v0.2.1 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling pest_generator v2.7.10 [INFO] [stderr] Compiling topological-sort v0.2.2 [INFO] [stderr] Compiling client v0.1.0 (/opt/rustwide/workdir/exercises/07_threads/08_client) [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stdout] warning: unused variable: `draft` [INFO] [stdout] --> exercises/07_threads/08_client/src/lib.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn insert(&self, draft: TicketDraft) -> TicketId { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_draft` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> exercises/07_threads/08_client/src/lib.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn get(&self, id: TicketId) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sender` [INFO] [stdout] --> exercises/07_threads/08_client/src/lib.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | let (sender, receiver) = std::sync::mpsc::channel(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sender` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Command` is more private than the item `server` [INFO] [stdout] --> exercises/07_threads/08_client/src/lib.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn server(receiver: Receiver) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `server` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Command` is only usable at visibility `pub(crate)` [INFO] [stdout] --> exercises/07_threads/08_client/src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | enum Command { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Insert` and `Get` are never constructed [INFO] [stdout] --> exercises/07_threads/08_client/src/lib.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 30 | enum Command { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 31 | Insert { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | Get { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling index v0.1.0 (/opt/rustwide/workdir/exercises/06_ticket_management/13_index) [INFO] [stderr] Compiling channels v0.1.0 (/opt/rustwide/workdir/exercises/07_threads/05_channels) [INFO] [stdout] error: expected type, found `"not yet implemented"` [INFO] [stdout] --> exercises/07_threads/05_channels/src/lib.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | Insert(todo!()), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected type [INFO] [stdout] | in this macro invocation [INFO] [stdout] | this macro call doesn't expand to a type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `receiver` [INFO] [stdout] --> exercises/07_threads/05_channels/src/lib.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn server(receiver: Receiver) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receiver` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `channels` (lib) due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "59a79180ed3a452437c1cad75fe7f347b3a0fe269bb408eb01bf031011f64544", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59a79180ed3a452437c1cad75fe7f347b3a0fe269bb408eb01bf031011f64544", kill_on_drop: false }` [INFO] [stdout] 59a79180ed3a452437c1cad75fe7f347b3a0fe269bb408eb01bf031011f64544