[INFO] fetching crate zlib 0.0.1... [INFO] checking zlib-0.0.1 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate zlib 0.0.1 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate zlib 0.0.1 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (crc32) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: unused manifest key: dependencies.crc32.crc32 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cbbfcc6987ccdfc11e728d4a906cdac54c7b494218c475c735a037f80074ba21 [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" "cbbfcc6987ccdfc11e728d4a906cdac54c7b494218c475c735a037f80074ba21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cbbfcc6987ccdfc11e728d4a906cdac54c7b494218c475c735a037f80074ba21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbbfcc6987ccdfc11e728d4a906cdac54c7b494218c475c735a037f80074ba21", kill_on_drop: false }` [INFO] [stdout] cbbfcc6987ccdfc11e728d4a906cdac54c7b494218c475c735a037f80074ba21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 773b272b969feb63360c88ddbf0be99bc8d00b6966ade26bea838e8c47cd7802 [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" "773b272b969feb63360c88ddbf0be99bc8d00b6966ade26bea838e8c47cd7802", kill_on_drop: false }` [INFO] [stderr] warning: dependency (crc32) specified without providing a local path, Git repository, or version 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: invalid suffix `u` for number literal [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/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/github.com-1ecc6299db9ec823/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: 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] | | help: use `=` if you meant to assign [INFO] [stdout] | while parsing the type for `mut fixed` [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] | | help: use `=` if you meant to assign [INFO] [stdout] | while parsing the type for `mut work` [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] | | help: use `=` if you meant to assign [INFO] [stdout] | while parsing the type for `mut lens` [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: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zlib` [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] [stdout] error[E0433]: failed to resolve: could not find `BufferedWriter` in `io` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/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/github.com-1ecc6299db9ec823/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/github.com-1ecc6299db9ec823/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/github.com-1ecc6299db9ec823/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/github.com-1ecc6299db9ec823/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/github.com-1ecc6299db9ec823/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/github.com-1ecc6299db9ec823/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/github.com-1ecc6299db9ec823/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/github.com-1ecc6299db9ec823/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/github.com-1ecc6299db9ec823/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/github.com-1ecc6299db9ec823/crc32-0.0.2/build.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | let outpath = Path::new(outfile_name); [INFO] [stdout] | ^^^^ not found in this scope [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/github.com-1ecc6299db9ec823/crc32-0.0.2/build.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | let outfile = io::File::create(&outpath); [INFO] [stdout] | ^^^^ not found in `io` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs::File; [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/github.com-1ecc6299db9ec823/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[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/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: 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: build failed [INFO] running `Command { std: "docker" "inspect" "773b272b969feb63360c88ddbf0be99bc8d00b6966ade26bea838e8c47cd7802", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "773b272b969feb63360c88ddbf0be99bc8d00b6966ade26bea838e8c47cd7802", kill_on_drop: false }` [INFO] [stdout] 773b272b969feb63360c88ddbf0be99bc8d00b6966ade26bea838e8c47cd7802