[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#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faisamanra%2Fliblibc" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aisamanra/liblibc on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-6/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-6/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded syntex_pos v0.59.1 [INFO] [stderr] Downloaded extprim v1.7.1 [INFO] [stderr] Downloaded syntex_errors v0.59.1 [INFO] [stderr] Downloaded syntex_syntax2 v0.0.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 770ed04f9052184f04dfa264659fdf2632b8092b726c53d9e2d2b1b483360b8f [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" "770ed04f9052184f04dfa264659fdf2632b8092b726c53d9e2d2b1b483360b8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "770ed04f9052184f04dfa264659fdf2632b8092b726c53d9e2d2b1b483360b8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "770ed04f9052184f04dfa264659fdf2632b8092b726c53d9e2d2b1b483360b8f", kill_on_drop: false }` [INFO] [stdout] 770ed04f9052184f04dfa264659fdf2632b8092b726c53d9e2d2b1b483360b8f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e103382ac8e5d2adb387a98be4625b43ff0348e1105752f44e42d6d7d9d3186d [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" "e103382ac8e5d2adb387a98be4625b43ff0348e1105752f44e42d6d7d9d3186d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling libc v0.2.89 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Checking libc v0.2.40 (/opt/rustwide/workdir) [INFO] [stderr] Compiling extprim v1.7.1 [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] [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] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling serde_derive v1.0.124 [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" "e103382ac8e5d2adb387a98be4625b43ff0348e1105752f44e42d6d7d9d3186d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e103382ac8e5d2adb387a98be4625b43ff0348e1105752f44e42d6d7d9d3186d", kill_on_drop: false }` [INFO] [stdout] e103382ac8e5d2adb387a98be4625b43ff0348e1105752f44e42d6d7d9d3186d