[INFO] cloning repository https://github.com/cloudbase/rct-service [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cloudbase/rct-service" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcloudbase%2Frct-service", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcloudbase%2Frct-service'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4ad215ce3834f530cd1f8d5e4260a2cb4d95137d [INFO] testing cloudbase/rct-service against master#62efba8a050c64249dab942951bb28f710208bc8 for pr-90799 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcloudbase%2Frct-service" "/workspace/builds/worker-67/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-67/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cloudbase/rct-service on toolchain 62efba8a050c64249dab942951bb28f710208bc8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-67/source/.cargo/config [INFO] started tweaking git repo https://github.com/cloudbase/rct-service [INFO] finished tweaking git repo https://github.com/cloudbase/rct-service [INFO] tweaked toml for git repo https://github.com/cloudbase/rct-service written to /workspace/builds/worker-67/source/Cargo.toml [INFO] crate git repo https://github.com/cloudbase/rct-service already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rocket v0.4.1 [INFO] [stderr] Downloaded mio-extras v2.0.5 [INFO] [stderr] Downloaded rocket_contrib v0.4.1 [INFO] [stderr] Downloaded rocket_http v0.4.1 [INFO] [stderr] Downloaded syn v0.15.34 [INFO] [stderr] Downloaded devise v0.2.0 [INFO] [stderr] Downloaded rocket_codegen v0.4.1 [INFO] [stderr] Downloaded webpki-roots v0.15.0 [INFO] [stderr] Downloaded devise_core v0.2.0 [INFO] [stderr] Downloaded filetime v0.2.6 [INFO] [stderr] Downloaded inotify v0.6.1 [INFO] [stderr] Downloaded mio v0.6.17 [INFO] [stderr] Downloaded devise_codegen v0.2.0 [INFO] [stderr] Downloaded serde v1.0.91 [INFO] [stderr] Downloaded sct v0.4.0 [INFO] [stderr] Downloaded pear v0.1.2 [INFO] [stderr] Downloaded cookie v0.11.1 [INFO] [stderr] Downloaded hyper-sync-rustls v0.3.0-rc.4 [INFO] [stderr] Downloaded pear_codegen v0.1.2 [INFO] [stderr] Downloaded webpki v0.18.1 [INFO] [stderr] Downloaded serde_derive v1.0.91 [INFO] [stderr] Downloaded libc v0.2.54 [INFO] [stderr] Downloaded untrusted v0.6.2 [INFO] [stderr] Downloaded notify v4.0.11 [INFO] [stderr] Downloaded ring v0.13.5 [INFO] [stderr] Downloaded rustls v0.14.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-67/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-67/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2f36fd62330507c520050384ef5cdd76d065238712877e1a35a53d837a183070 [INFO] running `Command { std: "docker" "start" "-a" "2f36fd62330507c520050384ef5cdd76d065238712877e1a35a53d837a183070", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2f36fd62330507c520050384ef5cdd76d065238712877e1a35a53d837a183070", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f36fd62330507c520050384ef5cdd76d065238712877e1a35a53d837a183070", kill_on_drop: false }` [INFO] [stdout] 2f36fd62330507c520050384ef5cdd76d065238712877e1a35a53d837a183070 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-67/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-67/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 67aeb6c5da05d8f4d0c593b437cf88b063b26e9bd244b44e9d8bd94e089eb0ab [INFO] running `Command { std: "docker" "start" "-a" "67aeb6c5da05d8f4d0c593b437cf88b063b26e9bd244b44e9d8bd94e089eb0ab", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.54 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling syn v0.15.34 [INFO] [stderr] Compiling cc v1.0.37 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling untrusted v0.6.2 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling smallvec v0.6.9 [INFO] [stderr] Compiling safemem v0.3.0 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling httparse v1.3.3 [INFO] [stderr] Compiling yansi v0.4.0 [INFO] [stderr] Compiling serde v1.0.91 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling ryu v0.2.8 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling state v0.4.1 [INFO] [stderr] Compiling indexmap v1.0.2 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling same-file v1.0.4 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling ring v0.13.5 [INFO] [stderr] Compiling walkdir v2.2.7 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling devise_core v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.91 [INFO] [stderr] Compiling rocket_codegen v0.4.1 [INFO] [stderr] Compiling rocket v0.4.1 [INFO] [stderr] Compiling pear_codegen v0.1.2 [INFO] [stderr] Compiling unicode-normalization v0.1.8 [INFO] [stderr] Compiling serde_json v1.0.39 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling num_cpus v1.10.0 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling inotify-sys v0.1.3 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling filetime v0.2.6 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling inotify v0.6.1 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling devise_codegen v0.2.0 [INFO] [stderr] Compiling mio v0.6.17 [INFO] [stderr] Compiling pear v0.1.2 [INFO] [stderr] Compiling devise v0.2.0 [INFO] [stderr] Compiling webpki v0.18.1 [INFO] [stderr] Compiling sct v0.4.0 [INFO] [stderr] Compiling rctlib v0.1.0 (/opt/rustwide/workdir/rctlib) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> rctlib/src/lib.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | use std::os::windows::prelude::*; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> rctlib/src/lib.rs:145:17 [INFO] [stdout] | [INFO] [stdout] 145 | ) -> Result<(Vec), VirtualDiskError> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 145 - ) -> Result<(Vec), VirtualDiskError> { [INFO] [stdout] 145 + ) -> Result, VirtualDiskError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling url v1.7.2 [INFO] [stdout] warning: use of calling convention not supported on this target [INFO] [stdout] --> rctlib/src/virtdisk.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 220 | / extern "stdcall" { [INFO] [stdout] 221 | | pub fn CloseHandle(hObject: HANDLE) -> BOOL; [INFO] [stdout] 222 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unsupported_calling_conventions)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #87678 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of calling convention not supported on this target [INFO] [stdout] --> rctlib/src/virtdisk.rs:585:1 [INFO] [stdout] | [INFO] [stdout] 585 | / extern "stdcall" { [INFO] [stdout] 586 | | pub fn OpenVirtualDisk( [INFO] [stdout] 587 | | VirtualStorageType: PVIRTUAL_STORAGE_TYPE, [INFO] [stdout] 588 | | Path: PCWSTR, [INFO] [stdout] ... | [INFO] [stdout] 593 | | ) -> DWORD; [INFO] [stdout] 594 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #87678 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of calling convention not supported on this target [INFO] [stdout] --> rctlib/src/virtdisk.rs:724:1 [INFO] [stdout] | [INFO] [stdout] 724 | / extern "stdcall" { [INFO] [stdout] 725 | | pub fn AttachVirtualDisk( [INFO] [stdout] 726 | | VirtualDiskHandle: HANDLE, [INFO] [stdout] 727 | | SecurityDescriptor: PSECURITY_DESCRIPTOR, [INFO] [stdout] ... | [INFO] [stdout] 732 | | ) -> DWORD; [INFO] [stdout] 733 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #87678 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of calling convention not supported on this target [INFO] [stdout] --> rctlib/src/virtdisk.rs:736:1 [INFO] [stdout] | [INFO] [stdout] 736 | / extern "stdcall" { [INFO] [stdout] 737 | | pub fn GetVirtualDiskPhysicalPath( [INFO] [stdout] 738 | | VirtualDiskHandle: HANDLE, [INFO] [stdout] 739 | | DiskPathSizeInBytes: PULONG, [INFO] [stdout] 740 | | DiskPath: PWSTR, [INFO] [stdout] 741 | | ) -> DWORD; [INFO] [stdout] 742 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #87678 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of calling convention not supported on this target [INFO] [stdout] --> rctlib/src/virtdisk.rs:1303:1 [INFO] [stdout] | [INFO] [stdout] 1303 | / extern "stdcall" { [INFO] [stdout] 1304 | | pub fn GetVirtualDiskInformation( [INFO] [stdout] 1305 | | VirtualDiskHandle: HANDLE, [INFO] [stdout] 1306 | | VirtualDiskInfoSize: PULONG, [INFO] [stdout] ... | [INFO] [stdout] 1309 | | ) -> DWORD; [INFO] [stdout] 1310 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #87678 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of calling convention not supported on this target [INFO] [stdout] --> rctlib/src/virtdisk.rs:1584:1 [INFO] [stdout] | [INFO] [stdout] 1584 | / extern "stdcall" { [INFO] [stdout] 1585 | | pub fn SetVirtualDiskInformation( [INFO] [stdout] 1586 | | VirtualDiskHandle: HANDLE, [INFO] [stdout] 1587 | | VirtualDiskInfo: PSET_VIRTUAL_DISK_INFO, [INFO] [stdout] 1588 | | ) -> DWORD; [INFO] [stdout] 1589 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #87678 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of calling convention not supported on this target [INFO] [stdout] --> rctlib/src/virtdisk.rs:1659:1 [INFO] [stdout] | [INFO] [stdout] 1659 | / extern "stdcall" { [INFO] [stdout] 1660 | | pub fn QueryChangesVirtualDisk( [INFO] [stdout] 1661 | | VirtualDiskHandle: HANDLE, [INFO] [stdout] 1662 | | ChangeTrackingId: PCWSTR, [INFO] [stdout] ... | [INFO] [stdout] 1669 | | ) -> DWORD; [INFO] [stdout] 1670 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #87678 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> rctlib/src/lib.rs:77:10 [INFO] [stdout] | [INFO] [stdout] 77 | .encode_wide() [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> rctlib/src/lib.rs:86:15 [INFO] [stdout] | [INFO] [stdout] 86 | OsString::from_wide(slice).into_string().unwrap() [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> rctlib/src/lib.rs:232:12 [INFO] [stdout] | [INFO] [stdout] 232 | Ok(virtual_storage_type) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `u64` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u64` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 232 | Ok(virtual_storage_type.try_into().unwrap()) [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> rctlib/src/lib.rs:241:12 [INFO] [stdout] | [INFO] [stdout] 241 | Ok(provider_sub_type) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u32`, found `u64` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u64` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 241 | Ok(provider_sub_type.try_into().unwrap()) [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rctlib` due to 6 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "67aeb6c5da05d8f4d0c593b437cf88b063b26e9bd244b44e9d8bd94e089eb0ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67aeb6c5da05d8f4d0c593b437cf88b063b26e9bd244b44e9d8bd94e089eb0ab", kill_on_drop: false }` [INFO] [stdout] 67aeb6c5da05d8f4d0c593b437cf88b063b26e9bd244b44e9d8bd94e089eb0ab