[INFO] cloning repository https://github.com/davnav/serdelearning [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/davnav/serdelearning" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavnav%2Fserdelearning", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavnav%2Fserdelearning'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9e7c3292b37651103bccda9bc87e09a2fbb33db6 [INFO] checking davnav/serdelearning against master#023084804e5e8ea42877451c2b3030e7050281cc for pr-123909 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavnav%2Fserdelearning" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/davnav/serdelearning on toolchain 023084804e5e8ea42877451c2b3030e7050281cc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+023084804e5e8ea42877451c2b3030e7050281cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/davnav/serdelearning [INFO] finished tweaking git repo https://github.com/davnav/serdelearning [INFO] tweaked toml for git repo https://github.com/davnav/serdelearning written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/davnav/serdelearning 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" "+023084804e5e8ea42877451c2b3030e7050281cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking davnav/serdelearning against try#3b6ef522ec6da5b39fa0cf004b820c15884319db for pr-123909 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavnav%2Fserdelearning" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/davnav/serdelearning on toolchain 3b6ef522ec6da5b39fa0cf004b820c15884319db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3b6ef522ec6da5b39fa0cf004b820c15884319db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/davnav/serdelearning [INFO] finished tweaking git repo https://github.com/davnav/serdelearning [INFO] tweaked toml for git repo https://github.com/davnav/serdelearning written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/davnav/serdelearning 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" "+3b6ef522ec6da5b39fa0cf004b820c15884319db" "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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+3b6ef522ec6da5b39fa0cf004b820c15884319db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dad7491522a0193f212b4ba98fd34999644e78857e52cdec0c5156d4e7f960f1 [INFO] running `Command { std: "docker" "start" "-a" "dad7491522a0193f212b4ba98fd34999644e78857e52cdec0c5156d4e7f960f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dad7491522a0193f212b4ba98fd34999644e78857e52cdec0c5156d4e7f960f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dad7491522a0193f212b4ba98fd34999644e78857e52cdec0c5156d4e7f960f1", kill_on_drop: false }` [INFO] [stdout] dad7491522a0193f212b4ba98fd34999644e78857e52cdec0c5156d4e7f960f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+3b6ef522ec6da5b39fa0cf004b820c15884319db" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7035edc33d00ea26b8b9812896387f5d5ad1561592d81cd58c3bf3e7cbeec24c [INFO] running `Command { std: "docker" "start" "-a" "7035edc33d00ea26b8b9812896387f5d5ad1561592d81cd58c3bf3e7cbeec24c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.23 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking ryu v1.0.5 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking serde_study v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/tests/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/tests/mod.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | ///internal representation of json will have type as key [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/tests/mod.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | ///deserialized json get printed [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `json1` is never used [INFO] [stdout] --> src/lib.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | static json1:&str= r#"{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `json2` is never used [INFO] [stdout] --> src/lib.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | static json2:&str= r#"{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `count` is never read [INFO] [stdout] --> src/lib.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct JsonStruct<'a>{ [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 46 | count:i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JsonStruct` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `count` is never read [INFO] [stdout] --> src/lib.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct JsonStruct2<'a>{ [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 61 | count:i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JsonStruct2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `count` is never read [INFO] [stdout] --> src/lib.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct JsonStruct3<'a>{ [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 78 | count:i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JsonStruct3` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `count` is never read [INFO] [stdout] --> src/lib.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct JsonStruct4<'a>{ [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 100 | count:i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JsonStruct4` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `age` is never read [INFO] [stdout] --> src/lib.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct User<'a>{ [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 112 | pub user:&'a str, [INFO] [stdout] 113 | age:i32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `json1` should have an upper case name [INFO] [stdout] --> src/lib.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | static json1:&str= r#"{ [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `JSON1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `json2` should have an upper case name [INFO] [stdout] --> src/lib.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | static json2:&str= r#"{ [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `JSON2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `DATA` should have a snake case name [INFO] [stdout] --> src/lib.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | pub DATA : User<'a>, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `AUTHORIZED` should have a snake case name [INFO] [stdout] --> src/lib.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | pub AUTHORIZED:bool, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `authorized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `count` is never read [INFO] [stdout] --> src/lib.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct JsonStruct<'a>{ [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 46 | count:i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JsonStruct` 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 `count` is never read [INFO] [stdout] --> src/lib.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct JsonStruct4<'a>{ [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 100 | count:i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JsonStruct4` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `age` is never read [INFO] [stdout] --> src/lib.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct User<'a>{ [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 112 | pub user:&'a str, [INFO] [stdout] 113 | age:i32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `json1` should have an upper case name [INFO] [stdout] --> src/lib.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | static json1:&str= r#"{ [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `JSON1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `json2` should have an upper case name [INFO] [stdout] --> src/lib.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | static json2:&str= r#"{ [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `JSON2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `DATA` should have a snake case name [INFO] [stdout] --> src/lib.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | pub DATA : User<'a>, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `AUTHORIZED` should have a snake case name [INFO] [stdout] --> src/lib.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | pub AUTHORIZED:bool, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `authorized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_study::*` [INFO] [stdout] --> examples/serde_simplejson.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use serde_study::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `json1` is never used [INFO] [stdout] --> examples/serde_simplejson.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | static json1:&str= r#"{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `json1` should have an upper case name [INFO] [stdout] --> examples/serde_simplejson.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | static json1:&str= r#"{ [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `JSON1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.11s [INFO] running `Command { std: "docker" "inspect" "7035edc33d00ea26b8b9812896387f5d5ad1561592d81cd58c3bf3e7cbeec24c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7035edc33d00ea26b8b9812896387f5d5ad1561592d81cd58c3bf3e7cbeec24c", kill_on_drop: false }` [INFO] [stdout] 7035edc33d00ea26b8b9812896387f5d5ad1561592d81cd58c3bf3e7cbeec24c