[INFO] cloning repository https://github.com/Seundede/100-Exercises-To-Learn-Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Seundede/100-Exercises-To-Learn-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSeundede%2F100-Exercises-To-Learn-Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSeundede%2F100-Exercises-To-Learn-Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 937dd63dd322bddb7f265a0b4ec1b8b580d2ddd6 [INFO] testing Seundede/100-Exercises-To-Learn-Rust against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSeundede%2F100-Exercises-To-Learn-Rust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Seundede/100-Exercises-To-Learn-Rust [INFO] finished tweaking git repo https://github.com/Seundede/100-Exercises-To-Learn-Rust [INFO] tweaked toml for git repo https://github.com/Seundede/100-Exercises-To-Learn-Rust written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Seundede/100-Exercises-To-Learn-Rust on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Seundede/100-Exercises-To-Learn-Rust 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c8bd42a214d455aadf988dc1519076c6949621c8e0ade5c2083c9392b6a91780 [INFO] running `Command { std: "docker" "start" "-a" "c8bd42a214d455aadf988dc1519076c6949621c8e0ade5c2083c9392b6a91780", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c8bd42a214d455aadf988dc1519076c6949621c8e0ade5c2083c9392b6a91780", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8bd42a214d455aadf988dc1519076c6949621c8e0ade5c2083c9392b6a91780", kill_on_drop: false }` [INFO] [stdout] c8bd42a214d455aadf988dc1519076c6949621c8e0ade5c2083c9392b6a91780 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 891cd9c4ddbf93e6823b75b614122b7582ac5e3ba9041df0ce21af5de6968be0 [INFO] running `Command { std: "docker" "start" "-a" "891cd9c4ddbf93e6823b75b614122b7582ac5e3ba9041df0ce21af5de6968be0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling thiserror v1.0.60 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling common v0.1.0 (/opt/rustwide/workdir/helpers/common) [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling syn v2.0.63 [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 getrandom v0.2.15 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling anstyle-query v1.0.3 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling inotify v0.9.6 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling markup5ever v0.12.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.13 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling filetime v0.2.23 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling pulldown-cmark v0.10.3 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling pulldown-cmark-escape v0.10.1 [INFO] [stderr] Compiling headers v0.3.9 [INFO] [stderr] Compiling notify v6.1.1 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling terminal_size v0.3.0 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling notify-debouncer-mini v0.4.1 [INFO] [stderr] Compiling topological-sort v0.2.2 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling pathdiff v0.2.1 [INFO] [stderr] Compiling sized v0.1.0 (/opt/rustwide/workdir/exercises/04_traits/08_sized) [INFO] [stderr] Compiling variables v0.1.0 (/opt/rustwide/workdir/exercises/02_basic_calculator/02_variables) [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling validation v0.1.0 (/opt/rustwide/workdir/exercises/03_ticket_v1/02_validation) [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> exercises/04_traits/08_sized/src/lib.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | std::mem::size_of::(); [INFO] [stdout] | ^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by an implicit `Sized` bound in `std::mem::size_of` [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/mem/mod.rs:334:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sized` (lib) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> exercises/03_ticket_v1/02_validation/src/lib.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | if (title.is_empty()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 20 - if (title.is_empty()) { [INFO] [stdout] 20 + if title.is_empty() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> exercises/03_ticket_v1/02_validation/src/lib.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | if (description.is_empty()){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 23 - if (description.is_empty()){ [INFO] [stdout] 23 + if description.is_empty() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> exercises/03_ticket_v1/02_validation/src/lib.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | if (title.as_bytes().len() > 50) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 26 - if (title.as_bytes().len() > 50) { [INFO] [stdout] 26 + if title.as_bytes().len() > 50 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> exercises/03_ticket_v1/02_validation/src/lib.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | if (description.as_bytes().len() > 500) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 29 - if (description.as_bytes().len() > 500) { [INFO] [stdout] 29 + if description.as_bytes().len() > 500 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ticket` is never constructed [INFO] [stdout] --> exercises/03_ticket_v1/02_validation/src/lib.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Ticket { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> exercises/03_ticket_v1/02_validation/src/lib.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 7 | impl Ticket { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | fn new(title: String, description: String, status: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "891cd9c4ddbf93e6823b75b614122b7582ac5e3ba9041df0ce21af5de6968be0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "891cd9c4ddbf93e6823b75b614122b7582ac5e3ba9041df0ce21af5de6968be0", kill_on_drop: false }` [INFO] [stdout] 891cd9c4ddbf93e6823b75b614122b7582ac5e3ba9041df0ce21af5de6968be0