[INFO] cloning repository https://github.com/codejoyan/rust-basics [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/codejoyan/rust-basics" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodejoyan%2Frust-basics", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodejoyan%2Frust-basics'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 41d3cdf049cf9a473541889f67871d413391bb37 [INFO] checking codejoyan/rust-basics against try#8a0378607d6b34c242e3bfa75554871be641864b for pr-143028 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodejoyan%2Frust-basics" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/codejoyan/rust-basics [INFO] finished tweaking git repo https://github.com/codejoyan/rust-basics [INFO] tweaked toml for git repo https://github.com/codejoyan/rust-basics written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/codejoyan/rust-basics on toolchain 8a0378607d6b34c242e3bfa75554871be641864b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a0378607d6b34c242e3bfa75554871be641864b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/codejoyan/rust-basics 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" "+8a0378607d6b34c242e3bfa75554871be641864b" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8a0378607d6b34c242e3bfa75554871be641864b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b995ae6810c9f7c0fe8069329f577e4de9e77308d15aa30dd650dc314de12ce [INFO] running `Command { std: "docker" "start" "-a" "0b995ae6810c9f7c0fe8069329f577e4de9e77308d15aa30dd650dc314de12ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b995ae6810c9f7c0fe8069329f577e4de9e77308d15aa30dd650dc314de12ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b995ae6810c9f7c0fe8069329f577e4de9e77308d15aa30dd650dc314de12ce", kill_on_drop: false }` [INFO] [stdout] 0b995ae6810c9f7c0fe8069329f577e4de9e77308d15aa30dd650dc314de12ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8a0378607d6b34c242e3bfa75554871be641864b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f36c64a1677b1543e0c2e4b55d37e56aac6d0207ddf145f52226cb49b038876 [INFO] running `Command { std: "docker" "start" "-a" "7f36c64a1677b1543e0c2e4b55d37e56aac6d0207ddf145f52226cb49b038876", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking aliasable v0.1.3 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking crossbeam-skiplist v0.1.3 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling ouroboros_macro v0.18.3 [INFO] [stderr] Checking ouroboros v0.18.3 [INFO] [stderr] Checking rough-mini-lsm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crossbeam_skiplist::map::Entry` [INFO] [stdout] --> src/bin/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crossbeam_skiplist::map::Entry; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/examples/lifetime_example.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | if (x.len() < y.len()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2 - if (x.len() < y.len()) { [INFO] [stdout] 2 + if x.len() < y.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crossbeam_skiplist::map::Entry` [INFO] [stdout] --> src/bin/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crossbeam_skiplist::map::Entry; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/examples/lifetime_example.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | if (x.len() < y.len()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2 - if (x.len() < y.len()) { [INFO] [stdout] 2 + if x.len() < y.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Student` is never constructed [INFO] [stdout] --> src/bin/examples/collection_example.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Student { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collection_example` is never used [INFO] [stdout] --> src/bin/examples/collection_example.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn collection_example () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ref_deref` is never used [INFO] [stdout] --> src/bin/examples/ownership_basics.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn ref_deref() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mutable_references` is never used [INFO] [stdout] --> src/bin/examples/ownership_basics.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn mutable_references() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `slice_example` is never used [INFO] [stdout] --> src/bin/examples/ownership_basics.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn slice_example() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `iteration_behavior` is never used [INFO] [stdout] --> src/bin/examples/ownership_basics.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn iteration_behavior() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `SIZEOF_U16` should have a snake case name [INFO] [stdout] --> src/bin/main.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let SIZEOF_U16: usize = std::mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `sizeof_u16` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Student` is never constructed [INFO] [stdout] --> src/bin/examples/collection_example.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Student { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collection_example` is never used [INFO] [stdout] --> src/bin/examples/collection_example.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn collection_example () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ref_deref` is never used [INFO] [stdout] --> src/bin/examples/ownership_basics.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn ref_deref() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mutable_references` is never used [INFO] [stdout] --> src/bin/examples/ownership_basics.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn mutable_references() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `slice_example` is never used [INFO] [stdout] --> src/bin/examples/ownership_basics.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn slice_example() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `iteration_behavior` is never used [INFO] [stdout] --> src/bin/examples/ownership_basics.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn iteration_behavior() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `SIZEOF_U16` should have a snake case name [INFO] [stdout] --> src/bin/main.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let SIZEOF_U16: usize = std::mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `sizeof_u16` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.97s [INFO] running `Command { std: "docker" "inspect" "7f36c64a1677b1543e0c2e4b55d37e56aac6d0207ddf145f52226cb49b038876", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f36c64a1677b1543e0c2e4b55d37e56aac6d0207ddf145f52226cb49b038876", kill_on_drop: false }` [INFO] [stdout] 7f36c64a1677b1543e0c2e4b55d37e56aac6d0207ddf145f52226cb49b038876