[INFO] crate crc32 0.0.2 is already in cache
[INFO] checking crc32-0.0.2 against master#bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc for pr-70917
[INFO] extracting crate crc32 0.0.2 into /workspace/builds/worker-12/source
[INFO] validating manifest of crates.io crate crc32 0.0.2 on toolchain bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking crates.io crate crc32 0.0.2
[INFO] finished tweaking crates.io crate crc32 0.0.2
[INFO] tweaked toml for crates.io crate crc32 0.0.2 written to /workspace/builds/worker-12/source/Cargo.toml
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "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] 1a4d8cf3005386589653f0c6d5e07fb3210bd2a9944eaef65f2d035f752b187c
[INFO] running `"docker" "start" "-a" "1a4d8cf3005386589653f0c6d5e07fb3210bd2a9944eaef65f2d035f752b187c"`
[INFO] [stderr]    Compiling crc32 v0.0.2 (/opt/rustwide/workdir)
[INFO] [stderr] error: invalid suffix `u` for integer literal
[INFO] [stderr]   --> 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]   --> 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[E0433]: failed to resolve: use of undeclared type or module `Path`
[INFO] [stderr]   --> 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]   --> 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]   --> 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]  --> 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]   --> 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]   --> 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]   --> 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]   --> 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]   --> 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]   --> 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]   --> 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]    --> 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[E0599]: no method named `as_slice` found for struct `std::string::String` in the current scope
[INFO] [stderr]   --> 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[E0308]: mismatched types
[INFO] [stderr]   --> src/crc32gen.rs:45:48
[INFO] [stderr]    |
[INFO] [stderr] 45 |     let mut crc_table : [[u32; 0x100]; TBLS] = [[0; 0x100]; TBLS];
[INFO] [stderr]    |                         --------------------   ^^^^^^^^^^^^^^^^^^ expected `TBLS`, found `TBLS`
[INFO] [stderr]    |                         |
[INFO] [stderr]    |                         expected due to this
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected array `[[u32; 256]; _]`
[INFO] [stderr]               found array `[[u32; 256]; _]`
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]   --> src/crc32gen.rs:70:5
[INFO] [stderr]    |
[INFO] [stderr] 33 | pub fn make_crc_table() -> CrcTable
[INFO] [stderr]    |                            -------- expected `[[u32; 256]; _]` because of return type
[INFO] [stderr] ...
[INFO] [stderr] 70 |     crc_table
[INFO] [stderr]    |     ^^^^^^^^^ expected `TBLS`, found `TBLS`
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected array `[[u32; 256]; _]`
[INFO] [stderr]               found array `[[u32; 256]; _]`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `as_slice` found for struct `std::string::String` in the current scope
[INFO] [stderr]    --> 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 18 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0308, E0412, E0425, E0433, E0599.
[INFO] [stderr] For more information about an error, try `rustc --explain E0308`.
[INFO] [stderr] error: could not compile `crc32`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "1a4d8cf3005386589653f0c6d5e07fb3210bd2a9944eaef65f2d035f752b187c"`
[INFO] running `"docker" "rm" "-f" "1a4d8cf3005386589653f0c6d5e07fb3210bd2a9944eaef65f2d035f752b187c"`
[INFO] [stdout] 1a4d8cf3005386589653f0c6d5e07fb3210bd2a9944eaef65f2d035f752b187c
