[INFO] fetching crate latin 0.1.7... [INFO] testing latin-0.1.7 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate latin 0.1.7 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate latin 0.1.7 [INFO] finished tweaking crates.io crate latin 0.1.7 [INFO] tweaked toml for crates.io crate latin 0.1.7 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate latin 0.1.7 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 003346cea4d3de255b393c29f116c6fa6d85207bb89582e00e08356bd4c31306 [INFO] running `Command { std: "docker" "start" "-a" "003346cea4d3de255b393c29f116c6fa6d85207bb89582e00e08356bd4c31306", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "003346cea4d3de255b393c29f116c6fa6d85207bb89582e00e08356bd4c31306", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "003346cea4d3de255b393c29f116c6fa6d85207bb89582e00e08356bd4c31306", kill_on_drop: false }` [INFO] [stdout] 003346cea4d3de255b393c29f116c6fa6d85207bb89582e00e08356bd4c31306 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 33fbf55e9bbf46884f45333e45d4a2c7b43fb2ba249f446a31f0a76304e76deb [INFO] running `Command { std: "docker" "start" "-a" "33fbf55e9bbf46884f45333e45d4a2c7b43fb2ba249f446a31f0a76304e76deb", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling latin v0.1.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | let file = try!(OpenOptions::new().write(true).create(true).truncate(true).open(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 43 | let file = try!(OpenOptions::new().write(true).create(true).truncate(true).open(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | try!(file.write_all(line.as_ref())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | try!(file.write_all(LINE_SEP)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 64 | let mut file = try!(OpenOptions::new().write(true).create(true).append(true).open(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | try!(file.write_all(contents.as_ref())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file.rs:83:20 [INFO] [stdout] | [INFO] [stdout] 83 | let mut file = try!(OpenOptions::new().write(true).create(true).append(true).open(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | try!(file.read_to_end(&mut out)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file.rs:99:16 [INFO] [stdout] | [INFO] [stdout] 99 | let file = try!(OpenOptions::new().read(true).open(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file.rs:154:16 [INFO] [stdout] | [INFO] [stdout] 154 | let file = try!(OpenOptions::new().read(true).open(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/directory.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | for entry in try!(read_dir(path)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/directory.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | let entry = try!(entry); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/directory.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 42 | for entry in try!(read_dir(path)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/directory.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | let entry = try!(entry); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/directory.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | if try!(entry.file_type()).is_file() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/directory.rs:62:18 [INFO] [stdout] | [INFO] [stdout] 62 | for entry in try!(read_dir(path)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/directory.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | let entry = try!(entry); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/directory.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | if try!(entry.file_type()).is_dir() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] running `Command { std: "docker" "inspect" "33fbf55e9bbf46884f45333e45d4a2c7b43fb2ba249f446a31f0a76304e76deb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33fbf55e9bbf46884f45333e45d4a2c7b43fb2ba249f446a31f0a76304e76deb", kill_on_drop: false }` [INFO] [stdout] 33fbf55e9bbf46884f45333e45d4a2c7b43fb2ba249f446a31f0a76304e76deb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ea29b5bd1bc8c29fc14b1ae28ef3d4319dc77531f67a162a34cc5f10277596e [INFO] running `Command { std: "docker" "start" "-a" "0ea29b5bd1bc8c29fc14b1ae28ef3d4319dc77531f67a162a34cc5f10277596e", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | let file = try!(OpenOptions::new().write(true).create(true).truncate(true).open(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling latin v0.1.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 43 | let file = try!(OpenOptions::new().write(true).create(true).truncate(true).open(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | try!(file.write_all(line.as_ref())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | try!(file.write_all(LINE_SEP)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 64 | let mut file = try!(OpenOptions::new().write(true).create(true).append(true).open(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | try!(file.write_all(contents.as_ref())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file.rs:83:20 [INFO] [stdout] | [INFO] [stdout] 83 | let mut file = try!(OpenOptions::new().write(true).create(true).append(true).open(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | try!(file.read_to_end(&mut out)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file.rs:99:16 [INFO] [stdout] | [INFO] [stdout] 99 | let file = try!(OpenOptions::new().read(true).open(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file.rs:154:16 [INFO] [stdout] | [INFO] [stdout] 154 | let file = try!(OpenOptions::new().read(true).open(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/directory.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | for entry in try!(read_dir(path)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/directory.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | let entry = try!(entry); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/directory.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 42 | for entry in try!(read_dir(path)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/directory.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | let entry = try!(entry); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/directory.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | if try!(entry.file_type()).is_file() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/directory.rs:62:18 [INFO] [stdout] | [INFO] [stdout] 62 | for entry in try!(read_dir(path)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/directory.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | let entry = try!(entry); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/directory.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | if try!(entry.file_type()).is_dir() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | let file = try!(OpenOptions::new().write(true).create(true).truncate(true).open(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 43 | let file = try!(OpenOptions::new().write(true).create(true).truncate(true).open(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | try!(file.write_all(line.as_ref())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | try!(file.write_all(LINE_SEP)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 64 | let mut file = try!(OpenOptions::new().write(true).create(true).append(true).open(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | try!(file.write_all(contents.as_ref())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file.rs:83:20 [INFO] [stdout] | [INFO] [stdout] 83 | let mut file = try!(OpenOptions::new().write(true).create(true).append(true).open(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | try!(file.read_to_end(&mut out)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file.rs:99:16 [INFO] [stdout] | [INFO] [stdout] 99 | let file = try!(OpenOptions::new().read(true).open(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file.rs:154:16 [INFO] [stdout] | [INFO] [stdout] 154 | let file = try!(OpenOptions::new().read(true).open(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/directory.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | for entry in try!(read_dir(path)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/directory.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | let entry = try!(entry); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/directory.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 42 | for entry in try!(read_dir(path)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/directory.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | let entry = try!(entry); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/directory.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | if try!(entry.file_type()).is_file() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/directory.rs:62:18 [INFO] [stdout] | [INFO] [stdout] 62 | for entry in try!(read_dir(path)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/directory.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | let entry = try!(entry); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/directory.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | if try!(entry.file_type()).is_dir() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] running `Command { std: "docker" "inspect" "0ea29b5bd1bc8c29fc14b1ae28ef3d4319dc77531f67a162a34cc5f10277596e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ea29b5bd1bc8c29fc14b1ae28ef3d4319dc77531f67a162a34cc5f10277596e", kill_on_drop: false }` [INFO] [stdout] 0ea29b5bd1bc8c29fc14b1ae28ef3d4319dc77531f67a162a34cc5f10277596e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 625e9c3b6b7884fd515f8703084535b8bc6ab8938437962a3575aa5a500090cd [INFO] running `Command { std: "docker" "start" "-a" "625e9c3b6b7884fd515f8703084535b8bc6ab8938437962a3575aa5a500090cd", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/file.rs:27:16 [INFO] [stderr] | [INFO] [stderr] 27 | let file = try!(OpenOptions::new().write(true).create(true).truncate(true).open(path)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/file.rs:43:16 [INFO] [stderr] | [INFO] [stderr] 43 | let file = try!(OpenOptions::new().write(true).create(true).truncate(true).open(path)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/file.rs:46:9 [INFO] [stderr] | [INFO] [stderr] 46 | try!(file.write_all(line.as_ref())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/file.rs:47:9 [INFO] [stderr] | [INFO] [stderr] 47 | try!(file.write_all(LINE_SEP)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/file.rs:64:20 [INFO] [stderr] | [INFO] [stderr] 64 | let mut file = try!(OpenOptions::new().write(true).create(true).append(true).open(path)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/file.rs:84:5 [INFO] [stderr] | [INFO] [stderr] 84 | try!(file.write_all(contents.as_ref())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/file.rs:83:20 [INFO] [stderr] | [INFO] [stderr] 83 | let mut file = try!(OpenOptions::new().write(true).create(true).append(true).open(path)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/file.rs:102:5 [INFO] [stderr] | [INFO] [stderr] 102 | try!(file.read_to_end(&mut out)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/file.rs:99:16 [INFO] [stderr] | [INFO] [stderr] 99 | let file = try!(OpenOptions::new().read(true).open(path)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/file.rs:154:16 [INFO] [stderr] | [INFO] [stderr] 154 | let file = try!(OpenOptions::new().read(true).open(path)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/directory.rs:24:18 [INFO] [stderr] | [INFO] [stderr] 24 | for entry in try!(read_dir(path)) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/directory.rs:25:21 [INFO] [stderr] | [INFO] [stderr] 25 | let entry = try!(entry); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/directory.rs:42:18 [INFO] [stderr] | [INFO] [stderr] 42 | for entry in try!(read_dir(path)) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/directory.rs:43:21 [INFO] [stderr] | [INFO] [stderr] 43 | let entry = try!(entry); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/directory.rs:46:12 [INFO] [stderr] | [INFO] [stderr] 46 | if try!(entry.file_type()).is_file() { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/directory.rs:62:18 [INFO] [stderr] | [INFO] [stderr] 62 | for entry in try!(read_dir(path)) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/directory.rs:63:21 [INFO] [stderr] | [INFO] [stderr] 63 | let entry = try!(entry); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/directory.rs:66:12 [INFO] [stderr] | [INFO] [stderr] 66 | if try!(entry.file_type()).is_dir() { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `latin` (lib) generated 18 warnings [INFO] [stderr] warning: `latin` (lib test) generated 18 warnings (18 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/latin-61d9c9fe48571163) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests latin [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test src/directory.rs - directory::exists (line 7) - compile ... ok [INFO] [stdout] test src/directory.rs - directory::sub_directories (line 55) - compile ... FAILED [INFO] [stdout] test src/directory.rs - directory::children (line 18) - compile ... ok [INFO] [stdout] test src/file.rs - file::read_string_utf8_lossy (line 132) - compile ... ok [INFO] [stdout] test src/file.rs - file::read_lines (line 148) - compile ... ok [INFO] [stdout] test src/file.rs - file::remove (line 187) - compile ... ok [INFO] [stdout] test src/file.rs - file::exists (line 161) - compile ... ok [INFO] [stdout] test src/directory.rs - directory::files (line 33) - compile ... ok [INFO] [stdout] test src/file.rs - file::write_lines (line 37) - compile ... ok [INFO] [stdout] test src/file.rs - file::copy (line 175) - compile ... ok [INFO] [stdout] test src/file.rs - file::write (line 20) - compile ... ok [INFO] [stdout] test src/file.rs - file::read (line 92) - compile ... ok [INFO] [stdout] test src/file.rs - file::append (line 57) - compile ... ok [INFO] [stdout] test src/directory.rs - directory::remove (line 75) - compile ... ok [INFO] [stdout] test src/file.rs - file::read_string_utf8 (line 111) - compile ... ok [INFO] [stdout] test src/file.rs - file::append_line (line 76) - compile ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/directory.rs - directory::sub_directories (line 55) stdout ---- [INFO] [stdout] error[E0382]: borrow of moved value: `subdir` [INFO] [stdout] --> src/directory.rs:59:26 [INFO] [stdout] | [INFO] [stdout] 5 | for subdir in latin::directory::sub_directories("./").unwrap() { [INFO] [stdout] | ------ move occurs because `subdir` has type `PathBuf`, which does not implement the `Copy` trait [INFO] [stdout] 6 | let children_count = latin::directory::children(subdir).unwrap().count(); [INFO] [stdout] | ------ value moved here [INFO] [stdout] 7 | println!("{:?}: {}", subdir, children_count); [INFO] [stdout] | ^^^^^^ value borrowed here after move [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider borrowing `subdir` [INFO] [stdout] | [INFO] [stdout] 6 | let children_count = latin::directory::children(&subdir).unwrap().count(); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0382`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/directory.rs - directory::sub_directories (line 55) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 15 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.24s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "625e9c3b6b7884fd515f8703084535b8bc6ab8938437962a3575aa5a500090cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "625e9c3b6b7884fd515f8703084535b8bc6ab8938437962a3575aa5a500090cd", kill_on_drop: false }` [INFO] [stdout] 625e9c3b6b7884fd515f8703084535b8bc6ab8938437962a3575aa5a500090cd