[INFO] cloning repository https://github.com/gomel-tdl1/rust-sandbox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gomel-tdl1/rust-sandbox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgomel-tdl1%2Frust-sandbox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgomel-tdl1%2Frust-sandbox'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/pre-receive.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgomel-tdl1%2Frust-sandbox/hooks/pre-receive.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/gomel-tdl1/rust-sandbox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gomel-tdl1/rust-sandbox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgomel-tdl1%2Frust-sandbox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgomel-tdl1%2Frust-sandbox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 150bef27e4e71cb0db86e0f7fff76be9afd6de01 [INFO] testing gomel-tdl1/rust-sandbox against try#17092ad00ed8fe1e7f81a7e38238ff70779034b1 for pr-140985 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgomel-tdl1%2Frust-sandbox" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] fatal: cannot create directory at 'exercises/14_generics': No space left on device [INFO] [stderr] warning: Clone succeeded, but checkout failed. [INFO] [stderr] You can inspect what was checked out with 'git status' [INFO] [stderr] and retry with 'git restore --source=HEAD :/' [INFO] [stderr] [INFO] testing gomel-tdl1/rust-sandbox against try#17092ad00ed8fe1e7f81a7e38238ff70779034b1 for pr-140985 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgomel-tdl1%2Frust-sandbox" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gomel-tdl1/rust-sandbox on toolchain 17092ad00ed8fe1e7f81a7e38238ff70779034b1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gomel-tdl1/rust-sandbox [INFO] finished tweaking git repo https://github.com/gomel-tdl1/rust-sandbox [INFO] tweaked toml for git repo https://github.com/gomel-tdl1/rust-sandbox written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/gomel-tdl1/rust-sandbox 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" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7bcef35f08270c6eb74ff86c732ca0d5fe0368a42388ddf3a4fcf24d3ae31661 [INFO] running `Command { std: "docker" "start" "-a" "7bcef35f08270c6eb74ff86c732ca0d5fe0368a42388ddf3a4fcf24d3ae31661", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7bcef35f08270c6eb74ff86c732ca0d5fe0368a42388ddf3a4fcf24d3ae31661", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bcef35f08270c6eb74ff86c732ca0d5fe0368a42388ddf3a4fcf24d3ae31661", kill_on_drop: false }` [INFO] [stdout] 7bcef35f08270c6eb74ff86c732ca0d5fe0368a42388ddf3a4fcf24d3ae31661 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7df2ddae247f5cebe30b33483e69af2bf62b2e105365d66e481e8fd12ffbd7d0 [INFO] running `Command { std: "docker" "start" "-a" "7df2ddae247f5cebe30b33483e69af2bf62b2e105365d66e481e8fd12ffbd7d0", kill_on_drop: false }` [INFO] [stderr] Compiling exercises v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: enum `CreationError` is never used [INFO] [stdout] --> exercises/13_error_handling/errors6.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | enum CreationError { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ParsePosNonzeroError` is never used [INFO] [stdout] --> exercises/13_error_handling/errors6.rs:17:6 [INFO] [stdout] | [INFO] [stdout] 17 | enum ParsePosNonzeroError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_creation` is never used [INFO] [stdout] --> exercises/13_error_handling/errors6.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 22 | impl ParsePosNonzeroError { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 23 | fn from_creation(err: CreationError) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PositiveNonzeroInteger` is never constructed [INFO] [stdout] --> exercises/13_error_handling/errors6.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | struct PositiveNonzeroInteger(u64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `name` in this scope [INFO] [stdout] --> exercises/04_primitive_types/primitive_types5.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | println!("{name} is {age} years old"); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `parse` are never used [INFO] [stdout] --> exercises/13_error_handling/errors6.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 34 | impl PositiveNonzeroInteger { [INFO] [stdout] | --------------------------- associated functions in this implementation [INFO] [stdout] 35 | fn new(value: i64) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | fn parse(s: &str) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `age` in this scope [INFO] [stdout] --> exercises/04_primitive_types/primitive_types5.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | println!("{name} is {age} years old"); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> exercises/12_options/options1.rs:5:40 [INFO] [stdout] | [INFO] [stdout] 5 | fn maybe_icecream(hour_of_day: u16) -> Option { [INFO] [stdout] | -------------- ^^^^^^^^^^^ expected `Option`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> exercises/16_lifetimes/lifetimes1.rs:7:33 [INFO] [stdout] | [INFO] [stdout] 7 | fn longest(x: &str, y: &str) -> &str { [INFO] [stdout] | ---- ---- ^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: this function's return type contains a borrowed value, but the signature does not say whether it is borrowed from `x` or `y` [INFO] [stdout] help: consider introducing a named lifetime parameter [INFO] [stdout] | [INFO] [stdout] 7 | fn longest<'a>(x: &'a str, y: &'a str) -> &'a str { [INFO] [stdout] | ++++ ++ ++ ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `exercises` (bin "options1") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> exercises/09_strings/strings3.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | fn trim_me(input: &str) -> &str { [INFO] [stdout] | ------- ^^^^ expected `&str`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] help: consider returning the local binding `input` [INFO] [stdout] | [INFO] [stdout] 2 | fn trim_me(input: &str) -> &str { [INFO] [stdout] 3 ~ input [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `foo_if_fizz` is never used [INFO] [stdout] --> solutions/03_if/if2.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn foo_if_fizz(fizzish: &str) -> &str { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> exercises/09_strings/strings3.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | fn compose_me(input: &str) -> String { [INFO] [stdout] | ---------- ^^^^^^ expected `String`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> exercises/09_strings/strings3.rs:9:31 [INFO] [stdout] | [INFO] [stdout] 9 | fn replace_me(input: &str) -> String { [INFO] [stdout] | ---------- ^^^^^^ expected `String`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Resize` found for enum `Message` in the current scope [INFO] [stdout] --> exercises/08_enums/enums1.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 2 | enum Message { [INFO] [stdout] | ------------ variant or associated item `Resize` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 7 | println!("{:?}", Message::Resize); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `Message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Move` found for enum `Message` in the current scope [INFO] [stdout] --> exercises/08_enums/enums1.rs:8:31 [INFO] [stdout] | [INFO] [stdout] 2 | enum Message { [INFO] [stdout] | ------------ variant or associated item `Move` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 8 | println!("{:?}", Message::Move); [INFO] [stdout] | ^^^^ variant or associated item not found in `Message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Echo` found for enum `Message` in the current scope [INFO] [stdout] --> exercises/08_enums/enums1.rs:9:31 [INFO] [stdout] | [INFO] [stdout] 2 | enum Message { [INFO] [stdout] | ------------ variant or associated item `Echo` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 9 | println!("{:?}", Message::Echo); [INFO] [stdout] | ^^^^ variant or associated item not found in `Message` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `exercises` (bin "primitive_types5") due to 2 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0106`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `ChangeColor` found for enum `Message` in the current scope [INFO] [stdout] --> exercises/08_enums/enums1.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 2 | enum Message { [INFO] [stdout] | ------------ variant or associated item `ChangeColor` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 10 | println!("{:?}", Message::ChangeColor); [INFO] [stdout] | ^^^^^^^^^^^ variant or associated item not found in `Message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Quit` found for enum `Message` in the current scope [INFO] [stdout] --> exercises/08_enums/enums1.rs:11:31 [INFO] [stdout] | [INFO] [stdout] 2 | enum Message { [INFO] [stdout] | ------------ variant or associated item `Quit` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 11 | println!("{:?}", Message::Quit); [INFO] [stdout] | ^^^^ variant or associated item not found in `Message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `exercises` (bin "strings3") due to 3 previous errors [INFO] [stderr] error: could not compile `exercises` (bin "lifetimes1") due to 1 previous error [INFO] [stderr] error: could not compile `exercises` (bin "enums1") due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "7df2ddae247f5cebe30b33483e69af2bf62b2e105365d66e481e8fd12ffbd7d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7df2ddae247f5cebe30b33483e69af2bf62b2e105365d66e481e8fd12ffbd7d0", kill_on_drop: false }` [INFO] [stdout] 7df2ddae247f5cebe30b33483e69af2bf62b2e105365d66e481e8fd12ffbd7d0