[INFO] crate amp-async 0.1.2 is already in cache [INFO] checking amp-async-0.1.2 against master#0cbcb17d3306d6e22eafc2c05ce885db97d0189c for pr-68766 [INFO] extracting crate amp-async 0.1.2 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate amp-async 0.1.2 on toolchain 0cbcb17d3306d6e22eafc2c05ce885db97d0189c [INFO] running `"/workspace/cargo-home/bin/cargo" "+0cbcb17d3306d6e22eafc2c05ce885db97d0189c" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate amp-async 0.1.2 [INFO] finished tweaking crates.io crate amp-async 0.1.2 [INFO] tweaked toml for crates.io crate amp-async 0.1.2 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate crates.io crate amp-async 0.1.2 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+0cbcb17d3306d6e22eafc2c05ce885db97d0189c" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+0cbcb17d3306d6e22eafc2c05ce885db97d0189c" "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] 2c812f558b05b79c0af97445c3e948a05ace69655991dfd4403a14d1dc2be200 [INFO] running `"docker" "start" "-a" "2c812f558b05b79c0af97445c3e948a05ace69655991dfd4403a14d1dc2be200"` [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Checking arc-swap v0.4.4 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Checking futures-core v0.3.1 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking futures-sink v0.3.1 [INFO] [stderr] Checking pin-project-lite v0.1.1 [INFO] [stderr] Checking bytes v0.5.2 [INFO] [stderr] Checking futures-task v0.3.1 [INFO] [stderr] Checking pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Compiling tokio-macros v0.2.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Checking tokio v0.2.1 [INFO] [stderr] Compiling futures-macro v0.3.1 [INFO] [stderr] Checking futures-util v0.3.1 [INFO] [stderr] Checking tokio-util v0.2.0 [INFO] [stderr] Checking amp-async v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `tokio::codec` [INFO] [stderr] --> src/codecs.rs:166:16 [INFO] [stderr] | [INFO] [stderr] 166 | use tokio::codec::{Decoder, Encoder}; [INFO] [stderr] | ^^^^^ could not find `codec` in `tokio` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `decode` found for struct `codecs::Codec>` in the current scope [INFO] [stderr] --> src/codecs.rs:186:27 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct Codec> { [INFO] [stderr] | ----------------------------------------- method `decode` not found for this [INFO] [stderr] ... [INFO] [stderr] 186 | let frame = codec.decode(&mut buf).unwrap().unwrap(); [INFO] [stderr] | ^^^^^^ method not found in `codecs::Codec>` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] `use tokio_util::codec::decoder::Decoder;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `encode` found for struct `codecs::Codec<_>` in the current scope [INFO] [stderr] --> src/codecs.rs:204:15 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct Codec> { [INFO] [stderr] | ----------------------------------------- method `encode` not found for this [INFO] [stderr] ... [INFO] [stderr] 204 | codec.encode(WWW_EXAMPLE_DEC.to_vec(), &mut buf).unwrap(); [INFO] [stderr] | ^^^^^^ method not found in `codecs::Codec<_>` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] `use tokio_util::codec::encoder::Encoder;` [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `amp-async`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "2c812f558b05b79c0af97445c3e948a05ace69655991dfd4403a14d1dc2be200"` [INFO] running `"docker" "rm" "-f" "2c812f558b05b79c0af97445c3e948a05ace69655991dfd4403a14d1dc2be200"` [INFO] [stdout] 2c812f558b05b79c0af97445c3e948a05ace69655991dfd4403a14d1dc2be200