[INFO] fetching crate nardol 0.0.2... [INFO] testing nardol-0.0.2 against master#62efba8a050c64249dab942951bb28f710208bc8 for pr-90799 [INFO] extracting crate nardol 0.0.2 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate nardol 0.0.2 on toolchain 62efba8a050c64249dab942951bb28f710208bc8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "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-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "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" "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" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df5a7d8b72fd27a31b7706e48f5222c346ff3d95fc7ba862bcec77473c69fa33 [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" "df5a7d8b72fd27a31b7706e48f5222c346ff3d95fc7ba862bcec77473c69fa33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df5a7d8b72fd27a31b7706e48f5222c346ff3d95fc7ba862bcec77473c69fa33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df5a7d8b72fd27a31b7706e48f5222c346ff3d95fc7ba862bcec77473c69fa33", kill_on_drop: false }` [INFO] [stdout] df5a7d8b72fd27a31b7706e48f5222c346ff3d95fc7ba862bcec77473c69fa33 [INFO] running `Command { std: "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" "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" "+62efba8a050c64249dab942951bb28f710208bc8" "build" "--frozen" "--message-format=json", 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] 37ad133874acbd299c0f09180e721c888a22f84c95dad7afb8e0a1b9ee0ea825 [INFO] running `Command { std: "docker" "start" "-a" "37ad133874acbd299c0f09180e721c888a22f84c95dad7afb8e0a1b9ee0ea825", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling backtrace v0.3.63 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling addr2line v0.17.0 [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 53.50s [INFO] running `Command { std: "docker" "inspect" "37ad133874acbd299c0f09180e721c888a22f84c95dad7afb8e0a1b9ee0ea825", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37ad133874acbd299c0f09180e721c888a22f84c95dad7afb8e0a1b9ee0ea825", kill_on_drop: false }` [INFO] [stdout] 37ad133874acbd299c0f09180e721c888a22f84c95dad7afb8e0a1b9ee0ea825 [INFO] running `Command { std: "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" "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" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 57491a81685393a54ded5ee9cb721fa1f1d709604960566f93802203d22e4dc9 [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" "57491a81685393a54ded5ee9cb721fa1f1d709604960566f93802203d22e4dc9", kill_on_drop: false }` [INFO] [stderr] Compiling nardol v0.0.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.62s [INFO] running `Command { std: "docker" "inspect" "57491a81685393a54ded5ee9cb721fa1f1d709604960566f93802203d22e4dc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57491a81685393a54ded5ee9cb721fa1f1d709604960566f93802203d22e4dc9", kill_on_drop: false }` [INFO] [stdout] 57491a81685393a54ded5ee9cb721fa1f1d709604960566f93802203d22e4dc9 [INFO] running `Command { std: "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" "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" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e8e169aec06f005b72acfb43e68f0ac0d9e70f978c19678e217d42940927677d [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" "e8e169aec06f005b72acfb43e68f0ac0d9e70f978c19678e217d42940927677d", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/nardol-c45361fcbf0b4ed3) [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests nardol [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/error/error.rs - error::error::NetCommsError::new (line 49) ... FAILED [INFO] [stdout] test src/packet/packet.rs - packet::packet::Packet::new (line 128) ... 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/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/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/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.09s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "e8e169aec06f005b72acfb43e68f0ac0d9e70f978c19678e217d42940927677d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8e169aec06f005b72acfb43e68f0ac0d9e70f978c19678e217d42940927677d", kill_on_drop: false }` [INFO] [stdout] e8e169aec06f005b72acfb43e68f0ac0d9e70f978c19678e217d42940927677d