[INFO] crate crc32 0.0.2 is already in cache [INFO] extracting crate crc32 0.0.2 into work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/reg/crc32/0.0.2 [INFO] extracting crate crc32 0.0.2 into work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/reg/crc32/0.0.2 [INFO] validating manifest of crc32-0.0.2 on toolchain master#60960a260f7b5c695fd0717311d72ce62dd4eb43 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of crc32-0.0.2 on toolchain try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing crc32-0.0.2 [INFO] finished frobbing crc32-0.0.2 [INFO] frobbed toml for crc32-0.0.2 written to work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/reg/crc32/0.0.2/Cargo.toml [INFO] started frobbing crc32-0.0.2 [INFO] finished frobbing crc32-0.0.2 [INFO] frobbed toml for crc32-0.0.2 written to work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/reg/crc32/0.0.2/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking crc32-0.0.2 against try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 for pr-63376 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-63376/worker-5/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/reg/crc32/0.0.2:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 46b52b6bdc1b7665e654d7b6e6ccb5b9574af397279b047ba126c0d97f5f0d15 [INFO] running `"docker" "start" "-a" "46b52b6bdc1b7665e654d7b6e6ccb5b9574af397279b047ba126c0d97f5f0d15"` [INFO] [stderr] Compiling crc32 v0.0.2 (/opt/crater/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 type `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] | ^^^^^^^^ [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 type `[[u32; 256]; _]` [INFO] [stderr] found type `[[u32; 256]; _]` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `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] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 17 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" "46b52b6bdc1b7665e654d7b6e6ccb5b9574af397279b047ba126c0d97f5f0d15"` [INFO] running `"docker" "rm" "-f" "46b52b6bdc1b7665e654d7b6e6ccb5b9574af397279b047ba126c0d97f5f0d15"` [INFO] [stdout] 46b52b6bdc1b7665e654d7b6e6ccb5b9574af397279b047ba126c0d97f5f0d15