[INFO] cloning repository https://github.com/AnickaBurova/sync-clipboard [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AnickaBurova/sync-clipboard" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnickaBurova%2Fsync-clipboard", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnickaBurova%2Fsync-clipboard'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a90f0f3867ff6e437eb2c7c18ae14608cb3e2140 [INFO] checking AnickaBurova/sync-clipboard/a90f0f3867ff6e437eb2c7c18ae14608cb3e2140 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnickaBurova%2Fsync-clipboard" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AnickaBurova/sync-clipboard 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/AnickaBurova/sync-clipboard [INFO] finished tweaking git repo https://github.com/AnickaBurova/sync-clipboard [INFO] tweaked toml for git repo https://github.com/AnickaBurova/sync-clipboard written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/AnickaBurova/sync-clipboard 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] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Updating git repository `https://github.com/aweinstock314/rust-clipboard` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded objc v0.1.8 [INFO] [stderr] Downloaded kernel32-sys v0.2.1 [INFO] [stderr] Downloaded pkg-config v0.3.6 [INFO] [stderr] Downloaded objc_id v0.0.2 [INFO] [stderr] Downloaded block v0.1.4 [INFO] [stderr] Downloaded objc-foundation v0.0.2 [INFO] [stderr] Downloaded clipboard-win v1.6.1 [INFO] [stderr] Downloaded encoding v0.2.32 [INFO] [stderr] Downloaded libc v0.2.2 [INFO] [stderr] Downloaded x11 v2.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7492f50dcdcca967af2649e6a30d25b97ef3c96c15691eb068c73d1cbadd68bd [INFO] running `Command { std: "docker" "start" "-a" "7492f50dcdcca967af2649e6a30d25b97ef3c96c15691eb068c73d1cbadd68bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7492f50dcdcca967af2649e6a30d25b97ef3c96c15691eb068c73d1cbadd68bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7492f50dcdcca967af2649e6a30d25b97ef3c96c15691eb068c73d1cbadd68bd", kill_on_drop: false }` [INFO] [stdout] 7492f50dcdcca967af2649e6a30d25b97ef3c96c15691eb068c73d1cbadd68bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 67eb2b15517b47f328b0374cd262d99ec9a016b91d9cba5751f168372ef7d31e [INFO] running `Command { std: "docker" "start" "-a" "67eb2b15517b47f328b0374cd262d99ec9a016b91d9cba5751f168372ef7d31e", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Compiling pkg-config v0.3.6 [INFO] [stderr] Checking libc v0.1.12 [INFO] [stderr] Checking libc v0.2.2 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling x11 v2.2.1 [INFO] [stderr] Checking encoding v0.2.32 [INFO] [stderr] Checking clipboard v0.0.3 (https://github.com/aweinstock314/rust-clipboard#ef4cf77c) [INFO] [stdout] error[E0635]: unknown feature `vec_push_all` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clipboard-4a1584d52df56684/ef4cf77/src/lib.rs:6:40 [INFO] [stdout] | [INFO] [stdout] 6 | #![cfg_attr(target_os="linux", feature(vec_push_all))] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clipboard-4a1584d52df56684/ef4cf77/src/x11_clipboard.rs:111:31 [INFO] [stdout] | [INFO] [stdout] 111 | XFree(buffer as *mut c_void); [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^ expected `libc::types::common::c95::c_void`, found `libc::c_void` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `libc::c_void` and `libc::types::common::c95::c_void` have similar names, but are actually distinct types [INFO] [stdout] note: `libc::c_void` is defined in crate `libc` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.2/src/lib.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | pub enum c_void { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: `libc::types::common::c95::c_void` is defined in crate `libc` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libc-0.1.12/rust/src/liblibc/lib.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | pub enum c_void { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/x11-2.2.1/src/xlib.rs:276:10 [INFO] [stdout] | [INFO] [stdout] 276 | pub fn XFree (_1: *mut c_void) -> c_int, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push_all` found for mutable reference `&mut Vec` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clipboard-4a1584d52df56684/ef4cf77/src/x11_clipboard.rs:127:26 [INFO] [stdout] | [INFO] [stdout] 127 | dest.push_all(unsafe { slice::from_raw_parts_mut(buffer, (pty_machsize as usize) / size_of::()) }); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `push` with a similar name [INFO] [stdout] | [INFO] [stdout] 127 | dest.push(unsafe { slice::from_raw_parts_mut(buffer, (pty_machsize as usize) / size_of::()) }); [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clipboard-4a1584d52df56684/ef4cf77/src/x11_clipboard.rs:143:31 [INFO] [stdout] | [INFO] [stdout] 143 | XFree(buffer as *mut c_void); [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^ expected `libc::types::common::c95::c_void`, found `libc::c_void` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `libc::c_void` and `libc::types::common::c95::c_void` have similar names, but are actually distinct types [INFO] [stdout] note: `libc::c_void` is defined in crate `libc` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.2/src/lib.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | pub enum c_void { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: `libc::types::common::c95::c_void` is defined in crate `libc` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libc-0.1.12/rust/src/liblibc/lib.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | pub enum c_void { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/x11-2.2.1/src/xlib.rs:276:10 [INFO] [stdout] | [INFO] [stdout] 276 | pub fn XFree (_1: *mut c_void) -> c_int, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push_all` found for mutable reference `&mut Vec` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-clipboard-4a1584d52df56684/ef4cf77/src/x11_clipboard.rs:159:26 [INFO] [stdout] | [INFO] [stdout] 159 | dest.push_all(unsafe { slice::from_raw_parts_mut(buffer, (pty_machsize as usize) / size_of::()) }); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `push` with a similar name [INFO] [stdout] | [INFO] [stdout] 159 | dest.push(unsafe { slice::from_raw_parts_mut(buffer, (pty_machsize as usize) / size_of::()) }); [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `clipboard` (lib) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "67eb2b15517b47f328b0374cd262d99ec9a016b91d9cba5751f168372ef7d31e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67eb2b15517b47f328b0374cd262d99ec9a016b91d9cba5751f168372ef7d31e", kill_on_drop: false }` [INFO] [stdout] 67eb2b15517b47f328b0374cd262d99ec9a016b91d9cba5751f168372ef7d31e