[INFO] cloning repository https://github.com/outamaa/vekotin [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/outamaa/vekotin" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foutamaa%2Fvekotin", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foutamaa%2Fvekotin'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 46c6c9e1aefd8cdadf5e72a285840b3ed519882c [INFO] checking outamaa/vekotin against master#dfd7b8d03fb93d0e03147d28b3be6d93260fa94d for pr-87050 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foutamaa%2Fvekotin" "/workspace/builds/worker-15/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-15/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/outamaa/vekotin on toolchain dfd7b8d03fb93d0e03147d28b3be6d93260fa94d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/outamaa/vekotin [INFO] finished tweaking git repo https://github.com/outamaa/vekotin [INFO] tweaked toml for git repo https://github.com/outamaa/vekotin written to /workspace/builds/worker-15/source/Cargo.toml [INFO] crate git repo https://github.com/outamaa/vekotin already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "fetch" "--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-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ad9271877d5ea98183ce0349ad3fe73bcb89636ab50daa2ecb6a94a4558d1173 [INFO] running `Command { std: "docker" "start" "-a" "ad9271877d5ea98183ce0349ad3fe73bcb89636ab50daa2ecb6a94a4558d1173", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad9271877d5ea98183ce0349ad3fe73bcb89636ab50daa2ecb6a94a4558d1173", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad9271877d5ea98183ce0349ad3fe73bcb89636ab50daa2ecb6a94a4558d1173", kill_on_drop: false }` [INFO] [stdout] ad9271877d5ea98183ce0349ad3fe73bcb89636ab50daa2ecb6a94a4558d1173 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] db2ff5b917fd7443b3f16ad0969608f0bd36fee2738a4e4a30b99f54f80fde78 [INFO] running `Command { std: "docker" "start" "-a" "db2ff5b917fd7443b3f16ad0969608f0bd36fee2738a4e4a30b99f54f80fde78", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling sdl2 v0.34.3 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking emscripten_main_loop v0.1.1 [INFO] [stderr] Compiling sdl2-sys v0.34.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.4.0 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Checking vekotin v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0423]: expected value, found builtin type `u16` [INFO] [stdout] --> src/compression/deflate/dynamic_huffman.rs:269:49 [INFO] [stdout] | [INFO] [stdout] 269 | _ => bail!("Invalid Deflate symbol {}", u16), [INFO] [stdout] | ^^^ not a value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `R` in this scope [INFO] [stdout] --> src/compression/deflate/dynamic_huffman.rs:299:26 [INFO] [stdout] | [INFO] [stdout] 299 | bits: &mut BitStream, [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `sdl2::keyboard::Keycode::R` and 1 other; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 299 | bits: &mut BitStream, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 299 | bits: &mut BitStream, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 298 | fn read_length_and_distance_by_extra_bits( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found builtin type `u16` [INFO] [stdout] --> src/compression/deflate/dynamic_huffman.rs:269:49 [INFO] [stdout] | [INFO] [stdout] 269 | _ => bail!("Invalid Deflate symbol {}", u16), [INFO] [stdout] | ^^^ not a value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `R` in this scope [INFO] [stdout] --> src/compression/deflate/dynamic_huffman.rs:299:26 [INFO] [stdout] | [INFO] [stdout] 299 | bits: &mut BitStream, [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `sdl2::keyboard::Keycode::R` and 1 other; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 299 | bits: &mut BitStream, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 299 | bits: &mut BitStream, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 298 | fn read_length_and_distance_by_extra_bits( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/compression/deflate/dynamic_huffman.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::zeroed` [INFO] [stdout] --> src/compression/deflate/dynamic_huffman.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::mem::zeroed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ErrorKind`, `Error` [INFO] [stdout] --> src/fiddling/mod.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{Error, ErrorKind, Read}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Triangle2` [INFO] [stdout] --> src/geometry/transform.rs:1:41 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::geometry::{Point3f, Point4f, Triangle2}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::math::vector::VecElem` [INFO] [stdout] --> src/geometry/transform.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::math::vector::VecElem; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Matrix3` [INFO] [stdout] --> src/geometry/transform.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::math::{Matrix3, Matrix3f, Matrix4f, Vec3f, Vec4f}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Point2i` [INFO] [stdout] --> src/gfx/cpu/mod.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::geometry::{Point2i, Point3f}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::math::Matrix3f` [INFO] [stdout] --> src/gfx/cpu/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::math::Matrix3f; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/compression/deflate/dynamic_huffman.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::zeroed` [INFO] [stdout] --> src/compression/deflate/dynamic_huffman.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::mem::zeroed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ErrorKind`, `Error` [INFO] [stdout] --> src/fiddling/mod.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{Error, ErrorKind, Read}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Triangle2` [INFO] [stdout] --> src/geometry/transform.rs:1:41 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::geometry::{Point3f, Point4f, Triangle2}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::math::vector::VecElem` [INFO] [stdout] --> src/geometry/transform.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::math::vector::VecElem; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Matrix3` [INFO] [stdout] --> src/geometry/transform.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::math::{Matrix3, Matrix3f, Matrix4f, Vec3f, Vec4f}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Point2i` [INFO] [stdout] --> src/gfx/cpu/mod.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::geometry::{Point2i, Point3f}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::math::Matrix3f` [INFO] [stdout] --> src/gfx/cpu/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::math::Matrix3f; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/compression/deflate/dynamic_huffman.rs:262:23 [INFO] [stdout] | [INFO] [stdout] 262 | 0..=255 => Ok(Literal(raw_symbol as u8)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `DeflateSymbol`, found enum `Symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `pow` on ambiguous numeric type `{integer}` [INFO] [stdout] --> src/compression/deflate/dynamic_huffman.rs:308:49 [INFO] [stdout] | [INFO] [stdout] 308 | + (length_symbol - extra_bit_start) * 2.pow(extra_bits as u32); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: you must specify a concrete type for this numeric value, like `i32` [INFO] [stdout] | [INFO] [stdout] 308 | + (length_symbol - extra_bit_start) * 2_i32.pow(extra_bits as u32); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/compression/deflate/dynamic_huffman.rs:309:58 [INFO] [stdout] | [INFO] [stdout] 298 | / fn read_length_and_distance_by_extra_bits( [INFO] [stdout] 299 | | bits: &mut BitStream, [INFO] [stdout] 300 | | length_symbol: u16, [INFO] [stdout] 301 | | extra_bits: usize, [INFO] [stdout] ... | [INFO] [stdout] 309 | | let distance = read_distance(bits, distance_alphabet)?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `DeflateSymbol` [INFO] [stdout] 310 | | LengthAndDistance(length, distance) [INFO] [stdout] 311 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `DeflateSymbol` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/compression/deflate/dynamic_huffman.rs:262:23 [INFO] [stdout] | [INFO] [stdout] 262 | 0..=255 => Ok(Literal(raw_symbol as u8)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `DeflateSymbol`, found enum `Symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `pow` on ambiguous numeric type `{integer}` [INFO] [stdout] --> src/compression/deflate/dynamic_huffman.rs:308:49 [INFO] [stdout] | [INFO] [stdout] 308 | + (length_symbol - extra_bit_start) * 2.pow(extra_bits as u32); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: you must specify a concrete type for this numeric value, like `i32` [INFO] [stdout] | [INFO] [stdout] 308 | + (length_symbol - extra_bit_start) * 2_i32.pow(extra_bits as u32); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/compression/deflate/dynamic_huffman.rs:309:58 [INFO] [stdout] | [INFO] [stdout] 298 | / fn read_length_and_distance_by_extra_bits( [INFO] [stdout] 299 | | bits: &mut BitStream, [INFO] [stdout] 300 | | length_symbol: u16, [INFO] [stdout] 301 | | extra_bits: usize, [INFO] [stdout] ... | [INFO] [stdout] 309 | | let distance = read_distance(bits, distance_alphabet)?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `DeflateSymbol` [INFO] [stdout] 310 | | LengthAndDistance(length, distance) [INFO] [stdout] 311 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `DeflateSymbol` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0412, E0423, E0689. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0412, E0423, E0689. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `vekotin` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "db2ff5b917fd7443b3f16ad0969608f0bd36fee2738a4e4a30b99f54f80fde78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db2ff5b917fd7443b3f16ad0969608f0bd36fee2738a4e4a30b99f54f80fde78", kill_on_drop: false }` [INFO] [stdout] db2ff5b917fd7443b3f16ad0969608f0bd36fee2738a4e4a30b99f54f80fde78