[INFO] cloning repository https://github.com/hlulanij/open-source-tracker
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hlulanij/open-source-tracker" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhlulanij%2Fopen-source-tracker", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhlulanij%2Fopen-source-tracker'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0c8733ae67f8253c0b7ae71d8d42e27b8044398a
[INFO] checking hlulanij/open-source-tracker against 4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d for pr-159598
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhlulanij%2Fopen-source-tracker" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/hlulanij/open-source-tracker
[INFO] finished tweaking git repo https://github.com/hlulanij/open-source-tracker
[INFO] tweaked toml for git repo https://github.com/hlulanij/open-source-tracker written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/hlulanij/open-source-tracker on toolchain 4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/hlulanij/open-source-tracker 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" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "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-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] fc7f5af09f185675925a5d4f3d07a4915dc9122fe85d2ea0270336c13683cd03
[INFO] running `Command { std: "docker" "start" "fc7f5af09f185675925a5d4f3d07a4915dc9122fe85d2ea0270336c13683cd03", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fc7f5af09f185675925a5d4f3d07a4915dc9122fe85d2ea0270336c13683cd03", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "fc7f5af09f185675925a5d4f3d07a4915dc9122fe85d2ea0270336c13683cd03" "/opt/rustwide/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fc7f5af09f185675925a5d4f3d07a4915dc9122fe85d2ea0270336c13683cd03", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "fc7f5af09f185675925a5d4f3d07a4915dc9122fe85d2ea0270336c13683cd03" "/opt/rustwide/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.93
[INFO] [stderr]    Compiling unicode-ident v1.0.17
[INFO] [stderr]    Compiling serde v1.0.218
[INFO] [stderr]    Compiling serde_json v1.0.139
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]    Compiling syn v2.0.98
[INFO] [stderr]    Compiling serde_derive v1.0.218
[INFO] [stderr]     Checking open-source-tracker v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `crate::repository`
[INFO] [stdout]  --> src/contribution.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::repository::Repository;
[INFO] [stdout]   |            ^^^^^^^^^^ could not find `repository` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::commit`
[INFO] [stdout]  --> src/contribution.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::commit::Commit;
[INFO] [stdout]   |            ^^^^^^ could not find `commit` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> src/tracker.rs:2:27
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::{self, Read, Write};
[INFO] [stdout]   |                           ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `new` found for struct `Contribution` in the current scope
[INFO] [stdout]   --> src/tracker.rs:21:42
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let contribution = Contribution::new(user.to_string(), project.to_string(), contribution_type.parse::<u32>().unwrap_or(0));
[INFO] [stdout]    |                                          ^^^ associated function or constant not found in `Contribution`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/contribution.rs:4:1
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub struct Contribution {
[INFO] [stdout]    | ----------------------- associated function or constant `new` not found for this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `username` on type `&Contribution`
[INFO] [stdout]   --> src/tracker.rs:35:34
[INFO] [stdout]    |
[INFO] [stdout] 35 |                     contribution.username, contribution.repo_name, contribution.commits
[INFO] [stdout]    |                                  ^^^^^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `contribution_id`, `date`, `commit_count`, `repository_name`, `commits`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `repo_name` on type `&Contribution`
[INFO] [stdout]   --> src/tracker.rs:35:57
[INFO] [stdout]    |
[INFO] [stdout] 35 |                     contribution.username, contribution.repo_name, contribution.commits
[INFO] [stdout]    |                                                         ^^^^^^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `contribution_id`, `date`, `commit_count`, `repository_name`, `commits`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::repository`
[INFO] [stdout]  --> src/contribution.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::repository::Repository;
[INFO] [stdout]   |            ^^^^^^^^^^ could not find `repository` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::commit`
[INFO] [stdout]  --> src/contribution.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::commit::Commit;
[INFO] [stdout]   |            ^^^^^^ could not find `commit` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Contribution: serde::ser::Serialize` is not satisfied
[INFO] [stdout]     --> src/tracker.rs:46:37
[INFO] [stdout]      |
[INFO] [stdout]   46 |         serde_json::to_writer(file, &self.contributions)?;
[INFO] [stdout]      |         ---------------------       ^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]      |         |
[INFO] [stdout]      |         required by a bound introduced by this call
[INFO] [stdout]      |
[INFO] [stdout] help: the trait `serde::ser::Serialize` is not implemented for `Contribution`
[INFO] [stdout]     --> src/contribution.rs:4:1
[INFO] [stdout]      |
[INFO] [stdout]    4 | pub struct Contribution {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: for local types consider adding `#[derive(serde::Serialize)]` to your `Contribution` type
[INFO] [stdout]      = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]      = help: the following other types implement trait `serde::ser::Serialize`:
[INFO] [stdout]                &'a T
[INFO] [stdout]                &'a mut T
[INFO] [stdout]                ()
[INFO] [stdout]                (T,)
[INFO] [stdout]                (T0, T1)
[INFO] [stdout]                (T0, T1, T2)
[INFO] [stdout]                (T0, T1, T2, T3)
[INFO] [stdout]                (T0, T1, T2, T3, T4)
[INFO] [stdout]              and 131 others
[INFO] [stdout]      = note: required for `Vec<Contribution>` to implement `serde::ser::Serialize`
[INFO] [stdout] note: required by a bound in `to_writer`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.139/src/ser.rs:2172:17
[INFO] [stdout]      |
[INFO] [stdout] 2169 | pub fn to_writer<W, T>(writer: W, value: &T) -> Result<()>
[INFO] [stdout]      |        --------- required by a bound in this function
[INFO] [stdout] ...
[INFO] [stdout] 2172 |     T: ?Sized + Serialize,
[INFO] [stdout]      |                 ^^^^^^^^^ required by this bound in `to_writer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> src/tracker.rs:2:27
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::{self, Read, Write};
[INFO] [stdout]   |                           ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Contribution: serde::de::Deserialize<'_>` is not satisfied
[INFO] [stdout]     --> src/tracker.rs:55:30
[INFO] [stdout]      |
[INFO] [stdout]   55 |         self.contributions = serde_json::from_str(&data)?;
[INFO] [stdout]      |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]      |
[INFO] [stdout] help: the trait `serde::de::Deserialize<'_>` is not implemented for `Contribution`
[INFO] [stdout]     --> src/contribution.rs:4:1
[INFO] [stdout]      |
[INFO] [stdout]    4 | pub struct Contribution {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `Contribution` type
[INFO] [stdout]      = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]      = help: the following other types implement trait `serde::de::Deserialize<'de>`:
[INFO] [stdout]                &'a Path
[INFO] [stdout]                &'a [u8]
[INFO] [stdout]                &'a str
[INFO] [stdout]                ()
[INFO] [stdout]                (T,)
[INFO] [stdout]                (T0, T1)
[INFO] [stdout]                (T0, T1, T2)
[INFO] [stdout]                (T0, T1, T2, T3)
[INFO] [stdout]              and 142 others
[INFO] [stdout]      = note: required for `Vec<Contribution>` to implement `serde::de::Deserialize<'_>`
[INFO] [stdout] note: required by a bound in `serde_json::from_str`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.139/src/de.rs:2699:8
[INFO] [stdout]      |
[INFO] [stdout] 2697 | pub fn from_str<'a, T>(s: &'a str) -> Result<T>
[INFO] [stdout]      |        -------- required by a bound in this function
[INFO] [stdout] 2698 | where
[INFO] [stdout] 2699 |     T: de::Deserialize<'a>,
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `new` found for struct `Contribution` in the current scope
[INFO] [stdout]   --> src/tracker.rs:21:42
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let contribution = Contribution::new(user.to_string(), project.to_string(), contribution_type.parse::<u32>().unwrap_or(0));
[INFO] [stdout]    |                                          ^^^ associated function or constant not found in `Contribution`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/contribution.rs:4:1
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub struct Contribution {
[INFO] [stdout]    | ----------------------- associated function or constant `new` not found for this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0599, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `username` on type `&Contribution`
[INFO] [stdout]   --> src/tracker.rs:35:34
[INFO] [stdout]    |
[INFO] [stdout] 35 |                     contribution.username, contribution.repo_name, contribution.commits
[INFO] [stdout]    |                                  ^^^^^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `contribution_id`, `date`, `commit_count`, `repository_name`, `commits`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `repo_name` on type `&Contribution`
[INFO] [stdout]   --> src/tracker.rs:35:57
[INFO] [stdout]    |
[INFO] [stdout] 35 |                     contribution.username, contribution.repo_name, contribution.commits
[INFO] [stdout]    |                                                         ^^^^^^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `contribution_id`, `date`, `commit_count`, `repository_name`, `commits`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Contribution: serde::ser::Serialize` is not satisfied
[INFO] [stdout]     --> src/tracker.rs:46:37
[INFO] [stdout]      |
[INFO] [stdout]   46 |         serde_json::to_writer(file, &self.contributions)?;
[INFO] [stdout]      |         ---------------------       ^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]      |         |
[INFO] [stdout]      |         required by a bound introduced by this call
[INFO] [stdout]      |
[INFO] [stdout] help: the trait `serde::ser::Serialize` is not implemented for `Contribution`
[INFO] [stdout]     --> src/contribution.rs:4:1
[INFO] [stdout]      |
[INFO] [stdout]    4 | pub struct Contribution {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: for local types consider adding `#[derive(serde::Serialize)]` to your `Contribution` type
[INFO] [stdout]      = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]      = help: the following other types implement trait `serde::ser::Serialize`:
[INFO] [stdout]                &'a T
[INFO] [stdout]                &'a mut T
[INFO] [stdout]                ()
[INFO] [stdout]                (T,)
[INFO] [stdout]                (T0, T1)
[INFO] [stdout]                (T0, T1, T2)
[INFO] [stdout]                (T0, T1, T2, T3)
[INFO] [stdout]                (T0, T1, T2, T3, T4)
[INFO] [stdout]              and 131 others
[INFO] [stdout]      = note: required for `Vec<Contribution>` to implement `serde::ser::Serialize`
[INFO] [stdout] note: required by a bound in `to_writer`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.139/src/ser.rs:2172:17
[INFO] [stdout]      |
[INFO] [stdout] 2169 | pub fn to_writer<W, T>(writer: W, value: &T) -> Result<()>
[INFO] [stdout]      |        --------- required by a bound in this function
[INFO] [stdout] ...
[INFO] [stdout] 2172 |     T: ?Sized + Serialize,
[INFO] [stdout]      |                 ^^^^^^^^^ required by this bound in `to_writer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `open-source-tracker` (bin "open-source-tracker" test) due to 7 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0277]: the trait bound `Contribution: serde::de::Deserialize<'_>` is not satisfied
[INFO] [stdout]     --> src/tracker.rs:55:30
[INFO] [stdout]      |
[INFO] [stdout]   55 |         self.contributions = serde_json::from_str(&data)?;
[INFO] [stdout]      |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]      |
[INFO] [stdout] help: the trait `serde::de::Deserialize<'_>` is not implemented for `Contribution`
[INFO] [stdout]     --> src/contribution.rs:4:1
[INFO] [stdout]      |
[INFO] [stdout]    4 | pub struct Contribution {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `Contribution` type
[INFO] [stdout]      = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]      = help: the following other types implement trait `serde::de::Deserialize<'de>`:
[INFO] [stdout]                &'a Path
[INFO] [stdout]                &'a [u8]
[INFO] [stdout]                &'a str
[INFO] [stdout]                ()
[INFO] [stdout]                (T,)
[INFO] [stdout]                (T0, T1)
[INFO] [stdout]                (T0, T1, T2)
[INFO] [stdout]                (T0, T1, T2, T3)
[INFO] [stdout]              and 142 others
[INFO] [stdout]      = note: required for `Vec<Contribution>` to implement `serde::de::Deserialize<'_>`
[INFO] [stdout] note: required by a bound in `serde_json::from_str`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.139/src/de.rs:2699:8
[INFO] [stdout]      |
[INFO] [stdout] 2697 | pub fn from_str<'a, T>(s: &'a str) -> Result<T>
[INFO] [stdout]      |        -------- required by a bound in this function
[INFO] [stdout] 2698 | where
[INFO] [stdout] 2699 |     T: de::Deserialize<'a>,
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0599, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `open-source-tracker` (bin "open-source-tracker") due to 7 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "fc7f5af09f185675925a5d4f3d07a4915dc9122fe85d2ea0270336c13683cd03", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fc7f5af09f185675925a5d4f3d07a4915dc9122fe85d2ea0270336c13683cd03", kill_on_drop: false }`
[INFO] [stdout] fc7f5af09f185675925a5d4f3d07a4915dc9122fe85d2ea0270336c13683cd03
