[INFO] fetching crate cr-sys 0.1.1...
[INFO] checking cr-sys-0.1.1 against master#39cb3386ddc6c71657418be28dbb3987eea4aa4b for pr-133536
[INFO] extracting crate cr-sys 0.1.1 into /workspace/builds/worker-7-tc1/source
[INFO] validating manifest of crates.io crate cr-sys 0.1.1 on toolchain 39cb3386ddc6c71657418be28dbb3987eea4aa4b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate cr-sys 0.1.1
[INFO] removed 0 missing examples
[INFO] finished tweaking crates.io crate cr-sys 0.1.1
[INFO] tweaked toml for crates.io crate cr-sys 0.1.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 62 packages to latest compatible versions
[INFO] [stderr]       Adding bindgen v0.49.4 (available: v0.70.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded bindgen v0.49.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5383a8620af780d48bdef3e762447b6dde3501cef720502ecf150f9159d35f99
[INFO] running `Command { std: "docker" "start" "-a" "5383a8620af780d48bdef3e762447b6dde3501cef720502ecf150f9159d35f99", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5383a8620af780d48bdef3e762447b6dde3501cef720502ecf150f9159d35f99", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5383a8620af780d48bdef3e762447b6dde3501cef720502ecf150f9159d35f99", kill_on_drop: false }`
[INFO] [stdout] 5383a8620af780d48bdef3e762447b6dde3501cef720502ecf150f9159d35f99
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f14b628c36d77dbdc3b0416716d73ff18335f82c753e5826f17324336b59d0db
[INFO] running `Command { std: "docker" "start" "-a" "f14b628c36d77dbdc3b0416716d73ff18335f82c753e5826f17324336b59d0db", kill_on_drop: false }`
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling gimli v0.31.1
[INFO] [stderr]    Compiling adler2 v2.0.0
[INFO] [stderr]    Compiling version_check v0.1.5
[INFO] [stderr]    Compiling rustc-demangle v0.1.24
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling unicode-width v0.1.14
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling bindgen v0.49.4
[INFO] [stderr]    Compiling ansi_term v0.12.1
[INFO] [stderr]    Compiling libc v0.2.167
[INFO] [stderr]    Compiling clang-sys v0.28.1
[INFO] [stderr]    Compiling termcolor v1.4.1
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling libloading v0.5.2
[INFO] [stderr]    Compiling miniz_oxide v0.8.0
[INFO] [stderr]    Compiling humantime v1.3.0
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling nom v4.2.3
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling shlex v0.1.1
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling peeking_take_while v0.1.2
[INFO] [stderr]    Compiling fxhash v0.2.1
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling object v0.36.5
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling clap v2.34.0
[INFO] [stderr]    Compiling cexpr v0.3.6
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling addr2line v0.24.2
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling env_logger v0.6.2
[INFO] [stderr]    Compiling backtrace v0.3.74
[INFO] [stderr]    Compiling failure v0.1.8
[INFO] [stderr]    Compiling which v2.0.1
[INFO] [stderr]    Compiling cr-sys v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr] warning: cr-sys@0.1.1: In file included from src/host.cpp:2:
[INFO] [stderr] warning: cr-sys@0.1.1: src/../vendor/cr.h: In function 'bool cr_is_empty(const void*, int64_t)':
[INFO] [stderr] warning: cr-sys@0.1.1: src/../vendor/cr.h:1216:14: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers]
[INFO] [stderr] warning: cr-sys@0.1.1:  1216 |     auto c = (const char *const)buf;
[INFO] [stderr] warning: cr-sys@0.1.1:       |              ^~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] warning: unexpected `cfg` condition name: `guest`
[INFO] [stdout]   --> src/lib.rs:18:11
[INFO] [stdout]    |
[INFO] [stdout] 18 | #[cfg(not(guest))]
[INFO] [stdout]    |           ^^^^^ help: found config with similar value: `feature = "guest"`
[INFO] [stdout]    |
[INFO] [stdout]    = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows`
[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(guest)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(guest)");` to the top of the `build.rs`
[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: `guest`
[INFO] [stdout]   --> src/lib.rs:18:11
[INFO] [stdout]    |
[INFO] [stdout] 18 | #[cfg(not(guest))]
[INFO] [stdout]    |           ^^^^^ help: found config with similar value: `feature = "guest"`
[INFO] [stdout]    |
[INFO] [stdout]    = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows`
[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(guest)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(guest)");` to the top of the `build.rs`
[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: dereferencing a null pointer
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/cr-sys-2ad6b56b293123ce/out/bindings.rs:3:1052
[INFO] [stdout]   |
[INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cr_plugin > ( ) ) ) . p as * const _ as usize } , 0usize , concat ! ( "Offset of fiel...
[INFO] [stdout]   |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deref_nullptr)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: dereferencing a null pointer
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/cr-sys-2ad6b56b293123ce/out/bindings.rs:3:1261
[INFO] [stdout]   |
[INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cr_plugin > ( ) ) ) . userdata as * const _ as usize } , 8usize , concat ! ( "Offset ...
[INFO] [stdout]   |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: dereferencing a null pointer
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/cr-sys-2ad6b56b293123ce/out/bindings.rs:3:1484
[INFO] [stdout]   |
[INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cr_plugin > ( ) ) ) . version as * const _ as usize } , 16usize , concat ! ( "Offset ...
[INFO] [stdout]   |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: dereferencing a null pointer
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/cr-sys-2ad6b56b293123ce/out/bindings.rs:3:1706
[INFO] [stdout]   |
[INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: std :: ptr :: null :: < cr_plugin > ( ) ) ) . failure as * const _ as usize } , 20usize , concat ! ( "Offset ...
[INFO] [stdout]   |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `raw_state`
[INFO] [stdout]  --> examples/raw_state.rs:4:2
[INFO] [stdout]   |
[INFO] [stdout] 4 | }
[INFO] [stdout]   |  ^ consider adding a `main` function to `examples/raw_state.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `guest`
[INFO] [stdout]   --> examples/raw_guest.rs:34:15
[INFO] [stdout]    |
[INFO] [stdout] 34 |     #[cfg(not(guest))]
[INFO] [stdout]    |               ^^^^^ help: found config with similar value: `feature = "guest"`
[INFO] [stdout]    |
[INFO] [stdout]    = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows`
[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(guest)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(guest)");` to the top of the `build.rs`
[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: unreachable statement
[INFO] [stdout]   --> examples/raw_host.rs:46:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | /     loop {
[INFO] [stdout] 32 | |         println!("Run Update: cr_failure={:?}", plugin.failure);
[INFO] [stdout] 33 | |         let rc = unsafe { cr_plugin_update(&mut plugin, true) };
[INFO] [stdout] 34 | |         println!("cr_plugin_update(ctx, true) = {}", rc);
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | |         thread::sleep(Duration::from_millis(200));
[INFO] [stdout] 45 | |     }
[INFO] [stdout]    | |_____- any code following this expression is unreachable
[INFO] [stdout] 46 |       println!("Call cr_plugin_close(ctx)");
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stdout] warning: field `counter` is never read
[INFO] [stdout]  --> examples/raw_state.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct RawState {
[INFO] [stdout]   |            -------- field in this struct
[INFO] [stdout] 3 |     pub counter: i32,
[INFO] [stdout]   |         ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `RawState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: cr-sys@0.1.1: In file included from src/host.cpp:2:
[INFO] [stderr] warning: cr-sys@0.1.1: src/../vendor/cr.h: In function 'bool cr_is_empty(const void*, int64_t)':
[INFO] [stderr] warning: cr-sys@0.1.1: src/../vendor/cr.h:1216:14: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers]
[INFO] [stderr] warning: cr-sys@0.1.1:  1216 |     auto c = (const char *const)buf;
[INFO] [stderr] warning: cr-sys@0.1.1:       |              ^~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] error: could not compile `cr-sys` (example "raw_state") due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "f14b628c36d77dbdc3b0416716d73ff18335f82c753e5826f17324336b59d0db", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f14b628c36d77dbdc3b0416716d73ff18335f82c753e5826f17324336b59d0db", kill_on_drop: false }`
[INFO] [stdout] f14b628c36d77dbdc3b0416716d73ff18335f82c753e5826f17324336b59d0db
