[INFO] cloning repository https://github.com/messi18/rust-programming- [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/messi18/rust-programming-" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmessi18%2Frust-programming-", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmessi18%2Frust-programming-'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ec972d023e787c308383fff35ad0bdbbc44cd738 [INFO] checking messi18/rust-programming- against try#a3dffdb3a32d0dedc198f9de7d43173f3eb6727b for pr-136303 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmessi18%2Frust-programming-" "/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/messi18/rust-programming- on toolchain a3dffdb3a32d0dedc198f9de7d43173f3eb6727b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a3dffdb3a32d0dedc198f9de7d43173f3eb6727b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/messi18/rust-programming- [INFO] finished tweaking git repo https://github.com/messi18/rust-programming- [INFO] tweaked toml for git repo https://github.com/messi18/rust-programming- written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/messi18/rust-programming- 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" "+a3dffdb3a32d0dedc198f9de7d43173f3eb6727b" "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-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+a3dffdb3a32d0dedc198f9de7d43173f3eb6727b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] caf34a97c046aa9ced409f72db1cd194ca2e46b3366ed6835922da5be0cb002d [INFO] running `Command { std: "docker" "start" "-a" "caf34a97c046aa9ced409f72db1cd194ca2e46b3366ed6835922da5be0cb002d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "caf34a97c046aa9ced409f72db1cd194ca2e46b3366ed6835922da5be0cb002d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "caf34a97c046aa9ced409f72db1cd194ca2e46b3366ed6835922da5be0cb002d", kill_on_drop: false }` [INFO] [stdout] caf34a97c046aa9ced409f72db1cd194ca2e46b3366ed6835922da5be0cb002d [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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+a3dffdb3a32d0dedc198f9de7d43173f3eb6727b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4add2d3eb7ae12aec529598a55bbf1121efd3f3bc992a9d27e47cdaefe67ef76 [INFO] running `Command { std: "docker" "start" "-a" "4add2d3eb7ae12aec529598a55bbf1121efd3f3bc992a9d27e47cdaefe67ef76", kill_on_drop: false }` [INFO] [stderr] Checking rust_programming_practice v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `use_string` and `use_vec` [INFO] [stdout] --> src/ch8.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::ch8::{use_string, use_vec}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `contents` [INFO] [stdout] --> src/ch12.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let contents = run(config).unwrap_or_else(|e| { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contents` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `intensity` [INFO] [stdout] --> src/ch13.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | fn workout(intensity:i32) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_intensity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_ownership` is never used [INFO] [stdout] --> src/ch4.rs:78:4 [INFO] [stdout] | [INFO] [stdout] 78 | fn get_ownership() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_ownership_back` is never used [INFO] [stdout] --> src/ch4.rs:81:4 [INFO] [stdout] | [INFO] [stdout] 81 | fn get_ownership_back(s:String)-> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_first_word` is never used [INFO] [stdout] --> src/ch4.rs:84:4 [INFO] [stdout] | [INFO] [stdout] 84 | fn get_first_word(s:&String) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `simple_grep` is never used [INFO] [stdout] --> src/ch12.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn simple_grep(args:&[String]) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/ch12.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn run(config: Config) -> Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Config` is never constructed [INFO] [stdout] --> src/ch12.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct Config { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ch12.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl Config { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 28 | fn new(args: &[String]) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `workout` is never used [INFO] [stdout] --> src/ch13.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn workout(intensity:i32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cacher` is never constructed [INFO] [stdout] --> src/ch13.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct Cacher [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `value` are never used [INFO] [stdout] --> src/ch13.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 27 | / impl Cacher [INFO] [stdout] 28 | | where T : Fn(i32)-> i32 [INFO] [stdout] | |___________________________- associated items in this implementation [INFO] [stdout] 29 | { [INFO] [stdout] 30 | fn new(f: T) -> Cacher { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | fn value(&mut self, i:i32) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_programming_practice` (bin "rust_programming_practice"); 1 warning emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] No space left on device (os error 28) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] failed to parse process output: `/opt/rustwide/rustup-home/toolchains/a3dffdb3a32d0dedc198f9de7d43173f3eb6727b/bin/rustc --crate-name rust_programming_practice --edition=2021 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,metadata -C embed-bitcode=no -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=41a300c3421b1c0f -C extra-filename=-2fc6ae08e56cfa81 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --cap-lints=forbid` (exit status: 0) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: struct `MyBox` is never constructed [INFO] [stdout] --> src/ch15.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct MyBox (T); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ch15.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl MyBox { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 13 | fn new(t:T)-> MyBox { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `use_my_box` is never used [INFO] [stdout] --> src/ch15.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn use_my_box() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `fileName` should have a snake case name [INFO] [stdout] --> src/ch12.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | fileName: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `file_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fileName` should have a snake case name [INFO] [stdout] --> src/ch12.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let fileName = args[1].clone(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `file_name` [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4add2d3eb7ae12aec529598a55bbf1121efd3f3bc992a9d27e47cdaefe67ef76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4add2d3eb7ae12aec529598a55bbf1121efd3f3bc992a9d27e47cdaefe67ef76", kill_on_drop: false }` [INFO] [stdout] 4add2d3eb7ae12aec529598a55bbf1121efd3f3bc992a9d27e47cdaefe67ef76