[INFO] cloning repository https://github.com/aisamanra/liblibc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aisamanra/liblibc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faisamanra%2Fliblibc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faisamanra%2Fliblibc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f8807c4f6174c8d5ea2ace5faf8cea7ceb783e9d [INFO] checking aisamanra/liblibc against master#a5f164faad4a2fed606b8160fd7ecd2d5cbba381 for pr-84920 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faisamanra%2Fliblibc" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aisamanra/liblibc on toolchain a5f164faad4a2fed606b8160fd7ecd2d5cbba381 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/aisamanra/liblibc [INFO] finished tweaking git repo https://github.com/aisamanra/liblibc [INFO] tweaked toml for git repo https://github.com/aisamanra/liblibc written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/aisamanra/liblibc already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-13/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/alexcrichton/ctest` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4f68eda1ab5e6834b1a2e3d1796058f0f9652ffee1a59f0dff59f85c87b602ea [INFO] running `Command { std: "docker" "start" "-a" "4f68eda1ab5e6834b1a2e3d1796058f0f9652ffee1a59f0dff59f85c87b602ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f68eda1ab5e6834b1a2e3d1796058f0f9652ffee1a59f0dff59f85c87b602ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f68eda1ab5e6834b1a2e3d1796058f0f9652ffee1a59f0dff59f85c87b602ea", kill_on_drop: false }` [INFO] [stdout] 4f68eda1ab5e6834b1a2e3d1796058f0f9652ffee1a59f0dff59f85c87b602ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5797bb5a8d472f3c0fca778f6d64b994dffc6ef5fd0d02e4870cb77bb060c0e0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5797bb5a8d472f3c0fca778f6d64b994dffc6ef5fd0d02e4870cb77bb060c0e0", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Checking libc v0.2.40 (/opt/rustwide/workdir) [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling extprim v1.7.1 [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/unix/notbsd/mod.rs:319:36 [INFO] [stdout] | [INFO] [stdout] 319 | pub const LC_CTYPE_MASK: ::c_int = (1 << LC_CTYPE); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/unix/notbsd/mod.rs:320:38 [INFO] [stdout] | [INFO] [stdout] 320 | pub const LC_NUMERIC_MASK: ::c_int = (1 << LC_NUMERIC); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/unix/notbsd/mod.rs:321:35 [INFO] [stdout] | [INFO] [stdout] 321 | pub const LC_TIME_MASK: ::c_int = (1 << LC_TIME); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/unix/notbsd/mod.rs:322:38 [INFO] [stdout] | [INFO] [stdout] 322 | pub const LC_COLLATE_MASK: ::c_int = (1 << LC_COLLATE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/unix/notbsd/mod.rs:323:39 [INFO] [stdout] | [INFO] [stdout] 323 | pub const LC_MONETARY_MASK: ::c_int = (1 << LC_MONETARY); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/unix/notbsd/mod.rs:324:39 [INFO] [stdout] | [INFO] [stdout] 324 | pub const LC_MESSAGES_MASK: ::c_int = (1 << LC_MESSAGES); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/macros.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | $($body);* [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/macros.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | $($body);* [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/unix/notbsd/linux/other/mod.rs:211:36 [INFO] [stdout] | [INFO] [stdout] 211 | pub const LC_PAPER_MASK: ::c_int = (1 << LC_PAPER); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/unix/notbsd/linux/other/mod.rs:212:35 [INFO] [stdout] | [INFO] [stdout] 212 | pub const LC_NAME_MASK: ::c_int = (1 << LC_NAME); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/unix/notbsd/linux/other/mod.rs:213:38 [INFO] [stdout] | [INFO] [stdout] 213 | pub const LC_ADDRESS_MASK: ::c_int = (1 << LC_ADDRESS); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/unix/notbsd/linux/other/mod.rs:214:40 [INFO] [stdout] | [INFO] [stdout] 214 | pub const LC_TELEPHONE_MASK: ::c_int = (1 << LC_TELEPHONE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/unix/notbsd/linux/other/mod.rs:215:42 [INFO] [stdout] | [INFO] [stdout] 215 | pub const LC_MEASUREMENT_MASK: ::c_int = (1 << LC_MEASUREMENT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/unix/notbsd/linux/other/mod.rs:216:45 [INFO] [stdout] | [INFO] [stdout] 216 | pub const LC_IDENTIFICATION_MASK: ::c_int = (1 << LC_IDENTIFICATION); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/unix/notbsd/mod.rs:319:36 [INFO] [stdout] | [INFO] [stdout] 319 | pub const LC_CTYPE_MASK: ::c_int = (1 << LC_CTYPE); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/unix/notbsd/mod.rs:320:38 [INFO] [stdout] | [INFO] [stdout] 320 | pub const LC_NUMERIC_MASK: ::c_int = (1 << LC_NUMERIC); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/unix/notbsd/mod.rs:321:35 [INFO] [stdout] | [INFO] [stdout] 321 | pub const LC_TIME_MASK: ::c_int = (1 << LC_TIME); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/unix/notbsd/mod.rs:322:38 [INFO] [stdout] | [INFO] [stdout] 322 | pub const LC_COLLATE_MASK: ::c_int = (1 << LC_COLLATE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/unix/notbsd/mod.rs:323:39 [INFO] [stdout] | [INFO] [stdout] 323 | pub const LC_MONETARY_MASK: ::c_int = (1 << LC_MONETARY); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/unix/notbsd/mod.rs:324:39 [INFO] [stdout] | [INFO] [stdout] 324 | pub const LC_MESSAGES_MASK: ::c_int = (1 << LC_MESSAGES); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/macros.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | $($body);* [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/macros.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | $($body);* [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/unix/notbsd/linux/other/mod.rs:211:36 [INFO] [stdout] | [INFO] [stdout] 211 | pub const LC_PAPER_MASK: ::c_int = (1 << LC_PAPER); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/unix/notbsd/linux/other/mod.rs:212:35 [INFO] [stdout] | [INFO] [stdout] 212 | pub const LC_NAME_MASK: ::c_int = (1 << LC_NAME); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/unix/notbsd/linux/other/mod.rs:213:38 [INFO] [stdout] | [INFO] [stdout] 213 | pub const LC_ADDRESS_MASK: ::c_int = (1 << LC_ADDRESS); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/unix/notbsd/linux/other/mod.rs:214:40 [INFO] [stdout] | [INFO] [stdout] 214 | pub const LC_TELEPHONE_MASK: ::c_int = (1 << LC_TELEPHONE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/unix/notbsd/linux/other/mod.rs:215:42 [INFO] [stdout] | [INFO] [stdout] 215 | pub const LC_MEASUREMENT_MASK: ::c_int = (1 << LC_MEASUREMENT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/unix/notbsd/linux/other/mod.rs:216:45 [INFO] [stdout] | [INFO] [stdout] 216 | pub const LC_IDENTIFICATION_MASK: ::c_int = (1 << LC_IDENTIFICATION); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling syntex_pos v0.59.1 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling syntex_errors v0.59.1 [INFO] [stderr] Compiling syntex_syntax2 v0.0.2 [INFO] [stderr] Compiling ctest v0.2.22 (https://github.com/alexcrichton/ctest#4fe24c45) [INFO] [stderr] Compiling libc-test v0.1.0 (/opt/rustwide/workdir/libc-test) [INFO] [stdout] error[E0593]: closure is expected to take 3 arguments, but it takes 2 arguments [INFO] [stdout] --> libc-test/build.rs:331:9 [INFO] [stdout] | [INFO] [stdout] 331 | cfg.type_name(move |ty, is_struct| { [INFO] [stdout] | ^^^^^^^^^ -------------------- takes 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected closure that takes 3 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0593]: closure is expected to take 3 arguments, but it takes 2 arguments [INFO] [stdout] --> libc-test/build.rs:794:13 [INFO] [stdout] | [INFO] [stdout] 794 | cfg.type_name(move |ty, is_struct| { [INFO] [stdout] | ^^^^^^^^^ -------------------- takes 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected closure that takes 3 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0593`. [INFO] [stdout] [INFO] [stderr] error: could not compile `libc-test` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "5797bb5a8d472f3c0fca778f6d64b994dffc6ef5fd0d02e4870cb77bb060c0e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5797bb5a8d472f3c0fca778f6d64b994dffc6ef5fd0d02e4870cb77bb060c0e0", kill_on_drop: false }` [INFO] [stdout] 5797bb5a8d472f3c0fca778f6d64b994dffc6ef5fd0d02e4870cb77bb060c0e0