[INFO] cloning repository https://github.com/jaimegonzalezfabregas/StarFate [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jaimegonzalezfabregas/StarFate" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjaimegonzalezfabregas%2FStarFate", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjaimegonzalezfabregas%2FStarFate'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d8332855a8da386451c0bf64feea1e238fb8f011 [INFO] testing jaimegonzalezfabregas/StarFate 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%2Fjaimegonzalezfabregas%2FStarFate" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jaimegonzalezfabregas/StarFate [INFO] finished tweaking git repo https://github.com/jaimegonzalezfabregas/StarFate [INFO] tweaked toml for git repo https://github.com/jaimegonzalezfabregas/StarFate written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jaimegonzalezfabregas/StarFate 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/jaimegonzalezfabregas/StarFate 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] 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-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] d0bbd848f9f2d7353c27d375d3e8a7b6121bcbd9ea2a8f425c03f3090ade822c [INFO] running `Command { std: "docker" "start" "-a" "d0bbd848f9f2d7353c27d375d3e8a7b6121bcbd9ea2a8f425c03f3090ade822c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0bbd848f9f2d7353c27d375d3e8a7b6121bcbd9ea2a8f425c03f3090ade822c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0bbd848f9f2d7353c27d375d3e8a7b6121bcbd9ea2a8f425c03f3090ade822c", kill_on_drop: false }` [INFO] [stdout] d0bbd848f9f2d7353c27d375d3e8a7b6121bcbd9ea2a8f425c03f3090ade822c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 2ea037d1be3ce45dc820335cdb4adf655fb438a1df995d57e2ee9fc879322b3c [INFO] running `Command { std: "docker" "start" "-a" "2ea037d1be3ce45dc820335cdb4adf655fb438a1df995d57e2ee9fc879322b3c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling star_fate v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `;`, found keyword `impl` [INFO] [stdout] --> src/story_builder.rs:124:42 [INFO] [stdout] | [INFO] [stdout] 124 | use crate::story_builder::DialogAction::* [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 125 | [INFO] [stdout] 126 | impl StoryLine { [INFO] [stdout] | ---- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::story_builder::DialogAction::*` [INFO] [stdout] --> src/story_builder.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | use crate::story_builder::DialogAction::* [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> src/story_builder.rs:71:62 [INFO] [stdout] | [INFO] [stdout] 66 | match &self.sub_story { [INFO] [stdout] | --------------------- `match` arms have incompatible types [INFO] [stdout] 67 | None => Ok(vec![StoryBeat { [INFO] [stdout] | _____________________- [INFO] [stdout] 68 | | end_triger: self.end_triger.to_owned(), [INFO] [stdout] 69 | | end_effect: self.end_effect.to_owned(), [INFO] [stdout] 70 | | }]), [INFO] [stdout] | |_______________- this is found to be of type `Result, String>` [INFO] [stdout] 71 | Some((starting_dialog, sub_story_transition)) => sh.render( [INFO] [stdout] | ______________________________________________________________^ [INFO] [stdout] 72 | | &sub_story_transition.sub_story_end_effect, [INFO] [stdout] 73 | | starting_dialog, [INFO] [stdout] 74 | | &sub_story_transition.end_comment, [INFO] [stdout] 75 | | ), [INFO] [stdout] | |_____________^ expected `Result, String>`, found `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result, _>` [INFO] [stdout] found enum `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/story_builder.rs:89:31 [INFO] [stdout] | [INFO] [stdout] 89 | Dialog(d) => vec![d.used_NPC()], [INFO] [stdout] | ^^^^^^^^^^^^ expected `NPC`, found `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `story_definition::NPC` [INFO] [stdout] found struct `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `StoryLine` is not an iterator [INFO] [stdout] --> src/story_builder.rs:174:18 [INFO] [stdout] | [INFO] [stdout] 120 | pub struct StoryLine { [INFO] [stdout] | -------------------- method `into_iter` not found for this struct because it doesn't satisfy `StoryLine: IntoIterator` or `StoryLine: Iterator` [INFO] [stdout] ... [INFO] [stdout] 169 | / self.render( [INFO] [stdout] 170 | | &sub_story.sub_story_end_effect, [INFO] [stdout] 171 | | &introduction, [INFO] [stdout] 172 | | &sub_story.end_comment, [INFO] [stdout] 173 | | )? [INFO] [stdout] 174 | | .into_iter(), [INFO] [stdout] | | -^^^^^^^^^ `StoryLine` is not an iterator [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `StoryLine: Iterator` [INFO] [stdout] which is required by `StoryLine: IntoIterator` [INFO] [stdout] `&StoryLine: Iterator` [INFO] [stdout] which is required by `&StoryLine: IntoIterator` [INFO] [stdout] `&mut StoryLine: Iterator` [INFO] [stdout] which is required by `&mut StoryLine: IntoIterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `into_iter`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntoIterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `StoryLine` is not an iterator [INFO] [stdout] --> src/story_builder.rs:200:18 [INFO] [stdout] | [INFO] [stdout] 120 | pub struct StoryLine { [INFO] [stdout] | -------------------- method `into_iter` not found for this struct because it doesn't satisfy `StoryLine: IntoIterator` or `StoryLine: Iterator` [INFO] [stdout] ... [INFO] [stdout] 195 | / self.render( [INFO] [stdout] 196 | | &sub_story.sub_story_end_effect, [INFO] [stdout] 197 | | &start_dialog, [INFO] [stdout] 198 | | &sub_story.end_comment, [INFO] [stdout] 199 | | )? [INFO] [stdout] 200 | | .into_iter(), [INFO] [stdout] | | -^^^^^^^^^ `StoryLine` is not an iterator [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `StoryLine: Iterator` [INFO] [stdout] which is required by `StoryLine: IntoIterator` [INFO] [stdout] `&StoryLine: Iterator` [INFO] [stdout] which is required by `&StoryLine: IntoIterator` [INFO] [stdout] `&mut StoryLine: Iterator` [INFO] [stdout] which is required by `&mut StoryLine: IntoIterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `into_iter`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `IntoIterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/story_builder.rs:213:27 [INFO] [stdout] | [INFO] [stdout] 213 | Ok(StoryLine::new(story_line)) [INFO] [stdout] | -------------- ^^^^^^^^^^ expected `StoryBeat`, found `Vec` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `StoryBeat` [INFO] [stdout] found struct `Vec` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/story_builder.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn new(beat: StoryBeat) -> Self { [INFO] [stdout] | ^^^ --------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `StoryLine` doesn't implement `Debug` [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | / story_heap.render( [INFO] [stdout] 15 | | &EndGame, // Use the imported EndGame value [INFO] [stdout] 16 | | &Hablar(Padre, "".to_string()), [INFO] [stdout] 17 | | &" -- terminaste el juego --".to_string() [INFO] [stdout] 18 | | ) [INFO] [stdout] | |_________^ `StoryLine` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `StoryLine` [INFO] [stdout] = note: add `#[derive(Debug)]` to `StoryLine` or manually `impl Debug for StoryLine` [INFO] [stdout] = help: the trait `Debug` is implemented for `Result` [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `StoryLine` with `#[derive(Debug)]` [INFO] [stdout] --> src/story_builder.rs:120:1 [INFO] [stdout] | [INFO] [stdout] 120+ #[derive(Debug)] [INFO] [stdout] 121| pub struct StoryLine { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `star_fate` (bin "star_fate") due to 7 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "2ea037d1be3ce45dc820335cdb4adf655fb438a1df995d57e2ee9fc879322b3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ea037d1be3ce45dc820335cdb4adf655fb438a1df995d57e2ee9fc879322b3c", kill_on_drop: false }` [INFO] [stdout] 2ea037d1be3ce45dc820335cdb4adf655fb438a1df995d57e2ee9fc879322b3c