[INFO] fetching crate amp-async 0.1.2... [INFO] checking amp-async-0.1.2 against master#45d050cde277b22a755847338f2acc2c7b834141 for pr-71393 [INFO] extracting crate amp-async 0.1.2 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate amp-async 0.1.2 on toolchain 45d050cde277b22a755847338f2acc2c7b834141 [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "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-13/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" "+45d050cde277b22a755847338f2acc2c7b834141" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+45d050cde277b22a755847338f2acc2c7b834141" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] ce249c0c84c5fb62169414b6cdd27c030a5c057723784f2f8419fc12800961f7 [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" "ce249c0c84c5fb62169414b6cdd27c030a5c057723784f2f8419fc12800961f7"` [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Checking futures-core v0.3.1 [INFO] [stderr] Checking arc-swap v0.4.4 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking bytes v0.5.2 [INFO] [stderr] Checking futures-sink v0.3.1 [INFO] [stderr] Checking pin-project-lite v0.1.1 [INFO] [stderr] Checking pin-utils v0.1.0-alpha.4 [INFO] [stderr] Checking futures-task v0.3.1 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.33 [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] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-util-0.2.0/src/codec/decoder.rs:103:8 [INFO] [stderr] | [INFO] [stderr] 103 | fn decode(&mut self, src: &mut BytesMut) -> Result, Self::Error>; [INFO] [stderr] | ------ [INFO] [stderr] | | [INFO] [stderr] | the method is available for `std::boxed::Box>>` here [INFO] [stderr] | the method is available for `std::sync::Arc>>` here [INFO] [stderr] | the method is available for `std::rc::Rc>>` here [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] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-util-0.2.0/src/codec/encoder.rs:21:8 [INFO] [stderr] | [INFO] [stderr] 21 | fn encode(&mut self, item: Self::Item, dst: &mut BytesMut) -> Result<(), Self::Error>; [INFO] [stderr] | ------ [INFO] [stderr] | | [INFO] [stderr] | the method is available for `std::boxed::Box>` here [INFO] [stderr] | the method is available for `std::sync::Arc>` here [INFO] [stderr] | the method is available for `std::rc::Rc>` here [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] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "ce249c0c84c5fb62169414b6cdd27c030a5c057723784f2f8419fc12800961f7"` [INFO] running `"docker" "rm" "-f" "ce249c0c84c5fb62169414b6cdd27c030a5c057723784f2f8419fc12800961f7"` [INFO] [stdout] ce249c0c84c5fb62169414b6cdd27c030a5c057723784f2f8419fc12800961f7