[INFO] cloning repository https://github.com/cyber2jie/post-client
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cyber2jie/post-client" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcyber2jie%2Fpost-client", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcyber2jie%2Fpost-client'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 45449b31592dc538488a6eb5bc7ff234173a0f90
[INFO] checking cyber2jie/post-client against try#dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e for pr-153721
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcyber2jie%2Fpost-client" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/cyber2jie/post-client
[INFO] finished tweaking git repo https://github.com/cyber2jie/post-client
[INFO] tweaked toml for git repo https://github.com/cyber2jie/post-client written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/cyber2jie/post-client on toolchain dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/cyber2jie/post-client 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" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 7405ff3a711fe94f80b13462939a4473375ec2698f49fa2d63f976b2a8bec3e7
[INFO] running `Command { std: "docker" "start" "7405ff3a711fe94f80b13462939a4473375ec2698f49fa2d63f976b2a8bec3e7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7405ff3a711fe94f80b13462939a4473375ec2698f49fa2d63f976b2a8bec3e7" "/opt/rustwide/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7405ff3a711fe94f80b13462939a4473375ec2698f49fa2d63f976b2a8bec3e7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7405ff3a711fe94f80b13462939a4473375ec2698f49fa2d63f976b2a8bec3e7" "/opt/rustwide/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling pkg-config v0.3.24
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling libc v0.2.119
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling curl v0.4.42
[INFO] [stderr]     Checking openssl-probe v0.1.5
[INFO] [stderr]    Compiling post-client v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: target-based cfg should be avoided in build scripts
[INFO] [stdout]   --> src/build.rs:25:11
[INFO] [stdout]    |
[INFO] [stdout] 25 |     #[cfg(windows)]
[INFO] [stdout]    |           ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[deny(misleading_cfg_in_build_script)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `linux`
[INFO] [stdout]   --> src/build.rs:27:11
[INFO] [stdout]    |
[INFO] [stdout] 27 |     #[cfg(linux)]
[INFO] [stdout]    |           ^^^^^ help: found config with similar value: `target_os = "linux"`
[INFO] [stdout]    |
[INFO] [stdout]    = help: expected names are: `docsrs`, `feature`, and `test` and 32 more
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(linux)'] }
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `macos`
[INFO] [stdout]   --> src/build.rs:29:11
[INFO] [stdout]    |
[INFO] [stdout] 29 |     #[cfg(macos)]
[INFO] [stdout]    |           ^^^^^ help: found config with similar value: `target_os = "macos"`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(macos)'] }
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `pack_win` is never used
[INFO] [stdout]  --> src/build.rs:3:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn pack_win() {
[INFO] [stdout]   |    ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `pack_linux` is never used
[INFO] [stdout]   --> src/build.rs:10:4
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn pack_linux() {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `pack_mac` is never used
[INFO] [stdout]   --> src/build.rs:17:4
[INFO] [stdout]    |
[INFO] [stdout] 17 | fn pack_mac() {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `post-client` (build script) due to 1 previous error; 5 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "7405ff3a711fe94f80b13462939a4473375ec2698f49fa2d63f976b2a8bec3e7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7405ff3a711fe94f80b13462939a4473375ec2698f49fa2d63f976b2a8bec3e7", kill_on_drop: false }`
[INFO] [stdout] 7405ff3a711fe94f80b13462939a4473375ec2698f49fa2d63f976b2a8bec3e7
