[INFO] fetching crate crc32 0.0.2...
[INFO] testing crc32-0.0.2 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7
[INFO] extracting crate crc32 0.0.2 into /workspace/builds/worker-4-tc2/source
[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-4-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate crc32 0.0.2 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] cbea52f29c6d45adb098e8388cb7ee1f9e5a0fd3c301a124e501a7c5f7c4f8aa
[INFO] running `Command { std: "docker" "start" "-a" "cbea52f29c6d45adb098e8388cb7ee1f9e5a0fd3c301a124e501a7c5f7c4f8aa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cbea52f29c6d45adb098e8388cb7ee1f9e5a0fd3c301a124e501a7c5f7c4f8aa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cbea52f29c6d45adb098e8388cb7ee1f9e5a0fd3c301a124e501a7c5f7c4f8aa", kill_on_drop: false }`
[INFO] [stdout] cbea52f29c6d45adb098e8388cb7ee1f9e5a0fd3c301a124e501a7c5f7c4f8aa
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b9b1deb477d04578ed3526dea8bddf73707a58eae0f6bc26726fea0d225ee57c
[INFO] running `Command { std: "docker" "start" "-a" "b9b1deb477d04578ed3526dea8bddf73707a58eae0f6bc26726fea0d225ee57c", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling crc32 v0.0.2 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `BufferedWriter` in `io`
[INFO] [stdout]   --> 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]  --> 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]   --> 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]   --> 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]   --> 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]   --> 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]   --> 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]   --> 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]   --> 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]    --> 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]   --> build.rs:16:19
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let outpath = Path::new(outfile_name);
[INFO] [stdout]    |                   ^^^^ use of undeclared type `Path`
[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]   --> build.rs:18:23
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let outfile = io::File::create(&outpath);
[INFO] [stdout]    |                       ^^^^ could not find `File` in `io`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  3 + use std::fs::File;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `File`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 18 -     let outfile = io::File::create(&outpath);
[INFO] [stdout] 18 +     let outfile = File::create(&outpath);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `u` for number literal
[INFO] [stdout]   --> 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]   --> 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] [stderr] error: could not compile `crc32` (build script) due to 16 previous errors
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]    --> 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[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> 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] 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] running `Command { std: "docker" "inspect" "b9b1deb477d04578ed3526dea8bddf73707a58eae0f6bc26726fea0d225ee57c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b9b1deb477d04578ed3526dea8bddf73707a58eae0f6bc26726fea0d225ee57c", kill_on_drop: false }`
[INFO] [stdout] b9b1deb477d04578ed3526dea8bddf73707a58eae0f6bc26726fea0d225ee57c
