[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] checking brianjjones/tensorflow-rl against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrianjjones%2Ftensorflow-rl" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/brianjjones/tensorflow-rl on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "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-2-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tensorflow-internal-macros v0.0.1 [INFO] [stderr] Downloaded protobuf v2.23.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 90ca5e73dff0ed9361b1982c76749a999e9a014ef64ce150ae81ee1308c91434 [INFO] running `Command { std: "docker" "start" "-a" "90ca5e73dff0ed9361b1982c76749a999e9a014ef64ce150ae81ee1308c91434", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "90ca5e73dff0ed9361b1982c76749a999e9a014ef64ce150ae81ee1308c91434", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90ca5e73dff0ed9361b1982c76749a999e9a014ef64ce150ae81ee1308c91434", kill_on_drop: false }` [INFO] [stdout] 90ca5e73dff0ed9361b1982c76749a999e9a014ef64ce150ae81ee1308c91434 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c88679d22bc1f8226fe4fdb5dab6eb100f936c9a71c82bcdbf3a4eb2a79430e2 [INFO] running `Command { std: "docker" "start" "-a" "c88679d22bc1f8226fe4fdb5dab6eb100f936c9a71c82bcdbf3a4eb2a79430e2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling libc v0.2.120 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling protobuf v2.23.0 [INFO] [stderr] Checking libloading v0.7.3 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Checking crc-catalog v1.1.1 [INFO] [stderr] Checking crc v2.1.0 [INFO] [stderr] Checking wasi-nn-tf-runtime-sys v0.1.0 (/opt/rustwide/workdir/crates/wasi-nn-tf-runtime-sys) [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Compiling tensorflow-internal-macros v0.0.1 [INFO] [stderr] Checking wasi-nn-tf-runtime v0.1.0 (/opt/rustwide/workdir/crates/wasi-nn-tf-runtime) [INFO] [stdout] error[E0432]: unresolved import `serial_test` [INFO] [stdout] --> crates/wasi-nn-tf-runtime/src/session.rs:514:9 [INFO] [stdout] | [INFO] [stdout] 514 | use serial_test::serial; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `serial_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Drop` is imported redundantly [INFO] [stdout] --> crates/wasi-nn-tf-runtime/src/lib.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | use std::ops::Drop; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Drop` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> crates/wasi-nn-tf-runtime/src/graph.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std; [INFO] [stdout] | ^^^ the item `std` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DataType` is imported redundantly [INFO] [stdout] --> crates/wasi-nn-tf-runtime/src/graph.rs:2388:9 [INFO] [stdout] | [INFO] [stdout] 2388 | use super::super::DataType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 2389 | use super::super::Shape; [INFO] [stdout] 2390 | use super::*; [INFO] [stdout] | -------- the item `DataType` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Shape` is imported redundantly [INFO] [stdout] --> crates/wasi-nn-tf-runtime/src/graph.rs:2389:9 [INFO] [stdout] | [INFO] [stdout] 2389 | use super::super::Shape; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 2390 | use super::*; [INFO] [stdout] | -------- the item `Shape` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DataType` is imported redundantly [INFO] [stdout] --> crates/wasi-nn-tf-runtime/src/session.rs:507:9 [INFO] [stdout] | [INFO] [stdout] 507 | use super::super::DataType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 513 | use super::*; [INFO] [stdout] | -------- the item `DataType` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Graph` is imported redundantly [INFO] [stdout] --> crates/wasi-nn-tf-runtime/src/session.rs:508:9 [INFO] [stdout] | [INFO] [stdout] 508 | use super::super::Graph; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 513 | use super::*; [INFO] [stdout] | -------- the item `Graph` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Operation` is imported redundantly [INFO] [stdout] --> crates/wasi-nn-tf-runtime/src/session.rs:509:9 [INFO] [stdout] | [INFO] [stdout] 509 | use super::super::Operation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 513 | use super::*; [INFO] [stdout] | -------- the item `Operation` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SessionOptions` is imported redundantly [INFO] [stdout] --> crates/wasi-nn-tf-runtime/src/session.rs:510:9 [INFO] [stdout] | [INFO] [stdout] 510 | use super::super::SessionOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 513 | use super::*; [INFO] [stdout] | -------- the item `SessionOptions` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Tensor` is imported redundantly [INFO] [stdout] --> crates/wasi-nn-tf-runtime/src/session.rs:512:9 [INFO] [stdout] | [INFO] [stdout] 512 | use super::super::Tensor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 513 | use super::*; [INFO] [stdout] | -------- the item `Tensor` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Read` is imported redundantly [INFO] [stdout] --> crates/wasi-nn-tf-runtime/src/io.rs:364:9 [INFO] [stdout] | [INFO] [stdout] 362 | use super::*; [INFO] [stdout] | -------- the item `Read` is already imported here [INFO] [stdout] 363 | use std::fs::File; [INFO] [stdout] 364 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [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: 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] = note: `#[warn(unused_attributes)]` on by default [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: the item `Drop` is imported redundantly [INFO] [stdout] --> crates/wasi-nn-tf-runtime/src/lib.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | use std::ops::Drop; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Drop` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> crates/wasi-nn-tf-runtime/src/graph.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std; [INFO] [stdout] | ^^^ the item `std` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [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: 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] = note: `#[warn(unused_attributes)]` on by default [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: the item `ops` is imported redundantly [INFO] [stdout] --> crates/wasi-nn-tf-runtime/src/train.rs:275:9 [INFO] [stdout] | [INFO] [stdout] 274 | use super::*; [INFO] [stdout] | -------- the item `ops` is already imported here [INFO] [stdout] 275 | use crate::ops; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Scope` is imported redundantly [INFO] [stdout] --> crates/wasi-nn-tf-runtime/src/train.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 274 | use super::*; [INFO] [stdout] | -------- the item `Scope` is already imported here [INFO] [stdout] 275 | use crate::ops; [INFO] [stdout] 276 | use crate::Scope; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Shape` [INFO] [stdout] --> crates/wasi-nn-tf-runtime/src/train.rs:280:9 [INFO] [stdout] | [INFO] [stdout] 280 | use crate::Shape; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Tensor` is imported redundantly [INFO] [stdout] --> crates/wasi-nn-tf-runtime/src/train.rs:281:9 [INFO] [stdout] | [INFO] [stdout] 274 | use super::*; [INFO] [stdout] | -------- the item `Tensor` is already imported here [INFO] [stdout] ... [INFO] [stdout] 281 | use crate::Tensor; [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: 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] error[E0599]: no method named `to_function` found for struct `graph::Graph` in the current scope [INFO] [stdout] --> crates/wasi-nn-tf-runtime/src/graph.rs:2482:14 [INFO] [stdout] | [INFO] [stdout] 285 | pub struct Graph { [INFO] [stdout] | ---------------- method `to_function` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 2481 | let f = g [INFO] [stdout] | _________________- [INFO] [stdout] 2482 | | .to_function( [INFO] [stdout] | |_____________-^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `copy_function` with a similar name, but with different arguments [INFO] [stdout] --> crates/wasi-nn-tf-runtime/src/graph.rs:564:5 [INFO] [stdout] | [INFO] [stdout] 564 | pub fn copy_function(&mut self, func: &Function, grad: Option<&Function>) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: 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:653:13 [INFO] [stdout] | [INFO] [stdout] 653 | meta_graph_def, [INFO] [stdout] | ^^^^^^^^^^^^^^ [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: 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] error: aborting due to 2 previous errors; 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wasi-nn-tf-runtime` (lib test) due to 3 previous errors; 21 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> crates/wasi-nn-tf-runtime/src/lib.rs:1542:5 [INFO] [stdout] | [INFO] [stdout] 1541 | pub struct Library { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 1542 | inner: *mut tf::TF_Library, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Library` 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] [stdout] warning: field `lifetime` is never read [INFO] [stdout] --> crates/wasi-nn-tf-runtime/src/graph.rs:287:5 [INFO] [stdout] | [INFO] [stdout] 285 | pub struct Graph { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 286 | gimpl: Arc, [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] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> crates/wasi-nn-tf-runtime/src/graph.rs:2276:5 [INFO] [stdout] | [INFO] [stdout] 2275 | pub struct FunctionOptions { [INFO] [stdout] | --------------- field in this struct [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] [INFO] [stdout] [INFO] [stdout] warning: field `c_inputs` is never read [INFO] [stdout] --> crates/wasi-nn-tf-runtime/src/while_loop.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct WhileBuilder<'a> { [INFO] [stdout] | ------------ field in this struct [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] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c88679d22bc1f8226fe4fdb5dab6eb100f936c9a71c82bcdbf3a4eb2a79430e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c88679d22bc1f8226fe4fdb5dab6eb100f936c9a71c82bcdbf3a4eb2a79430e2", kill_on_drop: false }` [INFO] [stdout] c88679d22bc1f8226fe4fdb5dab6eb100f936c9a71c82bcdbf3a4eb2a79430e2 [INFO] checking brianjjones/tensorflow-rl against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrianjjones%2Ftensorflow-rl" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/brianjjones/tensorflow-rl on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "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-2-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 76f1bd844e7a1058679af6f95157885ce9fae82b586d6f83b314f596e17257de [INFO] running `Command { std: "docker" "start" "-a" "76f1bd844e7a1058679af6f95157885ce9fae82b586d6f83b314f596e17257de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "76f1bd844e7a1058679af6f95157885ce9fae82b586d6f83b314f596e17257de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76f1bd844e7a1058679af6f95157885ce9fae82b586d6f83b314f596e17257de", kill_on_drop: false }` [INFO] [stdout] 76f1bd844e7a1058679af6f95157885ce9fae82b586d6f83b314f596e17257de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 806d8b2c57f64d4cca14faa1eefb2f4198f87be3cd2b4ea3a90a91ca25e57c80 [INFO] running `Command { std: "docker" "start" "-a" "806d8b2c57f64d4cca14faa1eefb2f4198f87be3cd2b4ea3a90a91ca25e57c80", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] no edition found in manifest, probably 2015, skipping [INFO] running `Command { std: "docker" "inspect" "806d8b2c57f64d4cca14faa1eefb2f4198f87be3cd2b4ea3a90a91ca25e57c80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "806d8b2c57f64d4cca14faa1eefb2f4198f87be3cd2b4ea3a90a91ca25e57c80", kill_on_drop: false }` [INFO] [stdout] 806d8b2c57f64d4cca14faa1eefb2f4198f87be3cd2b4ea3a90a91ca25e57c80