[INFO] fetching crate nardol 0.0.2... [INFO] testing nardol-0.0.2 against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] extracting crate nardol 0.0.2 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate nardol 0.0.2 on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate nardol 0.0.2 [INFO] finished tweaking crates.io crate nardol 0.0.2 [INFO] tweaked toml for crates.io crate nardol 0.0.2 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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] c906d5d05ca198f7c6e643d509fab13b4e23328eaefc30ae47a605eb14e4be5a [INFO] running `Command { std: "docker" "start" "-a" "c906d5d05ca198f7c6e643d509fab13b4e23328eaefc30ae47a605eb14e4be5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c906d5d05ca198f7c6e643d509fab13b4e23328eaefc30ae47a605eb14e4be5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c906d5d05ca198f7c6e643d509fab13b4e23328eaefc30ae47a605eb14e4be5a", kill_on_drop: false }` [INFO] [stdout] c906d5d05ca198f7c6e643d509fab13b4e23328eaefc30ae47a605eb14e4be5a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b5bc9585c1a73d206f409409287799fc02a0af14dd7c79d043f4fb3f838ea320 [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" "b5bc9585c1a73d206f409409287799fc02a0af14dd7c79d043f4fb3f838ea320", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling unindent v0.1.7 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling backtrace v0.3.63 [INFO] [stderr] Compiling indoc v1.0.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling ron v0.6.6 [INFO] [stderr] Compiling nardol v0.0.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 36.91s [INFO] running `Command { std: "docker" "inspect" "b5bc9585c1a73d206f409409287799fc02a0af14dd7c79d043f4fb3f838ea320", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5bc9585c1a73d206f409409287799fc02a0af14dd7c79d043f4fb3f838ea320", kill_on_drop: false }` [INFO] [stdout] b5bc9585c1a73d206f409409287799fc02a0af14dd7c79d043f4fb3f838ea320 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 23fe2ff8fa33cdac6dff0b4015a1f169e68be04129719ae664923ea7261cc291 [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" "23fe2ff8fa33cdac6dff0b4015a1f169e68be04129719ae664923ea7261cc291", kill_on_drop: false }` [INFO] [stderr] Compiling nardol v0.0.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.15s [INFO] running `Command { std: "docker" "inspect" "23fe2ff8fa33cdac6dff0b4015a1f169e68be04129719ae664923ea7261cc291", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23fe2ff8fa33cdac6dff0b4015a1f169e68be04129719ae664923ea7261cc291", kill_on_drop: false }` [INFO] [stdout] 23fe2ff8fa33cdac6dff0b4015a1f169e68be04129719ae664923ea7261cc291 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d550b237e2bd4e091c5dd934861be3a60f2de10d2428c2f0beb8bb2462170a11 [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" "d550b237e2bd4e091c5dd934861be3a60f2de10d2428c2f0beb8bb2462170a11", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/nardol-951f443f4f29fd81) [INFO] [stderr] Doc-tests nardol [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/message/message.rs - message::message::Message (line 23) ... FAILED [INFO] [stdout] test src/packet/packet.rs - packet::packet::Packet::new (line 128) ... FAILED [INFO] [stdout] test src/error/error.rs - error::error::NetCommsError::new (line 49) ... FAILED [INFO] [stdout] test src/message/message.rs - message::message::Message::new (line 80) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/message/message.rs - message::message::Message (line 23) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Message` in this scope [INFO] [stdout] --> src/message/message.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 3 | type MyMessage = Message; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use nardol::prelude::Message; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MyMetaData` in this scope [INFO] [stdout] --> src/message/message.rs:24:26 [INFO] [stdout] | [INFO] [stdout] 3 | type MyMessage = Message; [INFO] [stdout] | - ^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MyContent` in this scope [INFO] [stdout] --> src/message/message.rs:24:38 [INFO] [stdout] | [INFO] [stdout] 3 | type MyMessage = Message; [INFO] [stdout] | - ^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/packet/packet.rs - packet::packet::Packet::new (line 128) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PacketKind` [INFO] [stdout] --> src/packet/packet.rs:129:26 [INFO] [stdout] | [INFO] [stdout] 3 | let packet = Packet::new(PacketKind::End); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PacketKind` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Packet` [INFO] [stdout] --> src/packet/packet.rs:129:14 [INFO] [stdout] | [INFO] [stdout] 3 | let packet = Packet::new(PacketKind::End); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use nardol::prelude::Packet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/error/error.rs - error::error::NetCommsError::new (line 49) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NetCommsErrorKind` [INFO] [stdout] --> src/error/error.rs:58:20 [INFO] [stdout] | [INFO] [stdout] 11 | NetCommsErrorKind::OpeningFileFailed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `NetCommsErrorKind` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NetCommsError` [INFO] [stdout] --> src/error/error.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 10 | return NetCommsError::new( [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use nardol::prelude::NetCommsError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/message/message.rs - message::message::Message::new (line 80) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `library` [INFO] [stdout] --> src/message/message.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 3 | use library::packet::{Packet, PacketKind}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `library` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyMetaData` [INFO] [stdout] --> src/message/message.rs:86:22 [INFO] [stdout] | [INFO] [stdout] 8 | message.set_metadata(MyMetaData::new()); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `MyMetaData` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyContent` [INFO] [stdout] --> src/message/message.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 9 | message.set_content(MyContent::new()); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MyContent` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PacketKind` [INFO] [stdout] --> src/message/message.rs:88:34 [INFO] [stdout] | [INFO] [stdout] 10 | message.set_end_data(Packet::new(PacketKind::End, Bytes::new())); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PacketKind` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Message` in this scope [INFO] [stdout] --> src/message/message.rs:83:18 [INFO] [stdout] | [INFO] [stdout] 5 | type MyMessage = Message; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use nardol::prelude::Message; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MyMetaData` in this scope [INFO] [stdout] --> src/message/message.rs:83:26 [INFO] [stdout] | [INFO] [stdout] 5 | type MyMessage = Message; [INFO] [stdout] | - ^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MyContent` in this scope [INFO] [stdout] --> src/message/message.rs:83:38 [INFO] [stdout] | [INFO] [stdout] 5 | type MyMessage = Message; [INFO] [stdout] | - ^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Packet` [INFO] [stdout] --> src/message/message.rs:88:22 [INFO] [stdout] | [INFO] [stdout] 10 | message.set_end_data(Packet::new(PacketKind::End, Bytes::new())); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use nardol::prelude::Packet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/message/message.rs:88:51 [INFO] [stdout] | [INFO] [stdout] 10 | message.set_end_data(Packet::new(PacketKind::End, Bytes::new())); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 2 | use nardol::prelude::Bytes; [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 2 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/error/error.rs - error::error::NetCommsError::new (line 49) [INFO] [stdout] src/message/message.rs - message::message::Message (line 23) [INFO] [stdout] src/message/message.rs - message::message::Message::new (line 80) [INFO] [stdout] src/packet/packet.rs - packet::packet::Packet::new (line 128) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.19s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "d550b237e2bd4e091c5dd934861be3a60f2de10d2428c2f0beb8bb2462170a11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d550b237e2bd4e091c5dd934861be3a60f2de10d2428c2f0beb8bb2462170a11", kill_on_drop: false }` [INFO] [stdout] d550b237e2bd4e091c5dd934861be3a60f2de10d2428c2f0beb8bb2462170a11