[INFO] cloning repository https://github.com/martindevans/y [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/martindevans/y" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmartindevans%2Fy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmartindevans%2Fy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1e54dfb0f13780b8b4ac2b4fafaa9edd1b37c9c0 [INFO] testing martindevans/y against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmartindevans%2Fy" "/workspace/builds/worker-17/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-17/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/martindevans/y on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/martindevans/y [INFO] finished tweaking git repo https://github.com/martindevans/y [INFO] tweaked toml for git repo https://github.com/martindevans/y written to /workspace/builds/worker-17/source/Cargo.toml [INFO] crate git repo https://github.com/martindevans/y already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded peg-macros v0.6.2 [INFO] [stderr] Downloaded peg-runtime v0.6.2 [INFO] [stderr] Downloaded peg v0.6.2 [INFO] [stderr] Downloaded yolol_number v0.7.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 762cdcd6379670337c2dd5628fde35765c75304a0b03cd7384fa407babe78f6e [INFO] running `Command { std: "docker" "start" "-a" "762cdcd6379670337c2dd5628fde35765c75304a0b03cd7384fa407babe78f6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "762cdcd6379670337c2dd5628fde35765c75304a0b03cd7384fa407babe78f6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "762cdcd6379670337c2dd5628fde35765c75304a0b03cd7384fa407babe78f6e", kill_on_drop: false }` [INFO] [stdout] 762cdcd6379670337c2dd5628fde35765c75304a0b03cd7384fa407babe78f6e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 955e0915989918a07296d8ce9ccf155cc9642c60561198e6dac7855e222971e1 [INFO] running `Command { std: "docker" "start" "-a" "955e0915989918a07296d8ce9ccf155cc9642c60561198e6dac7855e222971e1", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling peg-runtime v0.6.2 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling peg-macros v0.6.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling regex v1.3.6 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling peg v0.6.2 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling yolol_number v0.7.1 [INFO] [stderr] Compiling yc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `set_virtual_terminal` in module `colored::control` [INFO] [stdout] --> src/main.rs:24:39 [INFO] [stdout] | [INFO] [stdout] 24 | if let Err(_) = colored::control::set_virtual_terminal(true) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in `colored::control` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CallType`, `FieldDefinition`, `ParameterDefinition` [INFO] [stdout] --> src/compiler/stages/materialise_structs.rs:4:90 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::grammar::ast::{ InnerStatement, OuterStatement, Expression, StructDefinition, FieldDefinition, CallType, ParameterDefinition }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `infer_expr_type`, `type_check_assignment` [INFO] [stdout] --> src/compiler/stages/materialise_structs.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | use super::super::typecheck::{ infer_expr_type, Type, type_check_assignment }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/compiler/stages/inline_macros.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 155 | panic!("rewrite"); [INFO] [stdout] | ----------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 158 | result.append(&mut rewritten.statements); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/compiler/stages/materialise_structs.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 81 | panic!("check that constructor args are compatible with type"); [INFO] [stdout] | -------------------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 82 | panic!("constructor declaration initialiser"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `panic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `yc` due to 2 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "955e0915989918a07296d8ce9ccf155cc9642c60561198e6dac7855e222971e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "955e0915989918a07296d8ce9ccf155cc9642c60561198e6dac7855e222971e1", kill_on_drop: false }` [INFO] [stdout] 955e0915989918a07296d8ce9ccf155cc9642c60561198e6dac7855e222971e1