[INFO] cloning repository https://github.com/binglekruger/Rust_Recap_2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/binglekruger/Rust_Recap_2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbinglekruger%2FRust_Recap_2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbinglekruger%2FRust_Recap_2024'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 12bbdc0f98f23cf73b315734a1a17d3686ca38fa [INFO] checking binglekruger/Rust_Recap_2024/12bbdc0f98f23cf73b315734a1a17d3686ca38fa against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbinglekruger%2FRust_Recap_2024" "/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/binglekruger/Rust_Recap_2024 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/binglekruger/Rust_Recap_2024 [INFO] finished tweaking git repo https://github.com/binglekruger/Rust_Recap_2024 [INFO] tweaked toml for git repo https://github.com/binglekruger/Rust_Recap_2024 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/binglekruger/Rust_Recap_2024 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" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1bc9de3d27d42d5a3c4dd3f073eec95bb9e11b0de6cf05bd2f2e7974cd67598d [INFO] running `Command { std: "docker" "start" "-a" "1bc9de3d27d42d5a3c4dd3f073eec95bb9e11b0de6cf05bd2f2e7974cd67598d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1bc9de3d27d42d5a3c4dd3f073eec95bb9e11b0de6cf05bd2f2e7974cd67598d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1bc9de3d27d42d5a3c4dd3f073eec95bb9e11b0de6cf05bd2f2e7974cd67598d", kill_on_drop: false }` [INFO] [stdout] 1bc9de3d27d42d5a3c4dd3f073eec95bb9e11b0de6cf05bd2f2e7974cd67598d [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 821460b2aedb3cb0c25c62329d6a27520af56dcca1984dff5c41e6c4af31229f [INFO] running `Command { std: "docker" "start" "-a" "821460b2aedb3cb0c25c62329d6a27520af56dcca1984dff5c41e6c4af31229f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Checking common v0.1.0 (/opt/rustwide/workdir/helpers/common) [INFO] [stderr] Compiling thiserror v1.0.60 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling anyhow v1.0.83 [INFO] [stderr] Checking outro_02 v0.1.0 (/opt/rustwide/workdir/exercises/03_ticket_v1/12_outro) [INFO] [stderr] Checking outro_03 v0.1.0 (/opt/rustwide/workdir/exercises/04_traits/13_outro) [INFO] [stderr] Checking deref v0.1.0 (/opt/rustwide/workdir/exercises/04_traits/06_deref) [INFO] [stderr] Checking sized v0.1.0 (/opt/rustwide/workdir/exercises/04_traits/07_sized) [INFO] [stderr] Checking overloading v0.1.0 (/opt/rustwide/workdir/exercises/04_traits/03_operator_overloading) [INFO] [stderr] Checking interior_mutability v0.1.0 (/opt/rustwide/workdir/exercises/07_threads/06_interior_mutability) [INFO] [stderr] Checking tryfrom v0.1.0 (/opt/rustwide/workdir/exercises/05_ticket_v2/13_try_from) [INFO] [stderr] Checking orphan v0.1.0 (/opt/rustwide/workdir/exercises/04_traits/02_orphan_rule) [INFO] [stderr] Checking struct_ v0.1.0 (/opt/rustwide/workdir/exercises/03_ticket_v1/01_struct) [INFO] [stderr] Checking setters v0.1.0 (/opt/rustwide/workdir/exercises/03_ticket_v1/07_setters) [INFO] [stderr] Checking unwrap v0.1.0 (/opt/rustwide/workdir/exercises/05_ticket_v2/07_unwrap) [INFO] [stdout] error: expected type, found `"not yet implemented"` [INFO] [stdout] --> exercises/07_threads/06_interior_mutability/src/lib.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | counter: 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] error: expected type, found `"not yet implemented"` [INFO] [stdout] --> exercises/07_threads/06_interior_mutability/src/lib.rs:13:35 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(value: T, counter: todo!()) -> Self { [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] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> exercises/04_traits/07_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/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/mem/mod.rs:308:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0117]: only traits defined in the current crate can be implemented for primitive types [INFO] [stdout] --> exercises/04_traits/02_orphan_rule/src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | impl PartialEq for u32 { [INFO] [stdout] | ^^^^^---------^^^^^--- [INFO] [stdout] | | | [INFO] [stdout] | | `u32` is not defined in the current crate [INFO] [stdout] | `u32` is not defined in the current crate [INFO] [stdout] | [INFO] [stdout] = note: impl doesn't have any local type before any uncovered type parameters [INFO] [stdout] = note: for more information see https://doc.rust-lang.org/reference/items/implementations.html#orphan-rules [INFO] [stdout] = note: define and implement a trait or new type instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0117`. [INFO] [stdout] [INFO] [stderr] Checking nullability v0.1.0 (/opt/rustwide/workdir/exercises/05_ticket_v2/05_nullability) [INFO] [stderr] error: could not compile `sized` (lib test) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `orphan` (lib test) due to 1 previous error [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `eq` [INFO] [stdout] --> exercises/04_traits/03_operator_overloading/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | impl PartialEq for Ticket {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ missing `eq` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn eq(&self, _: &Ticket) -> bool { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `overloading` (lib) due to 1 previous error [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> exercises/07_threads/06_interior_mutability/src/lib.rs:31:38 [INFO] [stdout] | [INFO] [stdout] 31 | let _ = DropTracker::new((), Rc::clone(&counter)); [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^^^^^^ expected `()`, found `Rc>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found struct `std::rc::Rc>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> exercises/07_threads/06_interior_mutability/src/lib.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(value: T, counter: todo!()) -> Self { [INFO] [stdout] | ^^^ ---------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> exercises/07_threads/06_interior_mutability/src/lib.rs:40:41 [INFO] [stdout] | [INFO] [stdout] 40 | let a = DropTracker::new(5, Rc::clone(&counter)); [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^^^^^^ expected `()`, found `Rc>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found struct `std::rc::Rc>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> exercises/07_threads/06_interior_mutability/src/lib.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(value: T, counter: todo!()) -> Self { [INFO] [stdout] | ^^^ ---------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> exercises/07_threads/06_interior_mutability/src/lib.rs:41:41 [INFO] [stdout] | [INFO] [stdout] 41 | let b = DropTracker::new(6, Rc::clone(&counter)); [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^^^^^^ expected `()`, found `Rc>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found struct `std::rc::Rc>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> exercises/07_threads/06_interior_mutability/src/lib.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(value: T, counter: todo!()) -> Self { [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 `interior_mutability` (lib test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "821460b2aedb3cb0c25c62329d6a27520af56dcca1984dff5c41e6c4af31229f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "821460b2aedb3cb0c25c62329d6a27520af56dcca1984dff5c41e6c4af31229f", kill_on_drop: false }` [INFO] [stdout] 821460b2aedb3cb0c25c62329d6a27520af56dcca1984dff5c41e6c4af31229f