[INFO] updating cached repository https://github.com/martindevans/y [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1e54dfb0f13780b8b4ac2b4fafaa9edd1b37c9c0 [INFO] testing martindevans/y against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmartindevans%2Fy" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/martindevans/y on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", 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-2/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" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b42a3679198170c16b785733c6e9390b0e8fd4da92f45438eb56d6bd67e9c815 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b42a3679198170c16b785733c6e9390b0e8fd4da92f45438eb56d6bd67e9c815", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b42a3679198170c16b785733c6e9390b0e8fd4da92f45438eb56d6bd67e9c815", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b42a3679198170c16b785733c6e9390b0e8fd4da92f45438eb56d6bd67e9c815", kill_on_drop: false }` [INFO] [stdout] b42a3679198170c16b785733c6e9390b0e8fd4da92f45438eb56d6bd67e9c815 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e654f5f4c6ef39e01058fba9fce462b61d7216410a06c3ca7cc4c3cb338c6ab0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e654f5f4c6ef39e01058fba9fce462b61d7216410a06c3ca7cc4c3cb338c6ab0", kill_on_drop: false }` [INFO] [stderr] Compiling peg-runtime v0.6.2 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling peg-macros v0.6.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling peg v0.6.2 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling serde 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 a macro (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`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "e654f5f4c6ef39e01058fba9fce462b61d7216410a06c3ca7cc4c3cb338c6ab0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e654f5f4c6ef39e01058fba9fce462b61d7216410a06c3ca7cc4c3cb338c6ab0", kill_on_drop: false }` [INFO] [stdout] e654f5f4c6ef39e01058fba9fce462b61d7216410a06c3ca7cc4c3cb338c6ab0