[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 try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faisamanra%2Fliblibc" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aisamanra/liblibc on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "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-8/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" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/alexcrichton/ctest` [INFO] [stderr] error: the lock file /workspace/builds/worker-8/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" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "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" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded extprim v1.7.1 [INFO] [stderr] Downloaded syntex_syntax2 v0.0.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 48f530ff770b6f56801721e126e1012d050769419d8f5e9237ad70b03dd098f6 [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" "48f530ff770b6f56801721e126e1012d050769419d8f5e9237ad70b03dd098f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "48f530ff770b6f56801721e126e1012d050769419d8f5e9237ad70b03dd098f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48f530ff770b6f56801721e126e1012d050769419d8f5e9237ad70b03dd098f6", kill_on_drop: false }` [INFO] [stdout] 48f530ff770b6f56801721e126e1012d050769419d8f5e9237ad70b03dd098f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 76688bcc555a79d6f1ae7f2860d6da58229589b452f56184c752cb1b2bc7eb6d [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" "76688bcc555a79d6f1ae7f2860d6da58229589b452f56184c752cb1b2bc7eb6d", kill_on_drop: false }` [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Checking libc v0.2.40 (/opt/rustwide/workdir) [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling num-traits v0.2.14 [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 log v0.4.14 [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: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling extprim v1.7.1 [INFO] [stderr] Compiling syntex_pos v0.59.1 [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" "76688bcc555a79d6f1ae7f2860d6da58229589b452f56184c752cb1b2bc7eb6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76688bcc555a79d6f1ae7f2860d6da58229589b452f56184c752cb1b2bc7eb6d", kill_on_drop: false }` [INFO] [stdout] 76688bcc555a79d6f1ae7f2860d6da58229589b452f56184c752cb1b2bc7eb6d