[INFO] cloning repository https://github.com/cerdowizard/rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cerdowizard/rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcerdowizard%2Frust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcerdowizard%2Frust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] daa1d0c4e8a5ddb6446427bd05718561e7375524 [INFO] testing cerdowizard/rust against beta-2025-01-12 for beta-1.85-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcerdowizard%2Frust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cerdowizard/rust on toolchain beta-2025-01-12 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-01-12" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cerdowizard/rust [INFO] finished tweaking git repo https://github.com/cerdowizard/rust [INFO] tweaked toml for git repo https://github.com/cerdowizard/rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/cerdowizard/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" "+beta-2025-01-12" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crypto v0.5.1 [INFO] [stderr] Downloaded getrandom v0.2.11 [INFO] [stderr] Downloaded libc v0.2.151 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a643f0293d818b5153a8545a8a821d0a4f32a9d95774ce5ada0396acc4a45fdb [INFO] running `Command { std: "docker" "start" "-a" "a643f0293d818b5153a8545a8a821d0a4f32a9d95774ce5ada0396acc4a45fdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a643f0293d818b5153a8545a8a821d0a4f32a9d95774ce5ada0396acc4a45fdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a643f0293d818b5153a8545a8a821d0a4f32a9d95774ce5ada0396acc4a45fdb", kill_on_drop: false }` [INFO] [stdout] a643f0293d818b5153a8545a8a821d0a4f32a9d95774ce5ada0396acc4a45fdb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5fef3883330d0cc53f513241e55f334bd15996063aaa7d3c594678b0fabd079e [INFO] running `Command { std: "docker" "start" "-a" "5fef3883330d0cc53f513241e55f334bd15996063aaa7d3c594678b0fabd079e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling crypto v0.5.1 [INFO] [stderr] Compiling rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 96 | fn checker(name: &str, email: &str, database: &Vec) ->UserInfo { [INFO] [stdout] | -------- expected `UserInfo` because of return type [INFO] [stdout] ... [INFO] [stdout] 100 | / for data in database.iter() { [INFO] [stdout] 101 | | println!("{:?}", data); [INFO] [stdout] 102 | | } [INFO] [stdout] | |_____^ expected `UserInfo`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: `for` loops evaluate to unit type `()` [INFO] [stdout] help: consider returning a value here [INFO] [stdout] | [INFO] [stdout] 102 ~ } [INFO] [stdout] 103 + /* `UserInfo` value */ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/main.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | checker(name, email, &user_database); [INFO] [stdout] | ^^^^^^^ ---- ----- expected `&str`, found `String` [INFO] [stdout] | | [INFO] [stdout] | expected `&str`, found `String` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:96:4 [INFO] [stdout] | [INFO] [stdout] 96 | fn checker(name: &str, email: &str, database: &Vec) ->UserInfo { [INFO] [stdout] | ^^^^^^^ ---------- ----------- ------------------------ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 145 | checker(&name, email, &user_database); [INFO] [stdout] | + [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 145 | checker(name, &email, &user_database); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust` (bin "rust") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "5fef3883330d0cc53f513241e55f334bd15996063aaa7d3c594678b0fabd079e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fef3883330d0cc53f513241e55f334bd15996063aaa7d3c594678b0fabd079e", kill_on_drop: false }` [INFO] [stdout] 5fef3883330d0cc53f513241e55f334bd15996063aaa7d3c594678b0fabd079e