[INFO] fetching crate dylib 0.0.3...
[INFO] checking dylib-0.0.3 against try#264a7c4a1c917c83d13895a31231f9d93c7b67e1 for pr-132289
[INFO] extracting crate dylib 0.0.3 into /workspace/builds/worker-1-tc2/source
[INFO] validating manifest of crates.io crate dylib 0.0.3 on toolchain 264a7c4a1c917c83d13895a31231f9d93c7b67e1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+264a7c4a1c917c83d13895a31231f9d93c7b67e1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate dylib 0.0.3
[INFO] finished tweaking crates.io crate dylib 0.0.3
[INFO] tweaked toml for crates.io crate dylib 0.0.3 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+264a7c4a1c917c83d13895a31231f9d93c7b67e1" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 1 package to latest compatible version
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+264a7c4a1c917c83d13895a31231f9d93c7b67e1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+264a7c4a1c917c83d13895a31231f9d93c7b67e1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1091ddd9be05cb435ba143dc8c6fed2fd5c6da317725b2af4c47f318d7f3b4e9
[INFO] running `Command { std: "docker" "start" "-a" "1091ddd9be05cb435ba143dc8c6fed2fd5c6da317725b2af4c47f318d7f3b4e9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1091ddd9be05cb435ba143dc8c6fed2fd5c6da317725b2af4c47f318d7f3b4e9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1091ddd9be05cb435ba143dc8c6fed2fd5c6da317725b2af4c47f318d7f3b4e9", kill_on_drop: false }`
[INFO] [stdout] 1091ddd9be05cb435ba143dc8c6fed2fd5c6da317725b2af4c47f318d7f3b4e9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "RUSTDOCFLAGS=--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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+264a7c4a1c917c83d13895a31231f9d93c7b67e1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a6b2549f0b69d9aef143316e1f2bc54efa6f445f3f5f4a515ab05b4c6ef34597
[INFO] running `Command { std: "docker" "start" "-a" "a6b2549f0b69d9aef143316e1f2bc54efa6f445f3f5f4a515ab05b4c6ef34597", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021
[INFO] [stderr]     Checking dylib v0.0.3 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unexpected `cfg` condition value: `bitrig`
[INFO] [stdout]    --> src/lib.rs:175:61
[INFO] [stdout]     |
[INFO] [stdout] 175 |             target_os = "freebsd", target_os = "dragonfly", target_os = "bitrig",
[INFO] [stdout]     |                                                             ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, and `vxworks` and 5 more
[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] error[E0432]: unresolved import `path`
[INFO] [stdout]    --> src/lib.rs:128:9
[INFO] [stdout]     |
[INFO] [stdout] 128 |     use path::Path;
[INFO] [stdout]     |         ^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         unresolved import
[INFO] [stdout]     |         help: a similar path exists: `std::path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type annotations needed
[INFO] [stdout]    --> src/lib.rs:212:27
[INFO] [stdout]     |
[INFO] [stdout] 212 |             if last_error.is_null() {
[INFO] [stdout]     |                           ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]     = note: for more information, see issue #46906 <https://github.com/rust-lang/rust/issues/46906>
[INFO] [stdout]     = note: `#[warn(tyvar_behind_raw_pointer)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `bitrig`
[INFO] [stdout]    --> src/lib.rs:175:61
[INFO] [stdout]     |
[INFO] [stdout] 175 |             target_os = "freebsd", target_os = "dragonfly", target_os = "bitrig",
[INFO] [stdout]     |                                                             ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, and `vxworks` and 5 more
[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 value: `bitrig`
[INFO] [stdout]    --> src/lib.rs:162:42
[INFO] [stdout]     |
[INFO] [stdout] 162 |                 target_os = "dragonfly", target_os = "bitrig", target_os = "openbsd"))]
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, and `vxworks` and 5 more
[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: type annotations needed
[INFO] [stdout]    --> src/lib.rs:212:27
[INFO] [stdout]     |
[INFO] [stdout] 212 |             if last_error.is_null() {
[INFO] [stdout]     |                           ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]     = note: for more information, see issue #46906 <https://github.com/rust-lang/rust/issues/46906>
[INFO] [stdout]     = note: `#[warn(tyvar_behind_raw_pointer)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `dylib` (lib test) due to 1 previous error; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "a6b2549f0b69d9aef143316e1f2bc54efa6f445f3f5f4a515ab05b4c6ef34597", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a6b2549f0b69d9aef143316e1f2bc54efa6f445f3f5f4a515ab05b4c6ef34597", kill_on_drop: false }`
[INFO] [stdout] a6b2549f0b69d9aef143316e1f2bc54efa6f445f3f5f4a515ab05b4c6ef34597
