[INFO] cloning repository https://github.com/planet0104/oracle-cmd [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/planet0104/oracle-cmd" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fplanet0104%2Foracle-cmd", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fplanet0104%2Foracle-cmd'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2e36b860eade07c7187d194123f44ef1e826e5ee [INFO] checking planet0104/oracle-cmd against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fplanet0104%2Foracle-cmd" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/planet0104/oracle-cmd on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/planet0104/oracle-cmd [INFO] finished tweaking git repo https://github.com/planet0104/oracle-cmd [INFO] tweaked toml for git repo https://github.com/planet0104/oracle-cmd written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/planet0104/oracle-cmd already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/kubo/rust-oracle` [INFO] [stderr] Updating git submodule `https://github.com/oracle/odpi` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rust-ini v0.13.0 [INFO] [stderr] Downloaded term v0.5.1 [INFO] [stderr] Downloaded serde v1.0.89 [INFO] [stderr] Downloaded encode_unicode v0.3.5 [INFO] [stderr] Downloaded try_from v0.2.2 [INFO] [stderr] Downloaded prettytable-rs v0.8.0 [INFO] [stderr] Downloaded csv-core v0.1.5 [INFO] [stderr] Downloaded csv v1.0.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0767f3f0ea35a7deb55197b0da7ab7b49bbef813d9167b8553537f3b7af1bea4 [INFO] running `Command { std: "docker" "start" "-a" "0767f3f0ea35a7deb55197b0da7ab7b49bbef813d9167b8553537f3b7af1bea4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0767f3f0ea35a7deb55197b0da7ab7b49bbef813d9167b8553537f3b7af1bea4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0767f3f0ea35a7deb55197b0da7ab7b49bbef813d9167b8553537f3b7af1bea4", kill_on_drop: false }` [INFO] [stdout] 0767f3f0ea35a7deb55197b0da7ab7b49bbef813d9167b8553537f3b7af1bea4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e34ca7f46adb194b8f8dbab100fddb9b11f5939ad548cab24097fb769bf09d0 [INFO] running `Command { std: "docker" "start" "-a" "4e34ca7f46adb194b8f8dbab100fddb9b11f5939ad548cab24097fb769bf09d0", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] libc v0.2.50: default, use_std [INFO] [stderr] winapi v0.3.6: consoleapi, fileapi, handleapi, minwinbase, minwindef, processenv, winbase, wincon [INFO] [stderr] [INFO] [stderr] Compiling libc v0.2.50 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling serde v1.0.89 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Compiling winapi v0.3.6 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking encode_unicode v0.3.5 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Checking try_from v0.2.2 [INFO] [stderr] Checking rust-ini v0.13.0 [INFO] [stderr] Checking term v0.5.1 [INFO] [stderr] Compiling oracle v0.3.0-dev (https://github.com/kubo/rust-oracle#090bde7a) [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking csv-core v0.1.5 [INFO] [stderr] Checking csv v1.0.5 [INFO] [stderr] Checking prettytable-rs v0.8.0 [INFO] [stderr] Checking oraclecmd v1.0.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::processenv::GetStdHandle; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::winbase::STD_OUTPUT_HANDLE; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::wincon::SetConsoleScreenBufferSize; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::wincon::COORD; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetStdHandle` in this scope [INFO] [stdout] --> src/main.rs:88:34 [INFO] [stdout] | [INFO] [stdout] 88 | let handle = GetStdHandle(STD_OUTPUT_HANDLE); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `STD_OUTPUT_HANDLE` in this scope [INFO] [stdout] --> src/main.rs:88:47 [INFO] [stdout] | [INFO] [stdout] 88 | let handle = GetStdHandle(STD_OUTPUT_HANDLE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetConsoleScreenBufferSize` in this scope [INFO] [stdout] --> src/main.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | SetConsoleScreenBufferSize(handle, COORD { X: 3000, Y: 800 }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `COORD` in this scope [INFO] [stdout] --> src/main.rs:89:56 [INFO] [stdout] | [INFO] [stdout] 89 | SetConsoleScreenBufferSize(handle, COORD { X: 3000, Y: 800 }); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:13:61 [INFO] [stdout] | [INFO] [stdout] 13 | let params = || -> Result<(String, String, String), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn bare-trait-objects` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:119:71 [INFO] [stdout] | [INFO] [stdout] 119 | fn execute(conn: &Connection, mut sql: Vec) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stderr] error: could not compile `oraclecmd` due to 9 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::processenv::GetStdHandle; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::winbase::STD_OUTPUT_HANDLE; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::wincon::SetConsoleScreenBufferSize; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::wincon::COORD; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetStdHandle` in this scope [INFO] [stdout] --> src/main.rs:88:34 [INFO] [stdout] | [INFO] [stdout] 88 | let handle = GetStdHandle(STD_OUTPUT_HANDLE); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `STD_OUTPUT_HANDLE` in this scope [INFO] [stdout] --> src/main.rs:88:47 [INFO] [stdout] | [INFO] [stdout] 88 | let handle = GetStdHandle(STD_OUTPUT_HANDLE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetConsoleScreenBufferSize` in this scope [INFO] [stdout] --> src/main.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | SetConsoleScreenBufferSize(handle, COORD { X: 3000, Y: 800 }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `COORD` in this scope [INFO] [stdout] --> src/main.rs:89:56 [INFO] [stdout] | [INFO] [stdout] 89 | SetConsoleScreenBufferSize(handle, COORD { X: 3000, Y: 800 }); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:13:61 [INFO] [stdout] | [INFO] [stdout] 13 | let params = || -> Result<(String, String, String), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn bare-trait-objects` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:119:71 [INFO] [stdout] | [INFO] [stdout] 119 | fn execute(conn: &Connection, mut sql: Vec) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "4e34ca7f46adb194b8f8dbab100fddb9b11f5939ad548cab24097fb769bf09d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e34ca7f46adb194b8f8dbab100fddb9b11f5939ad548cab24097fb769bf09d0", kill_on_drop: false }` [INFO] [stdout] 4e34ca7f46adb194b8f8dbab100fddb9b11f5939ad548cab24097fb769bf09d0