[INFO] fetching crate decide 0.1.1... [INFO] testing decide-0.1.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_getrandom_patch_0 [INFO] extracting crate decide 0.1.1 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate decide 0.1.1 [INFO] finished tweaking crates.io crate decide 0.1.1 [INFO] tweaked toml for crates.io crate decide 0.1.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate decide 0.1.1 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 crates.io crate decide 0.1.1 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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded arrayref v0.3.5 [INFO] [stderr] Downloaded blake2b_simd v0.5.9 [INFO] [stderr] Downloaded redox_users v0.3.1 [INFO] [stderr] Downloaded failure_derive v0.1.6 [INFO] [stderr] Downloaded toml v0.5.5 [INFO] [stderr] Downloaded rust-argon2 v0.5.1 [INFO] [stderr] Downloaded yaml-rust v0.3.5 [INFO] [stderr] Downloaded cc v1.0.48 [INFO] [stderr] Downloaded synstructure v0.12.3 [INFO] [stderr] Downloaded backtrace v0.3.40 [INFO] [stderr] Downloaded syn v1.0.11 [INFO] [stderr] Downloaded failure v0.1.6 [INFO] [stderr] Downloaded wasi v0.7.0 [INFO] [stderr] Downloaded getrandom v0.1.13 [INFO] [stderr] Downloaded constant_time_eq v0.1.4 [INFO] [stderr] Downloaded cmd_lib v0.7.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 0697eda3deeeddaa574c9ad6ad2d51122dc9fbc2ac28318c90fe9348840901ef [INFO] running `Command { std: "docker" "start" "-a" "0697eda3deeeddaa574c9ad6ad2d51122dc9fbc2ac28318c90fe9348840901ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0697eda3deeeddaa574c9ad6ad2d51122dc9fbc2ac28318c90fe9348840901ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0697eda3deeeddaa574c9ad6ad2d51122dc9fbc2ac28318c90fe9348840901ef", kill_on_drop: false }` [INFO] [stdout] 0697eda3deeeddaa574c9ad6ad2d51122dc9fbc2ac28318c90fe9348840901ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] c82574398ec4b08623007ae0db820827376992f1ace6c3008de1b0d71510e3e7 [INFO] running `Command { std: "docker" "start" "-a" "c82574398ec4b08623007ae0db820827376992f1ace6c3008de1b0d71510e3e7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling cmd_lib v0.7.8 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling dirs-sys v0.3.4 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling directories v2.0.2 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling toml v0.5.5 [INFO] [stderr] Compiling decide v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `NoneError` in module `std::option` [INFO] [stdout] --> src/error.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | impl From for Error { [INFO] [stdout] | ^^^^^^^^^ not found in `std::option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NoneError` in module `std::option` [INFO] [stdout] --> src/error.rs:33:29 [INFO] [stdout] | [INFO] [stdout] 33 | fn from(_: std::option::NoneError) -> Self { [INFO] [stdout] | ^^^^^^^^^ not found in `std::option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/structs.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/structs.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/structs.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/structs.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: feature `try_trait` has been renamed to `try_trait_v2` [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(try_trait)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result` [INFO] [stdout] --> src/commands.rs:9:57 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn edit(matches: &ArgMatches, storage: &mut Storage) -> Result<(), Error> { [INFO] [stdout] | ----------------------------------------------------------------------------- this function returns a `Result` [INFO] [stdout] 9 | let old_name = String::from(matches.value_of("name")?); [INFO] [stdout] | ^ use `.ok_or(...)?` to provide an error compatible with `Result<(), error::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result` [INFO] [stdout] --> src/commands.rs:32:50 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn decide(matches: &ArgMatches, storage: &mut Storage) -> Result<(), Error> { [INFO] [stdout] | ------------------------------------------------------------------------------- this function returns a `Result` [INFO] [stdout] ... [INFO] [stdout] 32 | let project = storage.projects.get(index)?; [INFO] [stdout] | ^ use `.ok_or(...)?` to provide an error compatible with `Result<(), error::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result` [INFO] [stdout] --> src/commands.rs:51:61 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn new(matches: &ArgMatches, storage: &mut Storage) -> Result<(), Error> { [INFO] [stdout] | ---------------------------------------------------------------------------- this function returns a `Result` [INFO] [stdout] 51 | let project_name = String::from(matches.value_of("NAME")?); [INFO] [stdout] | ^ use `.ok_or(...)?` to provide an error compatible with `Result<(), error::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result` [INFO] [stdout] --> src/commands.rs:66:61 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn remove(matches: &ArgMatches, storage: &mut Storage) -> Result<(), Error> { [INFO] [stdout] | ------------------------------------------------------------------------------- this function returns a `Result` [INFO] [stdout] 66 | let project_name = String::from(matches.value_of("NAME")?); [INFO] [stdout] | ^ use `.ok_or(...)?` to provide an error compatible with `Result<(), error::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `decide` (bin "decide") due to 7 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c82574398ec4b08623007ae0db820827376992f1ace6c3008de1b0d71510e3e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c82574398ec4b08623007ae0db820827376992f1ace6c3008de1b0d71510e3e7", kill_on_drop: false }` [INFO] [stdout] c82574398ec4b08623007ae0db820827376992f1ace6c3008de1b0d71510e3e7