[INFO] crate zlib 0.0.1 is already in cache [INFO] checking zlib-0.0.1 against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] extracting crate zlib 0.0.1 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate zlib 0.0.1 on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [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-2/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [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] running `"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=forbid" "-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" "/opt/rustwide/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7993768fbd77fa793b232965549407b0c73b1d9d3d2c2f6271f9c4e8a933b03a [INFO] running `"docker" "start" "-a" "7993768fbd77fa793b232965549407b0c73b1d9d3d2c2f6271f9c4e8a933b03a"` [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] [stderr] error: expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `,` [INFO] [stderr] --> build.rs:31:25 [INFO] [stderr] | [INFO] [stderr] 31 | let mut fixed: [Code, ..544] = [Default::default(); 544]; [INFO] [stderr] | ---------- ^ expected one of 7 possible tokens [INFO] [stderr] | | | [INFO] [stderr] | | help: use `=` if you meant to assign [INFO] [stderr] | while parsing the type for `mut fixed` [INFO] [stderr] [INFO] [stderr] error: expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `,` [INFO] [stderr] --> build.rs:32:23 [INFO] [stderr] | [INFO] [stderr] 32 | let mut work: [u16, ..288] = [Default::default(); 288]; // work area for code table building [INFO] [stderr] | --------- ^ expected one of 7 possible tokens [INFO] [stderr] | | | [INFO] [stderr] | | help: use `=` if you meant to assign [INFO] [stderr] | while parsing the type for `mut work` [INFO] [stderr] [INFO] [stderr] error: expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `,` [INFO] [stderr] --> build.rs:36:23 [INFO] [stderr] | [INFO] [stderr] 36 | let mut lens: [u16, ..320] = [Default::default(); 320]; // temporary storage for code lengths [INFO] [stderr] | --------- ^ expected one of 7 possible tokens [INFO] [stderr] | | | [INFO] [stderr] | | help: use `=` if you meant to assign [INFO] [stderr] | while parsing the type for `mut lens` [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/crc32-0.0.2/src/crc32gen.rs:50:24 [INFO] [stderr] | [INFO] [stderr] 50 | for _ in range(0u, 8u) { [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/crc32-0.0.2/src/crc32gen.rs:50:28 [INFO] [stderr] | [INFO] [stderr] 50 | for _ in range(0u, 8u) { [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `,` [INFO] [stderr] --> src/inflate/inftrees.rs:106:23 [INFO] [stderr] | [INFO] [stderr] 106 | static LBASE :[u16, ..31] = [ /* Length codes 257..285 base */ [INFO] [stderr] | ^ expected one of 7 possible tokens [INFO] [stderr] [INFO] [stderr] error[E0463]: can't find crate for `log` [INFO] [stderr] --> build.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | extern crate log; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/crc32-0.0.2/build.rs:16:19 [INFO] [stderr] | [INFO] [stderr] 16 | let outpath = Path::new(outfile_name); [INFO] [stderr] | ^^^^ use of undeclared type or module `Path` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `File` in `io` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/crc32-0.0.2/build.rs:18:23 [INFO] [stderr] | [INFO] [stderr] 18 | let outfile = io::File::create(&outpath); [INFO] [stderr] | ^^^^ could not find `File` in `io` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `BufferedWriter` in `io` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/crc32-0.0.2/build.rs:19:25 [INFO] [stderr] | [INFO] [stderr] 19 | let mut outwr = io::BufferedWriter::new(outfile); [INFO] [stderr] | ^^^^^^^^^^^^^^ could not find `BufferedWriter` in `io` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/crc32-0.0.2/src/crc32gen.rs:2:14 [INFO] [stderr] | [INFO] [stderr] 2 | const TBLS : uint = 8; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/crc32-0.0.2/src/crc32gen.rs:41:40 [INFO] [stderr] | [INFO] [stderr] 41 | poly |= 1u32 << (31 - *term as uint); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/crc32-0.0.2/src/crc32gen.rs:48:14 [INFO] [stderr] | [INFO] [stderr] 48 | for n in range(0, 0x100) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/crc32-0.0.2/src/crc32gen.rs:50:18 [INFO] [stderr] | [INFO] [stderr] 50 | for _ in range(0u, 8u) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/crc32-0.0.2/src/crc32gen.rs:59:14 [INFO] [stderr] | [INFO] [stderr] 59 | for n in range(0, 0x100) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/crc32-0.0.2/src/crc32gen.rs:62:18 [INFO] [stderr] | [INFO] [stderr] 62 | for k in range(1, 3) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/crc32-0.0.2/src/crc32gen.rs:63:35 [INFO] [stderr] | [INFO] [stderr] 63 | c = crc_table[0][c as uint & 0xff] ^ (c >> 8); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/crc32-0.0.2/src/crc32gen.rs:95:14 [INFO] [stderr] | [INFO] [stderr] 95 | for k in range(1, 8) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/crc32-0.0.2/src/crc32gen.rs:107:14 [INFO] [stderr] | [INFO] [stderr] 107 | for n in range(0, 0x100) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0463`. [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] [stderr] error[E0599]: no method named `as_slice` found for struct `std::string::String` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/crc32-0.0.2/build.rs:21:23 [INFO] [stderr] | [INFO] [stderr] 21 | outwr.write_str(s.as_slice()).unwrap(); [INFO] [stderr] | ^^^^^^^^ method not found in `std::string::String` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for struct `std::string::String` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/crc32-0.0.2/src/crc32gen.rs:111:25 [INFO] [stderr] | [INFO] [stderr] 111 | s.push_str(line.as_slice()); [INFO] [stderr] | ^^^^^^^^ method not found in `std::string::String` [INFO] [stderr] [INFO] [stderr] error: aborting due to 16 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `crc32`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "7993768fbd77fa793b232965549407b0c73b1d9d3d2c2f6271f9c4e8a933b03a"` [INFO] running `"docker" "rm" "-f" "7993768fbd77fa793b232965549407b0c73b1d9d3d2c2f6271f9c4e8a933b03a"` [INFO] [stdout] 7993768fbd77fa793b232965549407b0c73b1d9d3d2c2f6271f9c4e8a933b03a