[INFO] cloning repository https://github.com/kennethdsheridan/rusting [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kennethdsheridan/rusting" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkennethdsheridan%2Frusting", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkennethdsheridan%2Frusting'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f0564cd9df6f179f5585577d8965958ce155eabe [INFO] checking kennethdsheridan/rusting against master#fc5af1813307d25a84d633f21e2e53c9376eb547 for pr-144386 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkennethdsheridan%2Frusting" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kennethdsheridan/rusting [INFO] finished tweaking git repo https://github.com/kennethdsheridan/rusting [INFO] tweaked toml for git repo https://github.com/kennethdsheridan/rusting written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kennethdsheridan/rusting on toolchain fc5af1813307d25a84d633f21e2e53c9376eb547 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fc5af1813307d25a84d633f21e2e53c9376eb547" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kennethdsheridan/rusting 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" "+fc5af1813307d25a84d633f21e2e53c9376eb547" "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-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+fc5af1813307d25a84d633f21e2e53c9376eb547" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 581aef3a70c9634f085ac6919a5cb45fef14e82142e984534c79492d3541e32c [INFO] running `Command { std: "docker" "start" "-a" "581aef3a70c9634f085ac6919a5cb45fef14e82142e984534c79492d3541e32c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "581aef3a70c9634f085ac6919a5cb45fef14e82142e984534c79492d3541e32c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "581aef3a70c9634f085ac6919a5cb45fef14e82142e984534c79492d3541e32c", kill_on_drop: false }` [INFO] [stdout] 581aef3a70c9634f085ac6919a5cb45fef14e82142e984534c79492d3541e32c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+fc5af1813307d25a84d633f21e2e53c9376eb547" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d06e3ceb4348bb1256f8ce06b648c38a8ae11d2c091b88e1700d9ea204a96d0 [INFO] running `Command { std: "docker" "start" "-a" "3d06e3ceb4348bb1256f8ce06b648c38a8ae11d2c091b88e1700d9ea204a96d0", kill_on_drop: false }` [INFO] [stderr] Checking rusting-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: `[{integer}; 5]` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/bin/array_temperature.rs:15:38 [INFO] [stdout] | [INFO] [stdout] 15 | println!("Temperatures are: {}", &temperatures); [INFO] [stdout] | -- ^^^^^^^^^^^^^ `[{integer}; 5]` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `[{integer}; 5]` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: required for `&[{integer}; 5]` to implement `std::fmt::Display` [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/bin/climb_stairs.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | for i in 1..=n { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/bin/reverse_linkedlist.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl ListNode { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 14 | fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Reverse` [INFO] [stdout] --> src/bin/merge_k_sorted_lists.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use std::cmp::Reverse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rusting-rs` (bin "array_temperature") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: `[{integer}; 5]` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/bin/array_temperature.rs:15:38 [INFO] [stdout] | [INFO] [stdout] 15 | println!("Temperatures are: {}", &temperatures); [INFO] [stdout] | -- ^^^^^^^^^^^^^ `[{integer}; 5]` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `[{integer}; 5]` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: required for `&[{integer}; 5]` to implement `std::fmt::Display` [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rusting-rs` (bin "array_temperature" test) due to 1 previous error [INFO] [stdout] warning: function `fun_two_sum` is never used [INFO] [stdout] --> src/bin/fucntional_two_sum.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn fun_two_sum(nums: Vec, target: i32) -> Option<(usize, usize)> { [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] --> src/bin/merge_k_sorted_lists.rs:26:45 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn merge_lists(lists: Vec) -> List { [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] error[E0423]: expected value, found struct `ListNode` [INFO] [stdout] --> src/bin/linkedlists.rs:30:28 [INFO] [stdout] | [INFO] [stdout] 4 | / pub struct ListNode { [INFO] [stdout] 5 | | val: i32, [INFO] [stdout] 6 | | next: Option>, [INFO] [stdout] 7 | | } [INFO] [stdout] | |_- `ListNode` defined here [INFO] [stdout] ... [INFO] [stdout] 30 | next:Some(Box::new(ListNode)) [INFO] [stdout] | ^^^^^^^^ help: use struct literal syntax instead: `ListNode { val: val, next: val }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `ListNode` [INFO] [stdout] --> src/bin/linkedlists.rs:30:28 [INFO] [stdout] | [INFO] [stdout] 4 | / pub struct ListNode { [INFO] [stdout] 5 | | val: i32, [INFO] [stdout] 6 | | next: Option>, [INFO] [stdout] 7 | | } [INFO] [stdout] | |_- `ListNode` defined here [INFO] [stdout] ... [INFO] [stdout] 30 | next:Some(Box::new(ListNode)) [INFO] [stdout] | ^^^^^^^^ help: use struct literal syntax instead: `ListNode { val: val, next: val }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/linkedlists.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 17 | let mut cur = None; [INFO] [stdout] | ---- expected due to this value [INFO] [stdout] ... [INFO] [stdout] 22 | cur = new_node; [INFO] [stdout] | ^^^^^^^^ expected `Option>`, found `ListNode` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option>` [INFO] [stdout] found struct `ListNode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0423. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rusting-rs` (bin "merge_k_sorted_lists" test) due to 1 previous error; 1 warning emitted [INFO] [stderr] error: could not compile `rusting-rs` (bin "linkedlists") due to 2 previous errors [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/linkedlists.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 17 | let mut cur = None; [INFO] [stdout] | ---- expected due to this value [INFO] [stdout] ... [INFO] [stdout] 22 | cur = new_node; [INFO] [stdout] | ^^^^^^^^ expected `Option>`, found `ListNode` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option>` [INFO] [stdout] found struct `ListNode` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rusting-rs` (bin "linkedlists" test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "3d06e3ceb4348bb1256f8ce06b648c38a8ae11d2c091b88e1700d9ea204a96d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d06e3ceb4348bb1256f8ce06b648c38a8ae11d2c091b88e1700d9ea204a96d0", kill_on_drop: false }` [INFO] [stdout] 3d06e3ceb4348bb1256f8ce06b648c38a8ae11d2c091b88e1700d9ea204a96d0