[INFO] updating cached repository https://github.com/wayslog/MagicHTTP [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f051bba4ebb382dd13377e5c05971eb9fcf233d9 [INFO] testing wayslog/MagicHTTP against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwayslog%2FMagicHTTP" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wayslog/MagicHTTP on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wayslog/MagicHTTP [INFO] finished tweaking git repo https://github.com/wayslog/MagicHTTP [INFO] tweaked toml for git repo https://github.com/wayslog/MagicHTTP written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/wayslog/MagicHTTP already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-0/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] bcc0ab247a81e60926d2ba82b00c6dec531acb15474cf275a166df2967b09f31 [INFO] running `Command { std: "docker" "start" "-a" "bcc0ab247a81e60926d2ba82b00c6dec531acb15474cf275a166df2967b09f31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bcc0ab247a81e60926d2ba82b00c6dec531acb15474cf275a166df2967b09f31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcc0ab247a81e60926d2ba82b00c6dec531acb15474cf275a166df2967b09f31", kill_on_drop: false }` [INFO] [stdout] bcc0ab247a81e60926d2ba82b00c6dec531acb15474cf275a166df2967b09f31 [INFO] running `Command { std: "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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bd98b909cd69be3744dc15de6b2a8685542402b68c6537ab0df0783a1121b703 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "bd98b909cd69be3744dc15de6b2a8685542402b68c6537ab0df0783a1121b703", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling mio v0.7.0 [INFO] [stderr] Compiling syncbox v0.2.4 [INFO] [stderr] Compiling eventual v0.1.7 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling mh v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `mio::EventLoop`, `mio::EventSet` [INFO] [stdout] --> src/mconn.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use mio::{Token, EventLoop, EventSet}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ no `EventSet` in the root [INFO] [stdout] | | [INFO] [stdout] | no `EventLoop` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mio::tcp` [INFO] [stdout] --> src/mconn.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | use mio::tcp::{TcpStream ,TcpListener}; [INFO] [stdout] | ^^^ could not find `tcp` in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mio::util` [INFO] [stdout] --> src/mconn.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | use mio::util::Slab; [INFO] [stdout] | ^^^^ could not find `util` in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bytes::MutBuf` [INFO] [stdout] --> src/mconn.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use bytes::{Buf, MutBuf}; [INFO] [stdout] | ^^^^^^ no `MutBuf` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `bytes::ByteBuf`, `bytes::MutByteBuf` [INFO] [stdout] --> src/mconn.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use bytes::{ByteBuf, MutByteBuf}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ no `MutByteBuf` in the root [INFO] [stdout] | | [INFO] [stdout] | no `ByteBuf` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `bytes::MutBuf`, `bytes::ByteBuf`, `bytes::MutByteBuf`, `bytes::RingBuf` [INFO] [stdout] --> src/core.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use bytes::{Buf, MutBuf, ByteBuf, MutByteBuf, RingBuf}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^ no `RingBuf` in the root [INFO] [stdout] | | | | [INFO] [stdout] | | | no `MutByteBuf` in the root [INFO] [stdout] | | no `ByteBuf` in the root [INFO] [stdout] | no `MutBuf` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Buf` [INFO] [stdout] --> src/mconn.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use bytes::{Buf, MutBuf}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Buf` [INFO] [stdout] --> src/core.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use bytes::{Buf, MutBuf, ByteBuf, MutByteBuf, RingBuf}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `HTTP_1_1` should have an upper camel case name [INFO] [stdout] --> src/core.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | HTTP_1_1, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Http1_1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `HTTP_2` should have an upper camel case name [INFO] [stdout] --> src/core.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | HTTP_2, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Http2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mh`. [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 `Command { std: "docker" "inspect" "bd98b909cd69be3744dc15de6b2a8685542402b68c6537ab0df0783a1121b703", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd98b909cd69be3744dc15de6b2a8685542402b68c6537ab0df0783a1121b703", kill_on_drop: false }` [INFO] [stdout] bd98b909cd69be3744dc15de6b2a8685542402b68c6537ab0df0783a1121b703