[INFO] cloning repository https://github.com/Sodas0/cli-task-manager [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Sodas0/cli-task-manager" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSodas0%2Fcli-task-manager", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSodas0%2Fcli-task-manager'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 98254c0ec66ed66993c7018d8ab08cbd3124e1ec [INFO] testing Sodas0/cli-task-manager against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSodas0%2Fcli-task-manager" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Sodas0/cli-task-manager [INFO] finished tweaking git repo https://github.com/Sodas0/cli-task-manager [INFO] tweaked toml for git repo https://github.com/Sodas0/cli-task-manager written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Sodas0/cli-task-manager on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Sodas0/cli-task-manager 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 17683020c5cb4c76eb4dfdf8c01b0b9308a4263207bd2310e9d537b657208509 [INFO] running `Command { std: "docker" "start" "-a" "17683020c5cb4c76eb4dfdf8c01b0b9308a4263207bd2310e9d537b657208509", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "17683020c5cb4c76eb4dfdf8c01b0b9308a4263207bd2310e9d537b657208509", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17683020c5cb4c76eb4dfdf8c01b0b9308a4263207bd2310e9d537b657208509", kill_on_drop: false }` [INFO] [stdout] 17683020c5cb4c76eb4dfdf8c01b0b9308a4263207bd2310e9d537b657208509 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 308ad35b602ef564ae1787905a746386991fa1015ed2cafba790662babf12293 [INFO] running `Command { std: "docker" "start" "-a" "308ad35b602ef564ae1787905a746386991fa1015ed2cafba790662babf12293", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling cli-tasks v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/task.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Serialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/task.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/task.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/task.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Task: Serialize` is not satisfied [INFO] [stdout] --> src/cli.rs:91:38 [INFO] [stdout] | [INFO] [stdout] 91 | let json = serde_json::to_string(&task).unwrap(); [INFO] [stdout] | --------------------- ^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Serialize` is not implemented for `Task` [INFO] [stdout] --> src/task.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Task{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `Task` 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 `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 by a bound in `serde_json::to_string` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.141/src/ser.rs:2247:17 [INFO] [stdout] | [INFO] [stdout] 2245 | pub fn to_string(value: &T) -> Result [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 2246 | where [INFO] [stdout] 2247 | T: ?Sized + Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Task: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/storage.rs:89:40 [INFO] [stdout] | [INFO] [stdout] 89 | match serde_json::from_reader::<_, Vec>(reader) { [INFO] [stdout] | ^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Deserialize<'_>` is not implemented for `Task` [INFO] [stdout] --> src/task.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Task{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `Task` 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 `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 `for<'de> Deserialize<'de>` [INFO] [stdout] = note: required for `Vec` to implement `DeserializeOwned` [INFO] [stdout] note: required by a bound in `from_reader` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.141/src/de.rs:2615:8 [INFO] [stdout] | [INFO] [stdout] 2612 | pub fn from_reader(rdr: R) -> Result [INFO] [stdout] | ----------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 2615 | T: de::DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `from_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Task: Serialize` is not satisfied [INFO] [stdout] --> src/storage.rs:112:52 [INFO] [stdout] | [INFO] [stdout] 112 | let json_string = serde_json::to_string_pretty(&tasks) [INFO] [stdout] | ---------------------------- ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Serialize` is not implemented for `Task` [INFO] [stdout] --> src/task.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Task{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `Task` 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 `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 `Serialize` [INFO] [stdout] note: required by a bound in `to_string_pretty` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.141/src/ser.rs:2266:17 [INFO] [stdout] | [INFO] [stdout] 2264 | pub fn to_string_pretty(value: &T) -> Result [INFO] [stdout] | ---------------- required by a bound in this function [INFO] [stdout] 2265 | where [INFO] [stdout] 2266 | T: ?Sized + Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `to_string_pretty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cli-tasks` (bin "cli-tasks") due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "308ad35b602ef564ae1787905a746386991fa1015ed2cafba790662babf12293", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "308ad35b602ef564ae1787905a746386991fa1015ed2cafba790662babf12293", kill_on_drop: false }` [INFO] [stdout] 308ad35b602ef564ae1787905a746386991fa1015ed2cafba790662babf12293