[INFO] fetching crate zlib 0.0.1... [INFO] checking zlib-0.0.1 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate zlib 0.0.1 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate zlib 0.0.1 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 crates.io crate zlib 0.0.1 [INFO] finished tweaking crates.io crate zlib 0.0.1 [INFO] tweaked toml for crates.io crate zlib 0.0.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 2 packages [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] warning: dependency (crc32) specified without providing a local path, Git repository, version, or workspace dependency to use. This will be considered an error in future versions [INFO] [stderr] warning: unused manifest key: dependencies.crc32.crc32 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crc32 v0.0.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] f681fe363913964fac2da47ee54bf28f2cacac5f2255a962fe23a79cae5a7df6 [INFO] running `Command { std: "docker" "start" "-a" "f681fe363913964fac2da47ee54bf28f2cacac5f2255a962fe23a79cae5a7df6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f681fe363913964fac2da47ee54bf28f2cacac5f2255a962fe23a79cae5a7df6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f681fe363913964fac2da47ee54bf28f2cacac5f2255a962fe23a79cae5a7df6", kill_on_drop: false }` [INFO] [stdout] f681fe363913964fac2da47ee54bf28f2cacac5f2255a962fe23a79cae5a7df6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] b901ea59b61465bd6eddd62d5c0e43d8e2e561a80565f6dd3543b689865a655d [INFO] running `Command { std: "docker" "start" "-a" "b901ea59b61465bd6eddd62d5c0e43d8e2e561a80565f6dd3543b689865a655d", kill_on_drop: false }` [INFO] [stderr] warning: dependency (crc32) specified without providing a local path, Git repository, version, or workspace dependency to use. This will be considered an error in future versions [INFO] [stderr] warning: unused manifest key: dependencies.crc32.crc32 [INFO] [stderr] Compiling crc32 v0.0.2 [INFO] [stderr] Compiling zlib v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `,` [INFO] [stdout] --> build.rs:31:25 [INFO] [stdout] | [INFO] [stdout] 31 | let mut fixed: [Code, ..544] = [Default::default(); 544]; [INFO] [stdout] | - ^ expected one of 7 possible tokens [INFO] [stdout] | | [INFO] [stdout] | while parsing the type for the binding [INFO] [stdout] | help: use `=` if you meant to assign [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `,` [INFO] [stdout] --> build.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | let mut work: [u16, ..288] = [Default::default(); 288]; // work area for code table building [INFO] [stdout] | - ^ expected one of 7 possible tokens [INFO] [stdout] | | [INFO] [stdout] | while parsing the type for the binding [INFO] [stdout] | help: use `=` if you meant to assign [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `,` [INFO] [stdout] --> build.rs:36:23 [INFO] [stdout] | [INFO] [stdout] 36 | let mut lens: [u16, ..320] = [Default::default(); 320]; // temporary storage for code lengths [INFO] [stdout] | - ^ expected one of 7 possible tokens [INFO] [stdout] | | [INFO] [stdout] | while parsing the type for the binding [INFO] [stdout] | help: use `=` if you meant to assign [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `,` [INFO] [stdout] --> src/inflate/inftrees.rs:106:23 [INFO] [stdout] | [INFO] [stdout] 106 | static LBASE :[u16, ..31] = [ /* Length codes 257..285 base */ [INFO] [stdout] | ^ expected one of 7 possible tokens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `log` [INFO] [stdout] --> build.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate log; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::iter::range_inclusive` [INFO] [stdout] --> src/inflate/inftrees.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::iter::range_inclusive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `range_inclusive` in `iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `phase` in this scope [INFO] [stdout] --> build.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[phase(plugin, link)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/inflate/inftrees.rs:26:3 [INFO] [stdout] | [INFO] [stdout] 26 | #[deriving(Copy,Default)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `BufferedWriter` in `io` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/crc32-0.0.2/build.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | let mut outwr = io::BufferedWriter::new(outfile); [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `BufferedWriter` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/crc32-0.0.2/src/crc32gen.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | const TBLS : uint = 8; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/crc32-0.0.2/src/crc32gen.rs:41:40 [INFO] [stdout] | [INFO] [stdout] 41 | poly |= 1u32 << (31 - *term as uint); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/crc32-0.0.2/src/crc32gen.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | for n in range(0, 0x100) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/crc32-0.0.2/src/crc32gen.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 50 | for _ in range(0u, 8u) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/crc32-0.0.2/src/crc32gen.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 59 | for n in range(0, 0x100) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/crc32-0.0.2/src/crc32gen.rs:62:18 [INFO] [stdout] | [INFO] [stdout] 62 | for k in range(1, 3) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/crc32-0.0.2/src/crc32gen.rs:63:35 [INFO] [stdout] | [INFO] [stdout] 63 | c = crc_table[0][c as uint & 0xff] ^ (c >> 8); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/crc32-0.0.2/src/crc32gen.rs:95:14 [INFO] [stdout] | [INFO] [stdout] 95 | for k in range(1, 8) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/crc32-0.0.2/src/crc32gen.rs:107:14 [INFO] [stdout] | [INFO] [stdout] 107 | for n in range(0, 0x100) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/crc32-0.0.2/build.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | let outpath = Path::new(outfile_name); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `File` in `io` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/crc32-0.0.2/build.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | let outfile = io::File::create(&outpath); [INFO] [stdout] | ^^^^ could not find `File` in `io` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use std::fs::File; [INFO] [stdout] | [INFO] [stdout] help: if you import `File`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 18 - let outfile = io::File::create(&outpath); [INFO] [stdout] 18 + let outfile = File::create(&outpath); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Writer` in this scope [INFO] [stdout] --> build.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | fn makefixed(w: &mut Writer) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Code` [INFO] [stdout] --> build.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | let mut fixed: [Code, ..544] = [Default::default(); 544]; [INFO] [stdout] | ^^^^ help: use struct literal syntax instead: `Code { op: val, bits: val, val: val }` [INFO] [stdout] | [INFO] [stdout] ::: src/inflate/inftrees.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | / pub struct Code { [INFO] [stdout] 28 | | // operation, extra bits, table bits [INFO] [stdout] 29 | | // op values as set by inflate_table(): [INFO] [stdout] 30 | | // 00000000 - literal [INFO] [stdout] ... | [INFO] [stdout] 41 | | pub val: u16, [INFO] [stdout] 42 | | } [INFO] [stdout] | |_- `Code` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found builtin type `u16` [INFO] [stdout] --> build.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | let mut work: [u16, ..288] = [Default::default(); 288]; // work area for code table building [INFO] [stdout] | ^^^ not a value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found builtin type `u16` [INFO] [stdout] --> build.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | let mut lens: [u16, ..320] = [Default::default(); 320]; // temporary storage for code lengths [INFO] [stdout] | ^^^ not a value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> build.rs:42:22 [INFO] [stdout] | [INFO] [stdout] 42 | let mut sym :uint = 0; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> build.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 49 | let mut next :uint = 0; // index into 'fixed' table [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> build.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | let lenfix: uint = 0; // index into 'fixed' table [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> build.rs:56:22 [INFO] [stdout] | [INFO] [stdout] 56 | let mut sym :uint = 0; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> build.rs:59:18 [INFO] [stdout] | [INFO] [stdout] 59 | let distfix: uint = next; // index into 'fixed' table [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> build.rs:82:16 [INFO] [stdout] | [INFO] [stdout] 82 | for low in range(0, size) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 7 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> build.rs:92:16 [INFO] [stdout] | [INFO] [stdout] 92 | for low in range(0, size) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 7 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/inflate/inftrees.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 55 | pub const ENOUGH_LENS :uint = 852; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/inflate/inftrees.rs:56:25 [INFO] [stdout] | [INFO] [stdout] 56 | pub const ENOUGH_DISTS :uint = 592; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/inflate/inftrees.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | pub const ENOUGH :uint = ENOUGH_LENS + ENOUGH_DISTS; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/inflate/inftrees.rs:71:20 [INFO] [stdout] | [INFO] [stdout] 71 | pub const MAXBITS :uint = 15; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/inflate/inftrees.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | codes: uint, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/inflate/inftrees.rs:100:21 [INFO] [stdout] | [INFO] [stdout] 100 | table_pos: &mut uint, // index into 'table' [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/inflate/inftrees.rs:101:11 [INFO] [stdout] | [INFO] [stdout] 101 | bits: uint, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/inflate/inftrees.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | -> (int /*error*/, uint /*bits*/) [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/inflate/inftrees.rs:103:24 [INFO] [stdout] | [INFO] [stdout] 103 | -> (int /*error*/, uint /*bits*/) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> build.rs:114:20 [INFO] [stdout] | [INFO] [stdout] 114 | let gen_path = Path::new("src/inflate/inffixed.rs"); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `File` in `io` [INFO] [stdout] --> build.rs:115:28 [INFO] [stdout] | [INFO] [stdout] 115 | let mut gen_file = io::File::create(&gen_path); [INFO] [stdout] | ^^^^ could not find `File` in `io` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::fs::File; [INFO] [stdout] | [INFO] [stdout] help: if you import `File`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 115 - let mut gen_file = io::File::create(&gen_path); [INFO] [stdout] 115 + let mut gen_file = File::create(&gen_path); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Default` is imported redundantly [INFO] [stdout] --> build.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::default::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `phase` [INFO] [stdout] --> build.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(phase)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/crc32-0.0.2/src/crc32gen.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | for _ in range(0u, 8u) { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/crc32-0.0.2/src/crc32gen.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | for _ in range(0u, 8u) { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0527]: pattern requires 2 elements but array has 544 [INFO] [stdout] --> build.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | let mut fixed: [Code, ..544] = [Default::default(); 544]; [INFO] [stdout] | ^^^^^^^^^^^^^ expected 544 elements [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0070]: invalid left-hand side of assignment [INFO] [stdout] --> build.rs:31:34 [INFO] [stdout] | [INFO] [stdout] 31 | let mut fixed: [Code, ..544] = [Default::default(); 544]; [INFO] [stdout] | ----- ^ [INFO] [stdout] | | [INFO] [stdout] | cannot assign to this expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0527]: pattern requires 2 elements but array has 288 [INFO] [stdout] --> build.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 32 | let mut work: [u16, ..288] = [Default::default(); 288]; // work area for code table building [INFO] [stdout] | ^^^^^^^^^^^^ expected 288 elements [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0070]: invalid left-hand side of assignment [INFO] [stdout] --> build.rs:32:32 [INFO] [stdout] | [INFO] [stdout] 32 | let mut work: [u16, ..288] = [Default::default(); 288]; // work area for code table building [INFO] [stdout] | ----- ^ [INFO] [stdout] | | [INFO] [stdout] | cannot assign to this expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0527]: pattern requires 2 elements but array has 320 [INFO] [stdout] --> build.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | let mut lens: [u16, ..320] = [Default::default(); 320]; // temporary storage for code lengths [INFO] [stdout] | ^^^^^^^^^^^^ expected 320 elements [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0070]: invalid left-hand side of assignment [INFO] [stdout] --> build.rs:36:32 [INFO] [stdout] | [INFO] [stdout] 36 | let mut lens: [u16, ..320] = [Default::default(); 320]; // temporary storage for code lengths [INFO] [stdout] | ----- ^ [INFO] [stdout] | | [INFO] [stdout] | cannot assign to this expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/crc32-0.0.2/src/crc32gen.rs:111:25 [INFO] [stdout] | [INFO] [stdout] 111 | s.push_str(line.as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_mut_slice` found for unit type `()` in the current scope [INFO] [stdout] --> build.rs:51:83 [INFO] [stdout] | [INFO] [stdout] 51 | let (err, _) = inflate_table(LENS, &lens, 288, &mut fixed, &mut next, 9, work.as_mut_slice()); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> build.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 51 | let (err, _) = inflate_table(LENS, &lens, 288, &mut fixed, &mut next, 9, work.as_mut_slice()); [INFO] [stdout] | ^^^^^^^^^^^^^ ----- expected `&[u16]`, found `&()` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u16]` [INFO] [stdout] found reference `&()` [INFO] [stdout] note: expected `&mut [Code]`, found `&mut ()` [INFO] [stdout] --> build.rs:51:52 [INFO] [stdout] | [INFO] [stdout] 51 | let (err, _) = inflate_table(LENS, &lens, 288, &mut fixed, &mut next, 9, work.as_mut_slice()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: expected mutable reference `&mut [Code]` [INFO] [stdout] found mutable reference `&mut ()` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/inflate/inftrees.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn inflate_table( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 96 | ctype: CodeType, [INFO] [stdout] | --------------- [INFO] [stdout] 97 | lens: &[u16], [INFO] [stdout] | ------------ [INFO] [stdout] 98 | codes: uint, [INFO] [stdout] | ----------- [INFO] [stdout] 99 | table: &mut [Code], [INFO] [stdout] | ------------------ [INFO] [stdout] 100 | table_pos: &mut uint, // index into 'table' [INFO] [stdout] | -------------------- [INFO] [stdout] 101 | bits: uint, [INFO] [stdout] | ---------- [INFO] [stdout] 102 | work: &mut [u16]) [INFO] [stdout] | ---------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/crc32-0.0.2/build.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | outwr.write_str(s.as_slice()).unwrap(); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `crc32` (build script) due to 17 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `as_mut_slice` found for unit type `()` in the current scope [INFO] [stdout] --> build.rs:61:83 [INFO] [stdout] | [INFO] [stdout] 61 | let (err, _) = inflate_table(DISTS, &lens, 32, &mut fixed, &mut next, 5, work.as_mut_slice()); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> build.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 61 | let (err, _) = inflate_table(DISTS, &lens, 32, &mut fixed, &mut next, 5, work.as_mut_slice()); [INFO] [stdout] | ^^^^^^^^^^^^^ ----- expected `&[u16]`, found `&()` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u16]` [INFO] [stdout] found reference `&()` [INFO] [stdout] note: expected `&mut [Code]`, found `&mut ()` [INFO] [stdout] --> build.rs:61:52 [INFO] [stdout] | [INFO] [stdout] 61 | let (err, _) = inflate_table(DISTS, &lens, 32, &mut fixed, &mut next, 5, work.as_mut_slice()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: expected mutable reference `&mut [Code]` [INFO] [stdout] found mutable reference `&mut ()` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/inflate/inftrees.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn inflate_table( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 96 | ctype: CodeType, [INFO] [stdout] | --------------- [INFO] [stdout] 97 | lens: &[u16], [INFO] [stdout] | ------------ [INFO] [stdout] 98 | codes: uint, [INFO] [stdout] | ----------- [INFO] [stdout] 99 | table: &mut [Code], [INFO] [stdout] | ------------------ [INFO] [stdout] 100 | table_pos: &mut uint, // index into 'table' [INFO] [stdout] | -------------------- [INFO] [stdout] 101 | bits: uint, [INFO] [stdout] | ---------- [INFO] [stdout] 102 | work: &mut [u16]) [INFO] [stdout] | ---------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `slice_from` found for unit type `()` in the current scope [INFO] [stdout] --> build.rs:64:25 [INFO] [stdout] | [INFO] [stdout] 64 | let lencode = fixed.slice_from(lenfix); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `clone_from` with a similar name [INFO] [stdout] | [INFO] [stdout] 64 | let lencode = fixed.clone_from(lenfix); [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `slice_from` found for unit type `()` in the current scope [INFO] [stdout] --> build.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | let distcode = fixed.slice_from(distfix); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `clone_from` with a similar name [INFO] [stdout] | [INFO] [stdout] 66 | let distcode = fixed.clone_from(distfix); [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> build.rs:81:70 [INFO] [stdout] | [INFO] [stdout] 81 | w.write_str(format!("pub static LENFIX: [Code; {}] = [\n", size).as_slice()).unwrap(); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> build.rs:86:35 [INFO] [stdout] | [INFO] [stdout] 83 | w.write_str(format!(" Code {{ op: 0x{:02x}, bits: {:2}, val: 0x{:04x} }},\n", [INFO] [stdout] | _____________________- [INFO] [stdout] 84 | | if (low & 127) == 99 { 64 } else { lencode[low].op }, [INFO] [stdout] 85 | | lencode[low].bits, [INFO] [stdout] 86 | | lencode[low].val).as_slice()).unwrap(); [INFO] [stdout] | | -^^^^^^^^ method not found in `String` [INFO] [stdout] | |__________________________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> build.rs:91:71 [INFO] [stdout] | [INFO] [stdout] 91 | w.write_str(format!("pub static DISTFIX: [Code; {}] = [\n", size).as_slice()).unwrap(); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> build.rs:96:32 [INFO] [stdout] | [INFO] [stdout] 93 | w.write_str(format!(" Code {{ op: 0x{:02x}, bits: {:2}, val: 0x{:04x} }},\n", [INFO] [stdout] | _____________________- [INFO] [stdout] 94 | | distcode[low].op, [INFO] [stdout] 95 | | distcode[low].bits, [INFO] [stdout] 96 | | distcode[low].val).as_slice()).unwrap(); [INFO] [stdout] | | -^^^^^^^^ method not found in `String` [INFO] [stdout] | |_______________________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 47 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0070, E0308, E0412, E0423, E0425, E0432, E0433, E0463, E0527... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0070`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zlib` (build script) due to 48 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "b901ea59b61465bd6eddd62d5c0e43d8e2e561a80565f6dd3543b689865a655d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b901ea59b61465bd6eddd62d5c0e43d8e2e561a80565f6dd3543b689865a655d", kill_on_drop: false }` [INFO] [stdout] b901ea59b61465bd6eddd62d5c0e43d8e2e561a80565f6dd3543b689865a655d [INFO] checking zlib-0.0.1 against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] extracting crate zlib 0.0.1 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate zlib 0.0.1 on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate zlib 0.0.1 [INFO] finished tweaking crates.io crate zlib 0.0.1 [INFO] tweaked toml for crates.io crate zlib 0.0.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (crc32) specified without providing a local path, Git repository, version, or workspace dependency to use. This will be considered an error in future versions [INFO] [stderr] warning: unused manifest key: dependencies.crc32.crc32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c2256b8c3457e002505e9e945a8bb3f0393f4f626cccd752a3e78d1137a0cfb [INFO] running `Command { std: "docker" "start" "-a" "0c2256b8c3457e002505e9e945a8bb3f0393f4f626cccd752a3e78d1137a0cfb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c2256b8c3457e002505e9e945a8bb3f0393f4f626cccd752a3e78d1137a0cfb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c2256b8c3457e002505e9e945a8bb3f0393f4f626cccd752a3e78d1137a0cfb", kill_on_drop: false }` [INFO] [stdout] 0c2256b8c3457e002505e9e945a8bb3f0393f4f626cccd752a3e78d1137a0cfb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc210eccf3d6826e4ddbd09bd4db966ea02fb71bb983d70e7de66c1f936e6d35 [INFO] running `Command { std: "docker" "start" "-a" "bc210eccf3d6826e4ddbd09bd4db966ea02fb71bb983d70e7de66c1f936e6d35", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] no edition found in manifest, probably 2015, skipping [INFO] running `Command { std: "docker" "inspect" "bc210eccf3d6826e4ddbd09bd4db966ea02fb71bb983d70e7de66c1f936e6d35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc210eccf3d6826e4ddbd09bd4db966ea02fb71bb983d70e7de66c1f936e6d35", kill_on_drop: false }` [INFO] [stdout] bc210eccf3d6826e4ddbd09bd4db966ea02fb71bb983d70e7de66c1f936e6d35