[INFO] fetching crate cr-sys 0.1.1... [INFO] testing cr-sys-0.1.1 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate cr-sys 0.1.1 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate cr-sys 0.1.1 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 324bc1c860a970764176e9dc9d174e632a9095fa151d2085dbb67ac0a2a1d8d5 [INFO] running `Command { std: "docker" "start" "-a" "324bc1c860a970764176e9dc9d174e632a9095fa151d2085dbb67ac0a2a1d8d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "324bc1c860a970764176e9dc9d174e632a9095fa151d2085dbb67ac0a2a1d8d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "324bc1c860a970764176e9dc9d174e632a9095fa151d2085dbb67ac0a2a1d8d5", kill_on_drop: false }` [INFO] [stdout] 324bc1c860a970764176e9dc9d174e632a9095fa151d2085dbb67ac0a2a1d8d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 912ca1c2d868addc98a2656dfed81476ff4bce6dce15c3c16fbee3d14bfcba06 [INFO] running `Command { std: "docker" "start" "-a" "912ca1c2d868addc98a2656dfed81476ff4bce6dce15c3c16fbee3d14bfcba06", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling bindgen v0.49.4 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling backtrace v0.3.64 [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: In file included from src/host.cpp:2: [INFO] [stderr] warning: src/../vendor/cr.h: In function 'bool cr_is_empty(const void*, int64_t)': [INFO] [stderr] warning: src/../vendor/cr.h:1216:33: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] [INFO] [stderr] warning: 1216 | auto c = (const char *const)buf; [INFO] [stderr] warning: | ^~~ [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 17.36s [INFO] running `Command { std: "docker" "inspect" "912ca1c2d868addc98a2656dfed81476ff4bce6dce15c3c16fbee3d14bfcba06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "912ca1c2d868addc98a2656dfed81476ff4bce6dce15c3c16fbee3d14bfcba06", kill_on_drop: false }` [INFO] [stdout] 912ca1c2d868addc98a2656dfed81476ff4bce6dce15c3c16fbee3d14bfcba06 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 016f517b49a77182fba45ee394a4d1c5975914608c09f46ade654dc5f0f2d7b5 [INFO] running `Command { std: "docker" "start" "-a" "016f517b49a77182fba45ee394a4d1c5975914608c09f46ade654dc5f0f2d7b5", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: In file included from src/host.cpp:2: [INFO] [stderr] warning: src/../vendor/cr.h: In function 'bool cr_is_empty(const void*, int64_t)': [INFO] [stderr] warning: src/../vendor/cr.h:1216:33: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] [INFO] [stderr] warning: 1216 | auto c = (const char *const)buf; [INFO] [stderr] warning: | ^~~ [INFO] [stderr] Compiling cr-sys v0.1.1 (/opt/rustwide/workdir) [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] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [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] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: In file included from src/host.cpp:2: [INFO] [stderr] warning: src/../vendor/cr.h: In function 'bool cr_is_empty(const void*, int64_t)': [INFO] [stderr] warning: src/../vendor/cr.h:1216:33: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] [INFO] [stderr] warning: 1216 | auto c = (const char *const)buf; [INFO] [stderr] warning: | ^~~ [INFO] [stderr] [INFO] [stderr] error: could not compile `cr-sys` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/cr-sys-642b9f8da2420b84/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-642b9f8da2420b84/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-642b9f8da2420b84/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-642b9f8da2420b84/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] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "016f517b49a77182fba45ee394a4d1c5975914608c09f46ade654dc5f0f2d7b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "016f517b49a77182fba45ee394a4d1c5975914608c09f46ade654dc5f0f2d7b5", kill_on_drop: false }` [INFO] [stdout] 016f517b49a77182fba45ee394a4d1c5975914608c09f46ade654dc5f0f2d7b5