[INFO] cloning repository https://github.com/Cynlic/strangers [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Cynlic/strangers" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCynlic%2Fstrangers", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCynlic%2Fstrangers'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9883bf572f68e50472df961a99ad3ce91d6174a4 [INFO] checking Cynlic/strangers against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCynlic%2Fstrangers" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Cynlic/strangers on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Cynlic/strangers [INFO] finished tweaking git repo https://github.com/Cynlic/strangers [INFO] tweaked toml for git repo https://github.com/Cynlic/strangers written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Cynlic/strangers 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libc v0.2.31 [INFO] [stderr] Downloaded gnuplot v0.0.22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff1fdb85d25dc1532b4ac42c2d98e8398b7e4ba59a0cfc357a104146b5d6b590 [INFO] running `Command { std: "docker" "start" "-a" "ff1fdb85d25dc1532b4ac42c2d98e8398b7e4ba59a0cfc357a104146b5d6b590", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff1fdb85d25dc1532b4ac42c2d98e8398b7e4ba59a0cfc357a104146b5d6b590", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff1fdb85d25dc1532b4ac42c2d98e8398b7e4ba59a0cfc357a104146b5d6b590", kill_on_drop: false }` [INFO] [stdout] ff1fdb85d25dc1532b4ac42c2d98e8398b7e4ba59a0cfc357a104146b5d6b590 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2efd3cf366bb7615c664c6764e7de04eb4fb415954903c749df53b4780f2e2ad [INFO] running `Command { std: "docker" "start" "-a" "2efd3cf366bb7615c664c6764e7de04eb4fb415954903c749df53b4780f2e2ad", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.31 [INFO] [stderr] Checking gnuplot v0.0.22 [INFO] [stderr] Checking rand v0.3.16 [INFO] [stderr] Checking chaos-plot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `notetree` [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | mod notetree; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `notetree`, create file "src/notetree.rs" or "src/notetree/mod.rs" [INFO] [stdout] = note: if there is a `mod notetree` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `notetree` [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | mod notetree; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `notetree`, create file "src/notetree.rs" or "src/notetree/mod.rs" [INFO] [stdout] = note: if there is a `mod notetree` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `make_phrase` in module `notetree` [INFO] [stdout] --> src/main.rs:205:32 [INFO] [stdout] | [INFO] [stdout] 205 | let phrase = notetree::make_phrase(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `notetree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `make_phrase` in module `notetree` [INFO] [stdout] --> src/main.rs:205:32 [INFO] [stdout] | [INFO] [stdout] 205 | let phrase = notetree::make_phrase(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `notetree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lily::*` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use lily::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lily::*` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use lily::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `notetree::*` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use notetree::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `notetree::*` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use notetree::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:326:20 [INFO] [stdout] | [INFO] [stdout] 326 | fn iterate_fn (f: &Fn(f64, f64) -> (f64,f64), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 326 | fn iterate_fn (f: &dyn Fn(f64, f64) -> (f64,f64), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:326:20 [INFO] [stdout] | [INFO] [stdout] 326 | fn iterate_fn (f: &Fn(f64, f64) -> (f64,f64), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 326 | fn iterate_fn (f: &dyn Fn(f64, f64) -> (f64,f64), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lily.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | (_, _) => "wbh" [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lily.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | (_, _) => "wbh" [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `beat` [INFO] [stdout] --> src/lily.rs:121:41 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn new(pattern: u8, pulses: u8, beat: u8)->Phrase{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_beat` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `beat` [INFO] [stdout] --> src/lily.rs:121:41 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn new(pattern: u8, pulses: u8, beat: u8)->Phrase{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_beat` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lily.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 149 | arco => Gesture::Arco, [INFO] [stdout] | ---- matches any value [INFO] [stdout] 150 | pizz => Gesture::Pizzicato, [INFO] [stdout] | ^^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lily.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 149 | arco => Gesture::Arco, [INFO] [stdout] | ---- matches any value [INFO] [stdout] 150 | pizz => Gesture::Pizzicato, [INFO] [stdout] | ^^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lily.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 149 | arco => Gesture::Arco, [INFO] [stdout] | ---- matches any value [INFO] [stdout] 150 | pizz => Gesture::Pizzicato, [INFO] [stdout] 151 | perc => Gesture::Percussion, [INFO] [stdout] | ^^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lily.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 149 | arco => Gesture::Arco, [INFO] [stdout] | ---- matches any value [INFO] [stdout] 150 | pizz => Gesture::Pizzicato, [INFO] [stdout] 151 | perc => Gesture::Percussion, [INFO] [stdout] | ^^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arco` [INFO] [stdout] --> src/lily.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | let arco = g |0b00 << i; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_arco` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arco` [INFO] [stdout] --> src/lily.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | let arco = g |0b00 << i; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_arco` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pizz` [INFO] [stdout] --> src/lily.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | let pizz = g |0b01 << i; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pizz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pizz` [INFO] [stdout] --> src/lily.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | let pizz = g |0b01 << i; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pizz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `perc` [INFO] [stdout] --> src/lily.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | let perc = g |0b11 << i; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_perc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `perc` [INFO] [stdout] --> src/lily.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | let perc = g |0b11 << i; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_perc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arco` [INFO] [stdout] --> src/lily.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | arco => Gesture::Arco, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_arco` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arco` [INFO] [stdout] --> src/lily.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | arco => Gesture::Arco, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_arco` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pizz` [INFO] [stdout] --> src/lily.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | pizz => Gesture::Pizzicato, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pizz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `perc` [INFO] [stdout] --> src/lily.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | perc => Gesture::Percussion, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_perc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pizz` [INFO] [stdout] --> src/lily.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | pizz => Gesture::Pizzicato, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pizz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `perc` [INFO] [stdout] --> src/lily.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | perc => Gesture::Percussion, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_perc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/main.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | for i in 1..10 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/main.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | for i in 1..10 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:259:9 [INFO] [stdout] | [INFO] [stdout] 259 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:259:9 [INFO] [stdout] | [INFO] [stdout] 259 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `chaos-plot` (bin "chaos-plot") due to 3 previous errors; 16 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `chaos-plot` (bin "chaos-plot" test) due to 3 previous errors; 16 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2efd3cf366bb7615c664c6764e7de04eb4fb415954903c749df53b4780f2e2ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2efd3cf366bb7615c664c6764e7de04eb4fb415954903c749df53b4780f2e2ad", kill_on_drop: false }` [INFO] [stdout] 2efd3cf366bb7615c664c6764e7de04eb4fb415954903c749df53b4780f2e2ad