[INFO] fetching crate const_cge_macro 0.2.0... [INFO] testing const_cge_macro-0.2.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate const_cge_macro 0.2.0 into /workspace/builds/worker-0-tc2/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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate const_cge_macro 0.2.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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.106) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 888d3d4999744c8c281b5458ea72aca3db72ce6f061ec2b0d9b1c7eaf1a1a435 [INFO] running `Command { std: "docker" "start" "-a" "888d3d4999744c8c281b5458ea72aca3db72ce6f061ec2b0d9b1c7eaf1a1a435", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "888d3d4999744c8c281b5458ea72aca3db72ce6f061ec2b0d9b1c7eaf1a1a435", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "888d3d4999744c8c281b5458ea72aca3db72ce6f061ec2b0d9b1c7eaf1a1a435", kill_on_drop: false }` [INFO] [stdout] 888d3d4999744c8c281b5458ea72aca3db72ce6f061ec2b0d9b1c7eaf1a1a435 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8446a0fd7bfe247a2d5d99a0f83c17f3107cee900852eb8f242d3070f43fe2f1 [INFO] running `Command { std: "docker" "start" "-a" "8446a0fd7bfe247a2d5d99a0f83c17f3107cee900852eb8f242d3070f43fe2f1", 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.01s [INFO] running `Command { std: "docker" "inspect" "8446a0fd7bfe247a2d5d99a0f83c17f3107cee900852eb8f242d3070f43fe2f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8446a0fd7bfe247a2d5d99a0f83c17f3107cee900852eb8f242d3070f43fe2f1", kill_on_drop: false }` [INFO] [stdout] 8446a0fd7bfe247a2d5d99a0f83c17f3107cee900852eb8f242d3070f43fe2f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 056e42fe5ce4b4a6ad3a72dd87fd792b8fdcd0928cd4a4148e025bde660b3891 [INFO] running `Command { std: "docker" "start" "-a" "056e42fe5ce4b4a6ad3a72dd87fd792b8fdcd0928cd4a4148e025bde660b3891", 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 0.62s [INFO] running `Command { std: "docker" "inspect" "056e42fe5ce4b4a6ad3a72dd87fd792b8fdcd0928cd4a4148e025bde660b3891", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "056e42fe5ce4b4a6ad3a72dd87fd792b8fdcd0928cd4a4148e025bde660b3891", kill_on_drop: false }` [INFO] [stdout] 056e42fe5ce4b4a6ad3a72dd87fd792b8fdcd0928cd4a4148e025bde660b3891 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 715d3782155c6cab920ead7d53731a2e1b9d3b5e5de16606261309072ffb11e8 [INFO] running `Command { std: "docker" "start" "-a" "715d3782155c6cab920ead7d53731a2e1b9d3b5e5de16606261309072ffb11e8", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/const_cge_macro-c8582ff640360c02) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Doc-tests const_cge_macro [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 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] 6 | 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] 5 | 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] 4 | 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] 3 | 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] 5 | 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] 2 | #![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] 3 | 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] 4 | #[network(ocr)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + 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] 3 | #[network(network_zoo::ocr, numeric_type = f32)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + 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] 2 | 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] 11 | 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] 11 | 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] 7 | struct Walker; [INFO] [stdout] | ------------- function or associated item `default` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 10 | 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.27s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "715d3782155c6cab920ead7d53731a2e1b9d3b5e5de16606261309072ffb11e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "715d3782155c6cab920ead7d53731a2e1b9d3b5e5de16606261309072ffb11e8", kill_on_drop: false }` [INFO] [stdout] 715d3782155c6cab920ead7d53731a2e1b9d3b5e5de16606261309072ffb11e8