[INFO] cloning repository https://github.com/Ryan1729/stru [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ryan1729/stru" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRyan1729%2Fstru", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRyan1729%2Fstru'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 90178bbfabd23bf881b8fcd1ebbd8d85d57ae793 [INFO] checking Ryan1729/stru/90178bbfabd23bf881b8fcd1ebbd8d85d57ae793 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRyan1729%2Fstru" "/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/Ryan1729/stru 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/Ryan1729/stru [INFO] finished tweaking git repo https://github.com/Ryan1729/stru [INFO] tweaked toml for git repo https://github.com/Ryan1729/stru written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Ryan1729/stru 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 crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pkg-config v0.3.9 [INFO] [stderr] Downloaded metadeps v1.1.1 [INFO] [stderr] Downloaded toml v0.2.1 [INFO] [stderr] Downloaded errno v0.2.3 [INFO] [stderr] Downloaded servo-fontconfig v0.2.1 [INFO] [stderr] Downloaded error-chain v0.7.2 [INFO] [stderr] Downloaded cmake v0.1.21 [INFO] [stderr] Downloaded kernel32-sys v0.2.2 [INFO] [stderr] Downloaded x11 v2.12.1 [INFO] [stderr] Downloaded gcc v0.3.43 [INFO] [stderr] Downloaded libc v0.2.20 [INFO] [stderr] Downloaded servo-freetype-sys v4.0.3 [INFO] [stderr] Downloaded servo-fontconfig-sys v4.0.2 [INFO] [stderr] Downloaded expat-sys v2.1.4 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b459dc3d88baed582d655866f1bda24a69d366e5e14f932a73cdfea9e7e8def5 [INFO] running `Command { std: "docker" "start" "-a" "b459dc3d88baed582d655866f1bda24a69d366e5e14f932a73cdfea9e7e8def5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b459dc3d88baed582d655866f1bda24a69d366e5e14f932a73cdfea9e7e8def5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b459dc3d88baed582d655866f1bda24a69d366e5e14f932a73cdfea9e7e8def5", kill_on_drop: false }` [INFO] [stdout] b459dc3d88baed582d655866f1bda24a69d366e5e14f932a73cdfea9e7e8def5 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a7dae7b32b7778e09e027137d61167e21489ee3d2ea5b114924b0bcded44832d [INFO] running `Command { std: "docker" "start" "-a" "a7dae7b32b7778e09e027137d61167e21489ee3d2ea5b114924b0bcded44832d", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Compiling gcc v0.3.43 [INFO] [stderr] Compiling toml v0.2.1 [INFO] [stderr] Compiling error-chain v0.7.2 [INFO] [stderr] Checking libc v0.2.20 [INFO] [stderr] Compiling servo-fontconfig-sys v4.0.2 [INFO] [stderr] Compiling cmake v0.1.21 [INFO] [stderr] Checking errno v0.2.3 [INFO] [stderr] Compiling metadeps v1.1.1 [INFO] [stderr] Compiling stru v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling x11 v2.12.1 [INFO] [stderr] Compiling servo-freetype-sys v4.0.3 [INFO] [stderr] Compiling expat-sys v2.1.4 [INFO] [stderr] Checking servo-fontconfig v0.2.1 [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(link_args)] [INFO] [stdout] | ^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in favor of using `-C link-arg=ARG` on command line, which is available from cargo build scripts with `cargo:rustc-link-arg` now [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(link_args)] [INFO] [stdout] | ^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in favor of using `-C link-arg=ARG` on command line, which is available from cargo build scripts with `cargo:rustc-link-arg` now [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `link_args` in this scope [INFO] [stdout] --> src/main.rs:305:3 [INFO] [stdout] | [INFO] [stdout] 305 | #[link_args = "-L/usr/lib -lc -L/usr/X11R6/lib -lm -lrt -lX11 -lutil -lXft -lfontconfig -lfreetype"] [INFO] [stdout] | ^^^^^^^^^ help: a built-in attribute with a similar name exists: `linkage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `link_args` in this scope [INFO] [stdout] --> src/main.rs:305:3 [INFO] [stdout] | [INFO] [stdout] 305 | #[link_args = "-L/usr/lib -lc -L/usr/X11R6/lib -lm -lrt -lX11 -lutil -lXft -lfontconfig -lfreetype"] [INFO] [stdout] | ^^^^^^^^^ help: a built-in attribute with a similar name exists: `linkage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `x11::keysym::*` [INFO] [stdout] --> src/config.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use x11::keysym::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/main.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | #![warn(unused_imports)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `x11::keysym::*` [INFO] [stdout] --> src/config.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use x11::keysym::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/main.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | #![warn(unused_imports)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `xlib::Button2` [INFO] [stdout] --> src/main.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use xlib::Button2; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `xlib::Button2` [INFO] [stdout] --> src/main.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use xlib::Button2; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `drop_types_in_const` has been stable since 1.22.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(drop_types_in_const)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `drop_types_in_const` has been stable since 1.22.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(drop_types_in_const)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:2101:9 [INFO] [stdout] | [INFO] [stdout] 2101 | let mut buf: *mut c_char = bufffer.as_mut_ptr(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:2101:9 [INFO] [stdout] | [INFO] [stdout] 2101 | let mut buf: *mut c_char = bufffer.as_mut_ptr(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stderr] error: could not compile `stru` (bin "stru" test) due to 3 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `stru` (bin "stru") due to 3 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a7dae7b32b7778e09e027137d61167e21489ee3d2ea5b114924b0bcded44832d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7dae7b32b7778e09e027137d61167e21489ee3d2ea5b114924b0bcded44832d", kill_on_drop: false }` [INFO] [stdout] a7dae7b32b7778e09e027137d61167e21489ee3d2ea5b114924b0bcded44832d