[INFO] cloning repository https://github.com/zhangyemengren/learn_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zhangyemengren/learn_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhangyemengren%2Flearn_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhangyemengren%2Flearn_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 49b832e970f0e7c4efde3593d29eb372f13cee24 [INFO] checking zhangyemengren/learn_rust against master#336209eef13882bd1e211b24779584cb7ef911eb for pr-129249 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhangyemengren%2Flearn_rust" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zhangyemengren/learn_rust on toolchain 336209eef13882bd1e211b24779584cb7ef911eb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+336209eef13882bd1e211b24779584cb7ef911eb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zhangyemengren/learn_rust [INFO] finished tweaking git repo https://github.com/zhangyemengren/learn_rust [INFO] tweaked toml for git repo https://github.com/zhangyemengren/learn_rust written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/zhangyemengren/learn_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" "+336209eef13882bd1e211b24779584cb7ef911eb" "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-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+336209eef13882bd1e211b24779584cb7ef911eb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f9c20efd956fec477ff5194cda9deb2f3584fc9dcf335d0a3a86182d3883f902 [INFO] running `Command { std: "docker" "start" "-a" "f9c20efd956fec477ff5194cda9deb2f3584fc9dcf335d0a3a86182d3883f902", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f9c20efd956fec477ff5194cda9deb2f3584fc9dcf335d0a3a86182d3883f902", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9c20efd956fec477ff5194cda9deb2f3584fc9dcf335d0a3a86182d3883f902", kill_on_drop: false }` [INFO] [stdout] f9c20efd956fec477ff5194cda9deb2f3584fc9dcf335d0a3a86182d3883f902 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+336209eef13882bd1e211b24779584cb7ef911eb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 792ca5304a698b5b28388140e77116502614a08dbca3741eedc02ebb0584bcfe [INFO] running `Command { std: "docker" "start" "-a" "792ca5304a698b5b28388140e77116502614a08dbca3741eedc02ebb0584bcfe", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling prettyplease v0.2.12 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling memchr v2.6.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling bindgen v0.66.1 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling clang-sys v1.6.1 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Checking too_many_lists v0.1.0 (/opt/rustwide/workdir/too_many_lists) [INFO] [stderr] Compiling which v4.4.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking rust_by_example v0.1.0 (/opt/rustwide/workdir/rust_by_example) [INFO] [stderr] Checking compiler v0.1.0 (/opt/rustwide/workdir/compiler) [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> rust_by_example/examples/conversion/conversion.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | struct Number { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 34 | value: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Number` 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] [stderr] Compiling syn v2.0.29 [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> rust_by_example/examples/scope/lifetime_bounds.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | struct Ref<'a, T: 'a>(&'a T); [INFO] [stdout] | --- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Ref` 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: field `0` is never read [INFO] [stdout] --> rust_by_example/examples/hello_world/print_debug.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | struct Structure(i32); [INFO] [stdout] | --------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Structure` 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: field `0` is never read [INFO] [stdout] --> rust_by_example/examples/hello_world/print_debug.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | struct Deep(Structure); [INFO] [stdout] | ---- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Deep` 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 `name` and `age` are never read [INFO] [stdout] --> rust_by_example/examples/hello_world/print_debug.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | struct Person<'a> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 16 | name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | age: u8, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Person` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> rust_by_example/examples/hello_world/print_debug.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | #[warn(dead_code)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> rust_by_example/examples/flow_control/if_let.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | if let Foo::Qux(value @ 100) = c { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Baz` and `Qux` are never constructed [INFO] [stdout] --> rust_by_example/examples/flow_control/if_let.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 99 | enum Foo1 { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 100 | Bar, [INFO] [stdout] 101 | Baz, [INFO] [stdout] | ^^^ [INFO] [stdout] 102 | Qux, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `contents` is never read [INFO] [stdout] --> rust_by_example/examples/modules/visibility_struct.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ClosedBox { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 12 | contents: T, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Structure` is never constructed [INFO] [stdout] --> rust_by_example/examples/hello_world/print_display.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Structure(i32); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> rust_by_example/examples/scope/lifetime_explicit.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let y: &'a i32 = &_x; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `_x` does not live long enough [INFO] [stdout] --> rust_by_example/examples/scope/lifetime_explicit.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 19 | fn failed_borrow<'a>() { [INFO] [stdout] | -- lifetime `'a` defined here [INFO] [stdout] 20 | let _x = 12; [INFO] [stdout] | -- binding `_x` declared here [INFO] [stdout] ... [INFO] [stdout] 23 | let y: &'a i32 = &_x; [INFO] [stdout] | ------- ^^^ borrowed value does not live long enough [INFO] [stdout] | | [INFO] [stdout] | type annotation requires that `_x` is borrowed for `'a` [INFO] [stdout] ... [INFO] [stdout] 26 | } [INFO] [stdout] | - `_x` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0597`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_by_example` (example "scope_lifetime_explicit") due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: failed to build archive at `/opt/rustwide/target/debug/deps/libsyn-09055a7c622cf46a.rlib`: No space left on device (os error 28) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `syn` (lib) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "792ca5304a698b5b28388140e77116502614a08dbca3741eedc02ebb0584bcfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "792ca5304a698b5b28388140e77116502614a08dbca3741eedc02ebb0584bcfe", kill_on_drop: false }` [INFO] [stdout] 792ca5304a698b5b28388140e77116502614a08dbca3741eedc02ebb0584bcfe