[INFO] cloning repository https://github.com/brianjjones/tensorflow-rl [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/brianjjones/tensorflow-rl" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrianjjones%2Ftensorflow-rl", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrianjjones%2Ftensorflow-rl'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 90757f30b87b02c3d512908b2181cdaf5d4fc430 [INFO] testing brianjjones/tensorflow-rl against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrianjjones%2Ftensorflow-rl" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/brianjjones/tensorflow-rl 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 git repo https://github.com/brianjjones/tensorflow-rl [INFO] finished tweaking git repo https://github.com/brianjjones/tensorflow-rl [INFO] tweaked toml for git repo https://github.com/brianjjones/tensorflow-rl written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/brianjjones/tensorflow-rl already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 93f54364aac2f5c64178dcec27d51fe1d9086aaff5f2a317ef3d1b9d9fc01eec [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" "93f54364aac2f5c64178dcec27d51fe1d9086aaff5f2a317ef3d1b9d9fc01eec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "93f54364aac2f5c64178dcec27d51fe1d9086aaff5f2a317ef3d1b9d9fc01eec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93f54364aac2f5c64178dcec27d51fe1d9086aaff5f2a317ef3d1b9d9fc01eec", kill_on_drop: false }` [INFO] [stdout] 93f54364aac2f5c64178dcec27d51fe1d9086aaff5f2a317ef3d1b9d9fc01eec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4ef97780dc4fb1d56df1bcf9baf4e9cc974a4259c499e53c61855ca541914208 [INFO] running `Command { std: "docker" "start" "-a" "4ef97780dc4fb1d56df1bcf9baf4e9cc974a4259c499e53c61855ca541914208", kill_on_drop: false }` [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling libc v0.2.120 [INFO] [stderr] Compiling protobuf v2.23.0 [INFO] [stderr] Compiling crc-catalog v1.1.1 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling tensorflow-internal-macros v0.0.1 [INFO] [stderr] Compiling crc v2.1.0 [INFO] [stderr] Compiling wasi-nn-tf-runtime-sys v0.1.0 (/opt/rustwide/workdir/crates/wasi-nn-tf-runtime-sys) [INFO] [stderr] Compiling num-complex v0.4.0 [INFO] [stderr] Compiling wasi-nn-tf-runtime v0.1.0 (/opt/rustwide/workdir/crates/wasi-nn-tf-runtime) [INFO] [stdout] warning: unused attribute `deprecated` [INFO] [stdout] --> crates/wasi-nn-tf-runtime/src/ops/math_ops.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | #[deprecated(note = "Use mul instead.", since = "0.15.0")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] note: the built-in attribute `deprecated` will be ignored, since it's applied to the macro invocation `define_op` [INFO] [stdout] --> crates/wasi-nn-tf-runtime/src/ops/math_ops.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | define_op!(multiply, Multiply, "Mul", args { a, b }); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute `deprecated` [INFO] [stdout] --> crates/wasi-nn-tf-runtime/src/ops/math_ops.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | #[deprecated(note = "Use sub instead.", since = "0.15.0")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the built-in attribute `deprecated` will be ignored, since it's applied to the macro invocation `define_op` [INFO] [stdout] --> crates/wasi-nn-tf-runtime/src/ops/math_ops.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | define_op!(subtract, Subtract, "Sub", args { a, b }); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute `deprecated` [INFO] [stdout] --> crates/wasi-nn-tf-runtime/src/ops/random_ops.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[deprecated(note = "Use random_standard_normal instead.", since = "0.15.0")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the built-in attribute `deprecated` will be ignored, since it's applied to the macro invocation `define_op` [INFO] [stdout] --> crates/wasi-nn-tf-runtime/src/ops/random_ops.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | define_op!(random_normal, RandomNormal, "RandomStandardNormal", args{x}, attrs { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `shape_from_array` [INFO] [stdout] --> crates/wasi-nn-tf-runtime/src/lib.rs:2016:14 [INFO] [stdout] | [INFO] [stdout] 2016 | macro_rules! shape_from_array { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `session::SavedModelBundle::meta_graph_def`: Please use SavedModelBundle::meta_graph_def() instead [INFO] [stdout] --> crates/wasi-nn-tf-runtime/src/session.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | meta_graph_def: Vec::from(meta.as_ref()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `retval` [INFO] [stdout] --> crates/wasi-nn-tf-runtime/src/graph.rs:300:17 [INFO] [stdout] | [INFO] [stdout] 300 | let retval = tf::library::load().or_else(|e| Err(e)); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_retval` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `inner` [INFO] [stdout] --> crates/wasi-nn-tf-runtime/src/lib.rs:1542:5 [INFO] [stdout] | [INFO] [stdout] 1542 | inner: *mut tf::TF_Library, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Library` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> crates/wasi-nn-tf-runtime/src/lib.rs:1540:10 [INFO] [stdout] | [INFO] [stdout] 1540 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `lifetime` [INFO] [stdout] --> crates/wasi-nn-tf-runtime/src/graph.rs:287:5 [INFO] [stdout] | [INFO] [stdout] 287 | lifetime: GraphLifetime, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Graph` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> crates/wasi-nn-tf-runtime/src/graph.rs:284:10 [INFO] [stdout] | [INFO] [stdout] 284 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `inner` [INFO] [stdout] --> crates/wasi-nn-tf-runtime/src/graph.rs:2276:5 [INFO] [stdout] | [INFO] [stdout] 2276 | inner: *mut tf::TF_FunctionOptions, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FunctionOptions` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> crates/wasi-nn-tf-runtime/src/graph.rs:2273:10 [INFO] [stdout] | [INFO] [stdout] 2273 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `c_inputs` [INFO] [stdout] --> crates/wasi-nn-tf-runtime/src/while_loop.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | c_inputs: Vec, // must live until TF_FinishWhile [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `WhileBuilder` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> crates/wasi-nn-tf-runtime/src/while_loop.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wasi-nn-tf-runtime`; 10 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustc --crate-name wasi_nn_tf_runtime --edition=2018 crates/wasi-nn-tf-runtime/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=6608271727fff1d3 -C extra-filename=-6608271727fff1d3 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern byteorder=/opt/rustwide/target/debug/deps/libbyteorder-614d7e4e7f7903e2.rmeta --extern crc=/opt/rustwide/target/debug/deps/libcrc-6d7937cd9a3f6555.rmeta --extern half=/opt/rustwide/target/debug/deps/libhalf-02cac1b009e151a6.rmeta --extern libc=/opt/rustwide/target/debug/deps/liblibc-b2df5c3e02b1cb24.rmeta --extern num_complex=/opt/rustwide/target/debug/deps/libnum_complex-97558cb8454d25f2.rmeta --extern protobuf=/opt/rustwide/target/debug/deps/libprotobuf-a8c39e911159dff9.rmeta --extern rustversion=/opt/rustwide/target/debug/deps/librustversion-90b677cf742e4a0d.so --extern tensorflow_internal_macros=/opt/rustwide/target/debug/deps/libtensorflow_internal_macros-08e6b3fb8f9cc48a.so --extern wasi_nn_tf_runtime_sys=/opt/rustwide/target/debug/deps/libwasi_nn_tf_runtime_sys-948c31f0f8f46a7e.rmeta --cap-lints=warn` (signal: 9, SIGKILL: kill) [INFO] running `Command { std: "docker" "inspect" "4ef97780dc4fb1d56df1bcf9baf4e9cc974a4259c499e53c61855ca541914208", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ef97780dc4fb1d56df1bcf9baf4e9cc974a4259c499e53c61855ca541914208", kill_on_drop: false }` [INFO] [stdout] 4ef97780dc4fb1d56df1bcf9baf4e9cc974a4259c499e53c61855ca541914208