[INFO] cloning repository https://github.com/Trattue/proc-experiments [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Trattue/proc-experiments" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTrattue%2Fproc-experiments", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTrattue%2Fproc-experiments'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a6fe3c759db1017b98391996ca680df8bec18011 [INFO] checking Trattue/proc-experiments/a6fe3c759db1017b98391996ca680df8bec18011 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTrattue%2Fproc-experiments" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Trattue/proc-experiments on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Trattue/proc-experiments [INFO] finished tweaking git repo https://github.com/Trattue/proc-experiments [INFO] tweaked toml for git repo https://github.com/Trattue/proc-experiments written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Trattue/proc-experiments already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crossterm_terminal v0.1.0 [INFO] [stderr] Downloaded crossterm_utils v0.1.0 [INFO] [stderr] Downloaded crossterm_screen v0.1.0 [INFO] [stderr] Downloaded windows_macros v0.7.0 [INFO] [stderr] Downloaded crossterm_style v0.2.0 [INFO] [stderr] Downloaded crossterm_cursor v0.1.0 [INFO] [stderr] Downloaded crossterm_winapi v0.1.5 [INFO] [stderr] Downloaded const-sha1 v0.2.0 [INFO] [stderr] Downloaded crossterm v0.8.2 [INFO] [stderr] Downloaded dont_disappear v3.0.1 [INFO] [stderr] Downloaded squote v0.1.2 [INFO] [stderr] Downloaded windows v0.7.0 [INFO] [stderr] Downloaded crossterm_input v0.2.1 [INFO] [stderr] Downloaded windows_gen v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 286bc5cad069c4227e1bf5e330752ad6d9e2c07d41727c2cde8000e053c2645e [INFO] running `Command { std: "docker" "start" "-a" "286bc5cad069c4227e1bf5e330752ad6d9e2c07d41727c2cde8000e053c2645e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "286bc5cad069c4227e1bf5e330752ad6d9e2c07d41727c2cde8000e053c2645e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "286bc5cad069c4227e1bf5e330752ad6d9e2c07d41727c2cde8000e053c2645e", kill_on_drop: false }` [INFO] [stdout] 286bc5cad069c4227e1bf5e330752ad6d9e2c07d41727c2cde8000e053c2645e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 39a8bd93dd6d810eab7fca1a743a846fceed83ea87c41831ec1f04da5562bf6d [INFO] running `Command { std: "docker" "start" "-a" "39a8bd93dd6d810eab7fca1a743a846fceed83ea87c41831ec1f04da5562bf6d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling syn v1.0.68 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling libc v0.2.92 [INFO] [stderr] Compiling squote v0.1.2 [INFO] [stderr] Compiling const-sha1 v0.2.0 [INFO] [stderr] Checking quote v1.0.9 [INFO] [stderr] Checking termios v0.3.3 [INFO] [stderr] Checking crossterm_utils v0.1.0 [INFO] [stderr] Checking crossterm_cursor v0.1.0 [INFO] [stderr] Checking crossterm_screen v0.1.0 [INFO] [stderr] Checking crossterm_style v0.2.0 [INFO] [stderr] Checking crossterm_input v0.2.1 [INFO] [stderr] Checking crossterm_terminal v0.1.0 [INFO] [stderr] Checking crossterm v0.8.2 [INFO] [stderr] Checking dont_disappear v3.0.1 [INFO] [stderr] Checking windows_gen v0.7.0 [INFO] [stderr] Compiling windows_macros v0.7.0 [INFO] [stderr] Compiling windows v0.7.0 [INFO] [stderr] Compiling bindings v0.1.0 (/opt/rustwide/workdir/bindings) [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> /opt/rustwide/target/debug/build/bindings-4bc61f9c47be96b1/out/windows.rs:1:4361 [INFO] [stdout] | [INFO] [stdout] 1 | ... { if ! value . 0 . is_null ( ) { unsafe { :: std :: boxed :: Box :: from_raw ( value . 0 ) ; } } } } } impl < 'a > :: windows :: Into... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1 | # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Windows { # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Win32 { # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod ProcessStatus { pub unsafe fn K32EnumProcesses < > ( lpidprocess : * mut u32 , cb : u32 , lpcbneeded : * mut u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn K32GetModuleFileNameExA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HANDLE > , > ( hprocess : T0__ , hmodule : isize , lpfilename : super :: SystemServices :: PSTR , nsize : u32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod SystemServices { # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: default :: Default ) ] pub struct BOOL ( pub i32 ) ; impl BOOL { # [ inline ] pub fn as_bool ( self ) -> bool { ! ( self . 0 == 0 ) } # [ inline ] pub fn ok ( self ) -> :: windows :: Result < ( ) > { if self . as_bool ( ) { Ok ( ( ) ) } else { Err ( :: windows :: ErrorCode :: from_thread ( ) . into ( ) ) } } # [ inline ] pub fn unwrap ( self ) { self . ok ( ) . unwrap ( ) ; } # [ inline ] pub fn expect ( self , msg : & str ) { self . ok ( ) . expect ( msg ) ; } } impl :: std :: fmt :: Debug for BOOL { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { let msg = if self . as_bool ( ) { "true" } else { "false" } ; fmt . write_str ( msg ) } } unsafe impl :: windows :: Abi for BOOL { type Abi = Self ; } impl :: std :: convert :: From < BOOL > for bool { fn from ( value : BOOL ) -> Self { value . as_bool ( ) } } impl :: std :: convert :: From < & BOOL > for bool { fn from ( value : & BOOL ) -> Self { value . as_bool ( ) } } impl :: std :: convert :: From < bool > for BOOL { fn from ( value : bool ) -> Self { if value { BOOL ( 1 ) } else { BOOL ( 0 ) } } } impl :: std :: convert :: From < & bool > for BOOL { fn from ( value : & bool ) -> Self { ( * value ) . into ( ) } } impl :: std :: cmp :: PartialEq < bool > for BOOL { fn eq ( & self , other : & bool ) -> bool { self . as_bool ( ) == * other } } impl :: std :: cmp :: PartialEq < BOOL > for bool { fn eq ( & self , other : & BOOL ) -> bool { * self == other . as_bool ( ) } } impl std :: ops :: Not for BOOL { type Output = Self ; fn not ( self ) -> Self :: Output { if self . as_bool ( ) { BOOL ( 0 ) } else { BOOL ( 1 ) } } } impl < 'a > :: windows :: IntoParam < 'a , BOOL > for bool { fn into_param ( self ) -> :: windows :: Param < 'a , BOOL > { :: windows :: Param :: Owned ( self . into ( ) ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct HANDLE ( pub isize ) ; impl HANDLE { } impl :: std :: default :: Default for HANDLE { fn default ( ) -> Self { Self ( 0 ) } } impl :: std :: fmt :: Debug for HANDLE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HANDLE" ) . field ( "Value" , & format_args ! ( "{:?}" , self .0 ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HANDLE { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for HANDLE { } unsafe impl :: windows :: Abi for HANDLE { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: cmp :: Eq , :: std :: fmt :: Debug ) ] pub struct PSTR ( pub * mut u8 ) ; impl :: std :: default :: Default for PSTR { fn default ( ) -> Self { Self ( :: std :: ptr :: null_mut ( ) ) } } impl :: std :: cmp :: PartialEq for PSTR { fn eq ( & self , other : & Self ) -> bool { self . 0 == other . 0 } } unsafe impl :: windows :: Abi for PSTR { type Abi = Self ; fn drop_param ( param : & mut :: windows :: Param < Self > ) { if let :: windows :: Param :: Boxed ( value ) = param { if ! value . 0 . is_null ( ) { unsafe { let _ = :: std :: boxed :: Box :: from_raw ( value . 0 ) ; } } } } } impl < 'a > :: windows :: IntoParam < 'a , PSTR > for & 'a str { fn into_param ( self ) -> :: windows :: Param < 'a , PSTR > { :: windows :: Param :: Boxed ( PSTR ( :: std :: boxed :: Box :: < [ u8 ] > :: into_raw ( self . bytes ( ) . chain ( :: std :: iter :: once ( 0 ) ) . collect :: < std :: vec :: Vec < u8 >> ( ) . into_boxed_slice ( ) ) as _ ) ) } } impl < 'a > :: windows :: IntoParam < 'a , PSTR > for String { fn into_param ( self ) -> :: windows :: Param < 'a , PSTR > { :: windows :: Param :: Boxed ( PSTR ( :: std :: boxed :: Box :: < [ u8 ] > :: into_raw ( self . bytes ( ) . chain ( :: std :: iter :: once ( 0 ) ) . collect :: < std :: vec :: Vec < u8 >> ( ) . into_boxed_slice ( ) ) as _ ) ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct PROCESS_ACCESS_RIGHTS ( pub u32 ) ; impl PROCESS_ACCESS_RIGHTS { pub const PROCESS_TERMINATE : Self = Self ( 1u32 ) ; pub const PROCESS_CREATE_THREAD : Self = Self ( 2u32 ) ; pub const PROCESS_SET_SESSIONID : Self = Self ( 4u32 ) ; pub const PROCESS_VM_OPERATION : Self = Self ( 8u32 ) ; pub const PROCESS_VM_READ : Self = Self ( 16u32 ) ; pub const PROCESS_VM_WRITE : Self = Self ( 32u32 ) ; pub const PROCESS_DUP_HANDLE : Self = Self ( 64u32 ) ; pub const PROCESS_CREATE_PROCESS : Self = Self ( 128u32 ) ; pub const PROCESS_SET_QUOTA : Self = Self ( 256u32 ) ; pub const PROCESS_SET_INFORMATION : Self = Self ( 512u32 ) ; pub const PROCESS_QUERY_INFORMATION : Self = Self ( 1024u32 ) ; pub const PROCESS_SUSPEND_RESUME : Self = Self ( 2048u32 ) ; pub const PROCESS_QUERY_LIMITED_INFORMATION : Self = Self ( 4096u32 ) ; pub const PROCESS_SET_LIMITED_INFORMATION : Self = Self ( 8192u32 ) ; pub const PROCESS_ALL_ACCESS : Self = Self ( 2097151u32 ) ; pub const DELETE : Self = Self ( 65536u32 ) ; pub const READ_CONTROL : Self = Self ( 131072u32 ) ; pub const WRITE_DAC : Self = Self ( 262144u32 ) ; pub const WRITE_OWNER : Self = Self ( 524288u32 ) ; pub const SYNCHRONIZE : Self = Self ( 1048576u32 ) ; pub const STANDARD_RIGHTS_REQUIRED : Self = Self ( 983040u32 ) ; } impl :: std :: convert :: From < u32 > for PROCESS_ACCESS_RIGHTS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for PROCESS_ACCESS_RIGHTS { type Abi = Self ; } impl :: std :: ops :: BitOr for PROCESS_ACCESS_RIGHTS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for PROCESS_ACCESS_RIGHTS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for PROCESS_ACCESS_RIGHTS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for PROCESS_ACCESS_RIGHTS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn OpenProcess < 'a , T1__ : :: windows :: IntoParam < 'a , BOOL > , > ( dwdesiredaccess : PROCESS_ACCESS_RIGHTS , binherithandle : T1__ , dwprocessid : u32 , ) -> HANDLE { panic ! ( "Unsupported target OS" ) ; } } } } [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking proc-experiments v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `dont_disappear::any_key_to_continue` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use dont_disappear::any_key_to_continue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `proc_experiments::processes` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use proc_experiments::processes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `proc_experiments` [INFO] [stdout] --> src/main.rs:30:2 [INFO] [stdout] | [INFO] [stdout] 30 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/main.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dont_disappear::any_key_to_continue` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use dont_disappear::any_key_to_continue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `proc_experiments::processes` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use proc_experiments::processes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `proc-experiments` (bin "proc-experiments") due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "39a8bd93dd6d810eab7fca1a743a846fceed83ea87c41831ec1f04da5562bf6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39a8bd93dd6d810eab7fca1a743a846fceed83ea87c41831ec1f04da5562bf6d", kill_on_drop: false }` [INFO] [stdout] 39a8bd93dd6d810eab7fca1a743a846fceed83ea87c41831ec1f04da5562bf6d