[INFO] fetching crate nardol 0.0.2... [INFO] testing nardol-0.0.2 against try#8262275854dc0e5381c9d42d56257d94932c5a87 for pr-90799 [INFO] extracting crate nardol 0.0.2 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate nardol 0.0.2 on toolchain 8262275854dc0e5381c9d42d56257d94932c5a87 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "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-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "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" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 38d94d09c9d459aaa89bebf349edb17b559c809f117f71e5eccfc1564cdb74b8 [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" "38d94d09c9d459aaa89bebf349edb17b559c809f117f71e5eccfc1564cdb74b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "38d94d09c9d459aaa89bebf349edb17b559c809f117f71e5eccfc1564cdb74b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38d94d09c9d459aaa89bebf349edb17b559c809f117f71e5eccfc1564cdb74b8", kill_on_drop: false }` [INFO] [stdout] 38d94d09c9d459aaa89bebf349edb17b559c809f117f71e5eccfc1564cdb74b8 [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" "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" "+8262275854dc0e5381c9d42d56257d94932c5a87" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb3b948be5e9c104c7ad34231dbffe0df63b3cf0792c44ec2542ea770818ee2a [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" "cb3b948be5e9c104c7ad34231dbffe0df63b3cf0792c44ec2542ea770818ee2a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling unindent v0.1.7 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling indoc v1.0.3 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling backtrace v0.3.63 [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 54.58s [INFO] running `Command { std: "docker" "inspect" "cb3b948be5e9c104c7ad34231dbffe0df63b3cf0792c44ec2542ea770818ee2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb3b948be5e9c104c7ad34231dbffe0df63b3cf0792c44ec2542ea770818ee2a", kill_on_drop: false }` [INFO] [stdout] cb3b948be5e9c104c7ad34231dbffe0df63b3cf0792c44ec2542ea770818ee2a [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" "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" "+8262275854dc0e5381c9d42d56257d94932c5a87" "test" "--frozen" "--no-run" "--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] 86772da7bc074881daebc900d4ddf0e8df2c7e276107a9c1a13d5335e2382741 [INFO] running `Command { std: "docker" "start" "-a" "86772da7bc074881daebc900d4ddf0e8df2c7e276107a9c1a13d5335e2382741", kill_on_drop: false }` [INFO] [stderr] Compiling nardol v0.0.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.77s [INFO] running `Command { std: "docker" "inspect" "86772da7bc074881daebc900d4ddf0e8df2c7e276107a9c1a13d5335e2382741", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86772da7bc074881daebc900d4ddf0e8df2c7e276107a9c1a13d5335e2382741", kill_on_drop: false }` [INFO] [stdout] 86772da7bc074881daebc900d4ddf0e8df2c7e276107a9c1a13d5335e2382741 [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" "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" "+8262275854dc0e5381c9d42d56257d94932c5a87" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ee15d71e11a0754c51f1f7c7f679eb14fc7c0f8792a2ef4154e51775be5468ae [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" "ee15d71e11a0754c51f1f7c7f679eb14fc7c0f8792a2ef4154e51775be5468ae", 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-c45361fcbf0b4ed3) [INFO] [stdout] [INFO] [stderr] Doc-tests nardol [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 0.97s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "ee15d71e11a0754c51f1f7c7f679eb14fc7c0f8792a2ef4154e51775be5468ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee15d71e11a0754c51f1f7c7f679eb14fc7c0f8792a2ef4154e51775be5468ae", kill_on_drop: false }` [INFO] [stdout] ee15d71e11a0754c51f1f7c7f679eb14fc7c0f8792a2ef4154e51775be5468ae