[INFO] cloning repository https://github.com/initinll-rust/learning-generics-traits-lifetimes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/initinll-rust/learning-generics-traits-lifetimes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finitinll-rust%2Flearning-generics-traits-lifetimes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finitinll-rust%2Flearning-generics-traits-lifetimes'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d0d8913f8e79f3ae65fc4c002a7f51d92951dc90 [INFO] testing initinll-rust/learning-generics-traits-lifetimes against beta-2024-12-08 for beta-1.84.0-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finitinll-rust%2Flearning-generics-traits-lifetimes" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/initinll-rust/learning-generics-traits-lifetimes on toolchain beta-2024-12-08 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-12-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/initinll-rust/learning-generics-traits-lifetimes [INFO] finished tweaking git repo https://github.com/initinll-rust/learning-generics-traits-lifetimes [INFO] tweaked toml for git repo https://github.com/initinll-rust/learning-generics-traits-lifetimes written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/initinll-rust/learning-generics-traits-lifetimes 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-2024-12-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 85a15d7aadeae1926eceb56fc2d0fb49b1a63ab99ffa720eaeafae5eb5c70cb1 [INFO] running `Command { std: "docker" "start" "-a" "85a15d7aadeae1926eceb56fc2d0fb49b1a63ab99ffa720eaeafae5eb5c70cb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "85a15d7aadeae1926eceb56fc2d0fb49b1a63ab99ffa720eaeafae5eb5c70cb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85a15d7aadeae1926eceb56fc2d0fb49b1a63ab99ffa720eaeafae5eb5c70cb1", kill_on_drop: false }` [INFO] [stdout] 85a15d7aadeae1926eceb56fc2d0fb49b1a63ab99ffa720eaeafae5eb5c70cb1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed021f5b6264f697d3a0b95e7bfa270db23c12d75bfec7ba5d825d2105c0806e [INFO] running `Command { std: "docker" "start" "-a" "ed021f5b6264f697d3a0b95e7bfa270db23c12d75bfec7ba5d825d2105c0806e", kill_on_drop: false }` [INFO] [stderr] Compiling learning-generics-traits-lifetimes v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/concepts/traits.rs:72:57 [INFO] [stdout] | [INFO] [stdout] 72 | fn some_function1(t: &T, u: &U) -> () { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/concepts/traits.rs:72:64 [INFO] [stdout] | [INFO] [stdout] 72 | fn some_function1(t: &T, u: &U) -> () { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/concepts/traits.rs:75:25 [INFO] [stdout] | [INFO] [stdout] 75 | fn some_function2(t: &T, u: &U) -> () [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/concepts/traits.rs:75:32 [INFO] [stdout] | [INFO] [stdout] 75 | fn some_function2(t: &T, u: &U) -> () [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/main.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | let t = returns_summarizable(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x` and `y` are never read [INFO] [stdout] --> src/concepts/generics.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct PointA { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 44 | pub x: T, [INFO] [stdout] | ^ [INFO] [stdout] 45 | pub y: U, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `PointA` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `headline`, `author`, and `content` are never read [INFO] [stdout] --> src/concepts/traits.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct NewsArticle { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 14 | pub headline: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | pub location: String, [INFO] [stdout] 16 | pub author: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | pub content: String [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NewsArticle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `content`, `reply`, and `retweet` are never read [INFO] [stdout] --> src/concepts/traits.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Tweet { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 28 | pub username: String, [INFO] [stdout] 29 | pub content: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 30 | pub reply: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 31 | pub retweet: bool [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tweet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `notify3` is never used [INFO] [stdout] --> src/concepts/traits.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn notify3(item1: &impl Summary, item2: &impl Summary) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `notify4` is never used [INFO] [stdout] --> src/concepts/traits.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn notify4(item1: &T, item2: &T) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `notify5` is never used [INFO] [stdout] --> src/concepts/traits.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn notify5(item: &(impl Summary + Display)) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `notify6` is never used [INFO] [stdout] --> src/concepts/traits.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn notify6(item: &T) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `some_function1` is never used [INFO] [stdout] --> src/concepts/traits.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn some_function1(t: &T, u: &U) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `some_function2` is never used [INFO] [stdout] --> src/concepts/traits.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn some_function2(t: &T, u: &U) -> () [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `part` is never read [INFO] [stdout] --> src/concepts/lifetimes.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct ImportantExcerpt<'a> { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 15 | pub part: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImportantExcerpt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `level` is never used [INFO] [stdout] --> src/concepts/lifetimes.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl<'a> ImportantExcerpt<'a> { [INFO] [stdout] | ----------------------------- method in this implementation [INFO] [stdout] 34 | pub fn level(&self) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `announce_and_return_part` is never used [INFO] [stdout] --> src/concepts/lifetimes.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl<'a> ImportantExcerpt<'a> { [INFO] [stdout] | ----------------------------- method in this implementation [INFO] [stdout] 41 | pub fn announce_and_return_part(&self, announcement: &str) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `longest_with_an_announcement` is never used [INFO] [stdout] --> src/concepts/lifetimes.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn longest_with_an_announcement<'a, T>(x: &'a str, y: &'a str, ann: T) -> &'a str [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: LC_ALL="C" PATH="/opt/rustwide/rustup-home/toolchains/beta-2024-12-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin:/opt/rustwide/cargo-home/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" VSLANG="1033" "cc" "-m64" "/tmp/rustcyGSDQg/symbols.o" "/opt/rustwide/target/debug/deps/learning_generics_traits_lifetimes-1690b7e4e37f08fa.learning_generics_traits_lifetimes.ea84759d4ffa88a9-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/learning_generics_traits_lifetimes-1690b7e4e37f08fa.9ethxqfj0uyfko4uq5csbndbo.rcgu.o" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/beta-2024-12-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-02dc84f49135b6b8.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-12-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-a8f45b397fae3f81.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-12-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-089607133c180609.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-12-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-fc89f091bcd86cbb.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-12-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-5a60949f01c7340c.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-12-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-d29e6a55ca253c8c.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-12-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-273c078d5f65de7a.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-12-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-413c950ffbdd4454.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-12-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-1853c0976a1d88a6.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-12-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-ccb3384ddacb0f9e.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-12-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-0b901dfb0ca849e0.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-12-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-eebeb8d7c64543ad.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-12-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-4723ef81d6079867.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-12-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-54442f8b422f5a54.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-12-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-e0bbe034b5282553.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-12-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-d0febb68c1c37b90.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-12-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-4cf833632aafa84c.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-12-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-65c2c6d2d6ae570b.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-12-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-97929cee0dcfe424.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2024-12-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/learning_generics_traits_lifetimes-1690b7e4e37f08fa" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: final link failed: No space left on device [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `learning-generics-traits-lifetimes` (bin "learning-generics-traits-lifetimes") due to 1 previous error; 18 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ed021f5b6264f697d3a0b95e7bfa270db23c12d75bfec7ba5d825d2105c0806e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed021f5b6264f697d3a0b95e7bfa270db23c12d75bfec7ba5d825d2105c0806e", kill_on_drop: false }` [INFO] [stdout] ed021f5b6264f697d3a0b95e7bfa270db23c12d75bfec7ba5d825d2105c0806e