[INFO] crate onnx-helpers 0.2.0 is already in cache [INFO] checking onnx-helpers-0.2.0 against try#f149601db42efe10ece8b284ab681fd4a6fcb89c for pr-68766 [INFO] extracting crate onnx-helpers 0.2.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate onnx-helpers 0.2.0 on toolchain f149601db42efe10ece8b284ab681fd4a6fcb89c [INFO] running `"/workspace/cargo-home/bin/cargo" "+f149601db42efe10ece8b284ab681fd4a6fcb89c" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate onnx-helpers 0.2.0 [INFO] finished tweaking crates.io crate onnx-helpers 0.2.0 [INFO] tweaked toml for crates.io crate onnx-helpers 0.2.0 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate crates.io crate onnx-helpers 0.2.0 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+f149601db42efe10ece8b284ab681fd4a6fcb89c" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+f149601db42efe10ece8b284ab681fd4a6fcb89c" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] c57bd89af424048f41d4c449b8aa1495fdf81e6bb14e3ebe4807ebc34192a9ea [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "c57bd89af424048f41d4c449b8aa1495fdf81e6bb14e3ebe4807ebc34192a9ea"` [INFO] [stderr] Compiling syn v1.0.13 [INFO] [stderr] Compiling bytes v0.5.3 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling multimap v0.8.0 [INFO] [stderr] Compiling proc-macro2 v1.0.7 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling prost-build v0.6.1 [INFO] [stderr] Compiling petgraph v0.5.0 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling prost-derive v0.6.1 [INFO] [stderr] Compiling prost v0.6.1 [INFO] [stderr] Compiling prost-types v0.6.1 [INFO] [stderr] Compiling onnx-pb v0.1.0 [INFO] [stderr] Checking onnx-helpers v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0277]: the trait bound `&std::vec::Vec: bytes::buf::buf_impl::Buf` is not satisfied [INFO] [stderr] --> src/lib.rs:24:46 [INFO] [stderr] | [INFO] [stderr] 24 | let from_python = ModelProto::decode(&read_buf("tests/model.onnx")).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `bytes::buf::buf_impl::Buf` is not implemented for `&std::vec::Vec` [INFO] [stderr] | [INFO] [stderr] = note: required by `prost::message::Message::decode` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::string::String: std::convert::From` is not satisfied [INFO] [stderr] --> src/lib.rs:34:14 [INFO] [stderr] | [INFO] [stderr] 34 | .node(mean_reduce) [INFO] [stderr] | ^^^^ the trait `std::convert::From` is not implemented for `std::string::String` [INFO] [stderr] | [INFO] [stderr] = help: the following implementations were found: [INFO] [stderr] > [INFO] [stderr] > [INFO] [stderr] > [INFO] [stderr] > [INFO] [stderr] and 2 others [INFO] [stderr] = note: required because of the requirements on the impl of `std::convert::Into` for `builder::node::Node` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::string::String: std::convert::From` is not satisfied [INFO] [stderr] --> src/lib.rs:35:14 [INFO] [stderr] | [INFO] [stderr] 35 | .input(x_input); [INFO] [stderr] | ^^^^^ the trait `std::convert::From` is not implemented for `std::string::String` [INFO] [stderr] | [INFO] [stderr] = help: the following implementations were found: [INFO] [stderr] > [INFO] [stderr] > [INFO] [stderr] > [INFO] [stderr] > [INFO] [stderr] and 2 others [INFO] [stderr] = note: required because of the requirements on the impl of `std::convert::Into` for `builder::value::Value` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `onnx_pb::GraphProto: std::convert::From` is not satisfied [INFO] [stderr] --> src/lib.rs:37:21 [INFO] [stderr] | [INFO] [stderr] 37 | let model = builder::Model::new(graph).producer_name("reducer").build(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ the trait `std::convert::From` is not implemented for `onnx_pb::GraphProto` [INFO] [stderr] | [INFO] [stderr] ::: src/builder/model.rs:23:12 [INFO] [stderr] | [INFO] [stderr] 23 | pub fn new>(graph: G) -> Self { [INFO] [stderr] | --- ---------------- required by this bound in `builder::model::Model::new` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `std::convert::Into` for `builder::node::Node` [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `onnx-helpers`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> examples/mean_reverse.rs:9:9 [INFO] [stderr] | [INFO] [stderr] 9 | let mut x = graph [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0369]: cannot add `&onnx_helpers::nodes::Node` to `&mut onnx_helpers::nodes::Node` [INFO] [stderr] --> examples/add.rs:28:20 [INFO] [stderr] | [INFO] [stderr] 28 | let r = &mut x + &y; [INFO] [stderr] | ------ ^ -- &onnx_helpers::nodes::Node [INFO] [stderr] | | [INFO] [stderr] | &mut onnx_helpers::nodes::Node [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::ops::Add` might be missing for `&mut onnx_helpers::nodes::Node` [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0369`. [INFO] [stderr] error: could not compile `onnx-helpers`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "c57bd89af424048f41d4c449b8aa1495fdf81e6bb14e3ebe4807ebc34192a9ea"` [INFO] running `"docker" "rm" "-f" "c57bd89af424048f41d4c449b8aa1495fdf81e6bb14e3ebe4807ebc34192a9ea"` [INFO] [stdout] c57bd89af424048f41d4c449b8aa1495fdf81e6bb14e3ebe4807ebc34192a9ea