[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] testing hlulanij/open-source-tracker against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhlulanij%2Fopen-source-tracker" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/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-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hlulanij/open-source-tracker on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ryu v1.0.19 [INFO] [stderr] Downloaded unicode-ident v1.0.17 [INFO] [stderr] Downloaded serde_json v1.0.139 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 34ec2612bbcea2677abc159b53a7aa0b7380ca0a0b73f2bddb3ff4e8fbfec1b2 [INFO] running `Command { std: "docker" "start" "-a" "34ec2612bbcea2677abc159b53a7aa0b7380ca0a0b73f2bddb3ff4e8fbfec1b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "34ec2612bbcea2677abc159b53a7aa0b7380ca0a0b73f2bddb3ff4e8fbfec1b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34ec2612bbcea2677abc159b53a7aa0b7380ca0a0b73f2bddb3ff4e8fbfec1b2", kill_on_drop: false }` [INFO] [stdout] 34ec2612bbcea2677abc159b53a7aa0b7380ca0a0b73f2bddb3ff4e8fbfec1b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 80cebe41050208ef2bacd0585679a374478635a7c6489c6846d343b2e5e8bb3a [INFO] running `Command { std: "docker" "start" "-a" "80cebe41050208ef2bacd0585679a374478635a7c6489c6846d343b2e5e8bb3a", 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 ryu v1.0.19 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item 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::().unwrap_or(0)); [INFO] [stdout] | ^^^ function or associated item not found in `Contribution` [INFO] [stdout] | [INFO] [stdout] ::: src/contribution.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Contribution { [INFO] [stdout] | ----------------------- function or associated item `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[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] | --------------------- ^^^^^^^^^^^^^^^^^^^ the trait `serde::ser::Serialize` is not implemented for `Contribution` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [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` 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(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] 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `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` 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 [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" "80cebe41050208ef2bacd0585679a374478635a7c6489c6846d343b2e5e8bb3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80cebe41050208ef2bacd0585679a374478635a7c6489c6846d343b2e5e8bb3a", kill_on_drop: false }` [INFO] [stdout] 80cebe41050208ef2bacd0585679a374478635a7c6489c6846d343b2e5e8bb3a