[INFO] fetching crate crc32 0.0.2... [INFO] checking crc32-0.0.2 against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] extracting crate crc32 0.0.2 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate crc32 0.0.2 on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "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-0/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] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] 4b437a5bed23ecb411093d7df1ebadfa19622b9a75ec4f59d074b7d2b9ae6ae6 [INFO] running `"docker" "start" "-a" "4b437a5bed23ecb411093d7df1ebadfa19622b9a75ec4f59d074b7d2b9ae6ae6"` [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[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 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" "4b437a5bed23ecb411093d7df1ebadfa19622b9a75ec4f59d074b7d2b9ae6ae6"` [INFO] running `"docker" "rm" "-f" "4b437a5bed23ecb411093d7df1ebadfa19622b9a75ec4f59d074b7d2b9ae6ae6"` [INFO] [stdout] 4b437a5bed23ecb411093d7df1ebadfa19622b9a75ec4f59d074b7d2b9ae6ae6