[INFO] fetching crate const_cge_macro 0.2.0... [INFO] testing const_cge_macro-0.2.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate const_cge_macro 0.2.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate const_cge_macro 0.2.0 [INFO] finished tweaking crates.io crate const_cge_macro 0.2.0 [INFO] tweaked toml for crates.io crate const_cge_macro 0.2.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate const_cge_macro 0.2.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 6 packages to latest compatible versions [INFO] [stderr] Adding cge v0.0.1 (available: v0.1.1) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.110) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cge v0.0.1 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dabb43548e510fd4432e51c444f45e4b913c698bc1f7a7b6fd695d582a0d4164 [INFO] running `Command { std: "docker" "start" "-a" "dabb43548e510fd4432e51c444f45e4b913c698bc1f7a7b6fd695d582a0d4164", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dabb43548e510fd4432e51c444f45e4b913c698bc1f7a7b6fd695d582a0d4164", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dabb43548e510fd4432e51c444f45e4b913c698bc1f7a7b6fd695d582a0d4164", kill_on_drop: false }` [INFO] [stdout] dabb43548e510fd4432e51c444f45e4b913c698bc1f7a7b6fd695d582a0d4164 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f9bdc2dbf218564de124936d60a48db3c58b42dd2c6f790e52ba4ba2e314f9f0 [INFO] running `Command { std: "docker" "start" "-a" "f9bdc2dbf218564de124936d60a48db3c58b42dd2c6f790e52ba4ba2e314f9f0", kill_on_drop: false }` [INFO] [stderr] Compiling cge v0.0.1 [INFO] [stderr] Compiling const_cge_macro v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.36s [INFO] running `Command { std: "docker" "inspect" "f9bdc2dbf218564de124936d60a48db3c58b42dd2c6f790e52ba4ba2e314f9f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9bdc2dbf218564de124936d60a48db3c58b42dd2c6f790e52ba4ba2e314f9f0", kill_on_drop: false }` [INFO] [stdout] f9bdc2dbf218564de124936d60a48db3c58b42dd2c6f790e52ba4ba2e314f9f0 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a5b9d812586064e0a3d0dbefbd71a23edfcfbedef148ce2d3007119c7644b0bb [INFO] running `Command { std: "docker" "start" "-a" "a5b9d812586064e0a3d0dbefbd71a23edfcfbedef148ce2d3007119c7644b0bb", kill_on_drop: false }` [INFO] [stderr] Compiling const_cge_macro v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.09s [INFO] running `Command { std: "docker" "inspect" "a5b9d812586064e0a3d0dbefbd71a23edfcfbedef148ce2d3007119c7644b0bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5b9d812586064e0a3d0dbefbd71a23edfcfbedef148ce2d3007119c7644b0bb", kill_on_drop: false }` [INFO] [stdout] a5b9d812586064e0a3d0dbefbd71a23edfcfbedef148ce2d3007119c7644b0bb [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cb2e31c2a72422321f5fc52c19338377752e299ba12b596ff3fa7a785e9b2885 [INFO] running `Command { std: "docker" "start" "-a" "cb2e31c2a72422321f5fc52c19338377752e299ba12b596ff3fa7a785e9b2885", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/const_cge_macro-7f25b18f7423b68e) [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 const_cge_macro [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/lib.rs - netcrate (line 78) ... FAILED [INFO] [stdout] test src/lib.rs - netcrate (line 54) ... FAILED [INFO] [stdout] test src/lib.rs - netcrate (line 59) ... FAILED [INFO] [stdout] test src/lib.rs - netcrate (line 86) ... FAILED [INFO] [stdout] test src/lib.rs - network (line 21) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - netcrate (line 78) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `const_cge` [INFO] [stdout] --> src/lib.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | const_cge::netcrate!(octopus_legs = "octopus.cge"); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `const_cge` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `const_cge` [INFO] [stdout] --> src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | const_cge::netcrate!(cart_pole = "cart.cge"); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `const_cge` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `const_cge` [INFO] [stdout] --> src/lib.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | const_cge::netcrate!(denoise = "denoise.cge"); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `const_cge` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `const_cge` [INFO] [stdout] --> src/lib.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | const_cge::netcrate!(ocr = "ocr.cge"); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `const_cge` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 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/lib.rs - netcrate (line 54) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `const_cge` [INFO] [stdout] --> src/lib.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | const_cge::netcrate!(ocr = "optical_char_recog.cge"); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `const_cge` [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/lib.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | #![cfg_attr(not(feature = "std"), no_std)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] error: `#[panic_handler]` function required, but not found [INFO] [stdout] [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - netcrate (line 59) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `const_cge` [INFO] [stdout] --> src/lib.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | use const_cge::ocr; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `const_cge` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `const_cge`, use `cargo add const_cge` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `network` in this scope [INFO] [stdout] --> src/lib.rs:61:3 [INFO] [stdout] | [INFO] [stdout] 61 | #[network(ocr)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 59 + use const_cge_macro::network; [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 E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - netcrate (line 86) stdout ---- [INFO] [stdout] error: cannot find attribute `network` in this scope [INFO] [stdout] --> src/lib.rs:87:3 [INFO] [stdout] | [INFO] [stdout] 87 | #[network(network_zoo::ocr, numeric_type = f32)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 86 + use const_cge_macro::network; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - network (line 21) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `const_cge` [INFO] [stdout] --> src/lib.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use const_cge::network; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `const_cge` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `const_cge`, use `cargo add const_cge` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `inputs` in this scope [INFO] [stdout] --> src/lib.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 31 | walk.evaluate(&inputs, &mut outputs); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `outputs` in this scope [INFO] [stdout] --> src/lib.rs:31:31 [INFO] [stdout] | [INFO] [stdout] 31 | walk.evaluate(&inputs, &mut outputs); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `default` found for struct `Walker` in the current scope [INFO] [stdout] --> src/lib.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 27 | struct Walker; [INFO] [stdout] | ------------- function or associated item `default` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 30 | let mut walk = Walker::default(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `Walker` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `default`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Default` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - netcrate (line 54) [INFO] [stdout] src/lib.rs - netcrate (line 59) [INFO] [stdout] src/lib.rs - netcrate (line 78) [INFO] [stdout] src/lib.rs - netcrate (line 86) [INFO] [stdout] src/lib.rs - network (line 21) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "cb2e31c2a72422321f5fc52c19338377752e299ba12b596ff3fa7a785e9b2885", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb2e31c2a72422321f5fc52c19338377752e299ba12b596ff3fa7a785e9b2885", kill_on_drop: false }` [INFO] [stdout] cb2e31c2a72422321f5fc52c19338377752e299ba12b596ff3fa7a785e9b2885