[INFO] crate prost-bytes05 0.0.2 is already in cache [INFO] checking prost-bytes05-0.0.2 against master#ba72b15666b2491415aec703a02c2364fe5e2790 for pr-71140 [INFO] extracting crate prost-bytes05 0.0.2 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate prost-bytes05 0.0.2 on toolchain ba72b15666b2491415aec703a02c2364fe5e2790 [INFO] running `"/workspace/cargo-home/bin/cargo" "+ba72b15666b2491415aec703a02c2364fe5e2790" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate prost-bytes05 0.0.2 [INFO] finished tweaking crates.io crate prost-bytes05 0.0.2 [INFO] tweaked toml for crates.io crate prost-bytes05 0.0.2 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+ba72b15666b2491415aec703a02c2364fe5e2790" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+ba72b15666b2491415aec703a02c2364fe5e2790" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+ba72b15666b2491415aec703a02c2364fe5e2790" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] be97c46b6ffb7a364daab5f0e445b7081ebbe081382c02fefe847f7d395ece67 [INFO] running `"docker" "start" "-a" "be97c46b6ffb7a364daab5f0e445b7081ebbe081382c02fefe847f7d395ece67"` [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Checking bstr v0.2.12 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Compiling prost-derive v0.5.0 [INFO] [stderr] Checking criterion v0.3.1 [INFO] [stderr] Checking prost-bytes05 v0.0.2 (/opt/rustwide/workdir) [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/error.rs:102:21 [INFO] [stderr] | [INFO] [stderr] 102 | f.write_str(error::Error::description(self))?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/error.rs:102:21 [INFO] [stderr] | [INFO] [stderr] 102 | f.write_str(error::Error::description(self))?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `prost` [INFO] [stderr] --> benches/varint.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use prost::encoding::{decode_varint, encode_varint, encoded_len_varint}; [INFO] [stderr] | ^^^^^ use of undeclared type or module `prost` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `encoded_len_varint` in this scope [INFO] [stderr] --> benches/varint.rs:15:14 [INFO] [stderr] | [INFO] [stderr] 15 | .map(encoded_len_varint) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use prost_bytes05::encoding::encoded_len_varint; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `encode_varint` in this scope [INFO] [stderr] --> benches/varint.rs:25:17 [INFO] [stderr] | [INFO] [stderr] 25 | encode_varint(value, &mut buf); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: a local variable with a similar name exists [INFO] [stderr] | [INFO] [stderr] 25 | encode_values(value, &mut buf); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use prost_bytes05::encoding::encode_varint; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `encode_varint` in this scope [INFO] [stderr] --> benches/varint.rs:36:13 [INFO] [stderr] | [INFO] [stderr] 36 | encode_varint(value, &mut buf); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: a local variable with a similar name exists [INFO] [stderr] | [INFO] [stderr] 36 | encode_values(value, &mut buf); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use prost_bytes05::encoding::encode_varint; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `decode_varint` in this scope [INFO] [stderr] --> benches/varint.rs:43:29 [INFO] [stderr] | [INFO] [stderr] 43 | let value = decode_varint(&mut buf).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: a local variable with a similar name exists [INFO] [stderr] | [INFO] [stderr] 43 | let value = decode_values(&mut buf).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use prost_bytes05::encoding::decode_varint; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `encoded_len_varint` in this scope [INFO] [stderr] --> benches/varint.rs:56:24 [INFO] [stderr] | [INFO] [stderr] 56 | sum += encoded_len_varint(value); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: a local variable with a similar name exists [INFO] [stderr] | [INFO] [stderr] 56 | sum += encoded_len_values(value); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use prost_bytes05::encoding::encoded_len_varint; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: aborting due to 6 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] error: could not compile `prost-bytes05`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "be97c46b6ffb7a364daab5f0e445b7081ebbe081382c02fefe847f7d395ece67"` [INFO] running `"docker" "rm" "-f" "be97c46b6ffb7a364daab5f0e445b7081ebbe081382c02fefe847f7d395ece67"` [INFO] [stdout] be97c46b6ffb7a364daab5f0e445b7081ebbe081382c02fefe847f7d395ece67