[INFO] fetching crate yareio 0.1.4... [INFO] testing yareio-0.1.4 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate yareio 0.1.4 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate yareio 0.1.4 [INFO] finished tweaking crates.io crate yareio 0.1.4 [INFO] tweaked toml for crates.io crate yareio 0.1.4 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate yareio 0.1.4 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 21 packages to latest compatible versions [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 40c33b0fb5caf4a57ec7885ce63a6b11cafeff3b749debc6acf48169d1936a7f [INFO] running `Command { std: "docker" "start" "-a" "40c33b0fb5caf4a57ec7885ce63a6b11cafeff3b749debc6acf48169d1936a7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "40c33b0fb5caf4a57ec7885ce63a6b11cafeff3b749debc6acf48169d1936a7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40c33b0fb5caf4a57ec7885ce63a6b11cafeff3b749debc6acf48169d1936a7f", kill_on_drop: false }` [INFO] [stdout] 40c33b0fb5caf4a57ec7885ce63a6b11cafeff3b749debc6acf48169d1936a7f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 042db014b4d91b8ce041af0e82e8ef90504e6b2c43fe4ea20198dd63e88f93c4 [INFO] running `Command { std: "docker" "start" "-a" "042db014b4d91b8ce041af0e82e8ef90504e6b2c43fe4ea20198dd63e88f93c4", kill_on_drop: false }` [INFO] [stderr] Compiling yareio v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] running `Command { std: "docker" "inspect" "042db014b4d91b8ce041af0e82e8ef90504e6b2c43fe4ea20198dd63e88f93c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "042db014b4d91b8ce041af0e82e8ef90504e6b2c43fe4ea20198dd63e88f93c4", kill_on_drop: false }` [INFO] [stdout] 042db014b4d91b8ce041af0e82e8ef90504e6b2c43fe4ea20198dd63e88f93c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 04c12f943a1e53c838f80167c45f0b8eaa3978ba7386301b6bd360264b3510fd [INFO] running `Command { std: "docker" "start" "-a" "04c12f943a1e53c838f80167c45f0b8eaa3978ba7386301b6bd360264b3510fd", kill_on_drop: false }` [INFO] [stderr] Compiling yareio v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] running `Command { std: "docker" "inspect" "04c12f943a1e53c838f80167c45f0b8eaa3978ba7386301b6bd360264b3510fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04c12f943a1e53c838f80167c45f0b8eaa3978ba7386301b6bd360264b3510fd", kill_on_drop: false }` [INFO] [stdout] 04c12f943a1e53c838f80167c45f0b8eaa3978ba7386301b6bd360264b3510fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fcb11740e84c76f4279cebf4d16b815e8ed413e520ecbe8fdd033b6934d72205 [INFO] running `Command { std: "docker" "start" "-a" "fcb11740e84c76f4279cebf4d16b815e8ed413e520ecbe8fdd033b6934d72205", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/yareio-6e93928c4e28402c) [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] [stderr] Doc-tests yareio [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test src/bindings/spirit.rs - bindings::spirit::shout (line 136) ... FAILED [INFO] [stdout] test src/bindings/star.rs - bindings::star::count (line 22) ... FAILED [INFO] [stdout] test src/bindings/console.rs - bindings::console::log (line 11) ... FAILED [INFO] [stdout] test src/bindings/position.rs - bindings::position::Position (line 6) ... FAILED [INFO] [stdout] test src/bindings/base.rs - bindings::base::count (line 92) ... FAILED [INFO] [stdout] test src/bindings/outpost.rs - bindings::outpost::count (line 22) ... FAILED [INFO] [stdout] test src/bindings/spirit.rs - bindings::spirit::count (line 30) ... FAILED [INFO] [stdout] test src/lib.rs - (line 5) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/bindings/spirit.rs - bindings::spirit::shout (line 136) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `spirit` [INFO] [stdout] --> src/bindings/spirit.rs:140:14 [INFO] [stdout] | [INFO] [stdout] 6 | unsafe { spirit::shout(spirit_index, c_string.as_ptr()) } [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `spirit` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/bindings/spirit.rs, use `mod spirit` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 2 + mod spirit; [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use yareio::spirit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/bindings/star.rs - bindings::star::count (line 22) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `star` [INFO] [stdout] --> src/bindings/star.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 3 | for index in 0..unsafe { star::count() } { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `star` [INFO] [stdout] | [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - for index in 0..unsafe { star::count() } { [INFO] [stdout] 3 + for index in 0..unsafe { str::count() } { [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/bindings/star.rs, use `mod star` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 2 + mod star; [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use yareio::star; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/bindings/console.rs - bindings::console::log (line 11) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `console` [INFO] [stdout] --> src/bindings/console.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 6 | unsafe { console::log(c_string.as_ptr()) } [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `console` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/bindings/console.rs, use `mod console` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 2 + mod console; [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use yareio::console; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/bindings/position.rs - bindings::position::Position (line 6) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `spirit` [INFO] [stdout] --> src/bindings/position.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 3 | let Position { x, y } = spirit::position(index); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `spirit` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/bindings/spirit.rs, use `mod spirit` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 2 + mod spirit; [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use yareio::spirit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `index` in this scope [INFO] [stdout] --> src/bindings/position.rs:7:42 [INFO] [stdout] | [INFO] [stdout] 3 | let Position { x, y } = spirit::position(index); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Position` in this scope [INFO] [stdout] --> src/bindings/position.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 3 | let Position { x, y } = spirit::position(index); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use yareio::position::Position; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MyVectorStruct` in this scope [INFO] [stdout] --> src/bindings/position.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 4 | let pos = MyVectorStruct { x, y }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/bindings/base.rs - bindings::base::count (line 92) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `base` [INFO] [stdout] --> src/bindings/base.rs:93:26 [INFO] [stdout] | [INFO] [stdout] 3 | for index in 0..unsafe { base::count() } { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `base` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/bindings/base.rs, use `mod base` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 2 + mod base; [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use yareio::base; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/bindings/outpost.rs - bindings::outpost::count (line 22) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `outpost` [INFO] [stdout] --> src/bindings/outpost.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 3 | for index in 0..unsafe { outpost::count() } { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `outpost` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/bindings/outpost.rs, use `mod outpost` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 2 + mod outpost; [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use yareio::outpost; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/bindings/spirit.rs - bindings::spirit::count (line 30) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `spirit` [INFO] [stdout] --> src/bindings/spirit.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 3 | for index in 0..unsafe { spirit::count() } { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `spirit` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/bindings/spirit.rs, use `mod spirit` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 2 + mod spirit; [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use yareio::spirit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/bindings/base.rs - bindings::base::count (line 92) [INFO] [stdout] src/bindings/console.rs - bindings::console::log (line 11) [INFO] [stdout] src/bindings/outpost.rs - bindings::outpost::count (line 22) [INFO] [stdout] src/bindings/position.rs - bindings::position::Position (line 6) [INFO] [stdout] src/bindings/spirit.rs - bindings::spirit::count (line 30) [INFO] [stdout] src/bindings/spirit.rs - bindings::spirit::shout (line 136) [INFO] [stdout] src/bindings/star.rs - bindings::star::count (line 22) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "fcb11740e84c76f4279cebf4d16b815e8ed413e520ecbe8fdd033b6934d72205", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcb11740e84c76f4279cebf4d16b815e8ed413e520ecbe8fdd033b6934d72205", kill_on_drop: false }` [INFO] [stdout] fcb11740e84c76f4279cebf4d16b815e8ed413e520ecbe8fdd033b6934d72205