[INFO] cloning repository https://github.com/mathieu-lemay/json-struct [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mathieu-lemay/json-struct" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmathieu-lemay%2Fjson-struct", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmathieu-lemay%2Fjson-struct'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a67ddfc874d896ae481824bb31fc62a1e2887a8a [INFO] testing mathieu-lemay/json-struct against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmathieu-lemay%2Fjson-struct" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mathieu-lemay/json-struct on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mathieu-lemay/json-struct [INFO] finished tweaking git repo https://github.com/mathieu-lemay/json-struct [INFO] tweaked toml for git repo https://github.com/mathieu-lemay/json-struct written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/mathieu-lemay/json-struct already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--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-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e5b78553d1ca4b07ebd5780867f156ccb98b2541c31b632634430491c356dfa8 [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" "e5b78553d1ca4b07ebd5780867f156ccb98b2541c31b632634430491c356dfa8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e5b78553d1ca4b07ebd5780867f156ccb98b2541c31b632634430491c356dfa8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5b78553d1ca4b07ebd5780867f156ccb98b2541c31b632634430491c356dfa8", kill_on_drop: false }` [INFO] [stdout] e5b78553d1ca4b07ebd5780867f156ccb98b2541c31b632634430491c356dfa8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ee5d2ecc75584c41fb39b7047a4dc4a6ac3c49c43b028fb9e38570b5808a8aa [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" "4ee5d2ecc75584c41fb39b7047a4dc4a6ac3c49c43b028fb9e38570b5808a8aa", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling syn v1.0.77 [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde_yaml v0.8.21 [INFO] [stderr] Compiling json-struct v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] error: environment variable `OUT_DIR` not defined [INFO] [stdout] --> src/main.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | include!(concat!(env!("OUT_DIR"), "/built.rs")); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GIT_VERSION` in module `built_info` [INFO] [stdout] --> src/main.rs:216:38 [INFO] [stdout] | [INFO] [stdout] 216 | let version = match (built_info::GIT_VERSION, built_info::GIT_DIRTY) { [INFO] [stdout] | ^^^^^^^^^^^ not found in `built_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GIT_DIRTY` in module `built_info` [INFO] [stdout] --> src/main.rs:216:63 [INFO] [stdout] | [INFO] [stdout] 216 | let version = match (built_info::GIT_VERSION, built_info::GIT_DIRTY) { [INFO] [stdout] | ^^^^^^^^^ not found in `built_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PKG_VERSION` in module `built_info` [INFO] [stdout] --> src/main.rs:218:41 [INFO] [stdout] | [INFO] [stdout] 218 | _ => format!("v{}", built_info::PKG_VERSION), [INFO] [stdout] | ^^^^^^^^^^^ not found in `built_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PKG_NAME` in module `built_info` [INFO] [stdout] --> src/main.rs:221:40 [INFO] [stdout] | [INFO] [stdout] 221 | let matches = App::new(built_info::PKG_NAME) [INFO] [stdout] | ^^^^^^^^ not found in `built_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PKG_AUTHORS` in module `built_info` [INFO] [stdout] --> src/main.rs:223:29 [INFO] [stdout] | [INFO] [stdout] 223 | .author(built_info::PKG_AUTHORS) [INFO] [stdout] | ^^^^^^^^^^^ not found in `built_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PKG_DESCRIPTION` in module `built_info` [INFO] [stdout] --> src/main.rs:224:28 [INFO] [stdout] | [INFO] [stdout] 224 | .about(built_info::PKG_DESCRIPTION) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `built_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `json-struct` due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "4ee5d2ecc75584c41fb39b7047a4dc4a6ac3c49c43b028fb9e38570b5808a8aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ee5d2ecc75584c41fb39b7047a4dc4a6ac3c49c43b028fb9e38570b5808a8aa", kill_on_drop: false }` [INFO] [stdout] 4ee5d2ecc75584c41fb39b7047a4dc4a6ac3c49c43b028fb9e38570b5808a8aa