[INFO] fetching crate claire_vector 0.1.2... [INFO] checking claire_vector-0.1.2 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate claire_vector 0.1.2 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate claire_vector 0.1.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate claire_vector 0.1.2 [INFO] tweaked toml for crates.io crate claire_vector 0.1.2 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate claire_vector 0.1.2 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate claire_vector 0.1.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 25817ffa0890b9b355860578ef840e4b725c2caff654ded7c1ce9800edeee552 [INFO] running `Command { std: "docker" "start" "-a" "25817ffa0890b9b355860578ef840e4b725c2caff654ded7c1ce9800edeee552", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "25817ffa0890b9b355860578ef840e4b725c2caff654ded7c1ce9800edeee552", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25817ffa0890b9b355860578ef840e4b725c2caff654ded7c1ce9800edeee552", kill_on_drop: false }` [INFO] [stdout] 25817ffa0890b9b355860578ef840e4b725c2caff654ded7c1ce9800edeee552 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bcc63d269f6eeb80c24e303458b26f0f317d88c8eb34caba3133a8092ab34e30 [INFO] running `Command { std: "docker" "start" "-a" "bcc63d269f6eeb80c24e303458b26f0f317d88c8eb34caba3133a8092ab34e30", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking claire_vector v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/operations/vector.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/operations/vector.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/operations/vector.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(unboxed_closures, fn_traits)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/operations/vector.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(unboxed_closures, fn_traits)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `G` is never used [INFO] [stdout] --> src/operations/vector.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const G: f64 = 6.6743e-11; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `C` is never used [INFO] [stdout] --> src/operations/vector.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const C: f64 = 299_792_458.0; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clone` is never used [INFO] [stdout] --> src/operations/vector.rs:401:8 [INFO] [stdout] | [INFO] [stdout] 400 | impl Function { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 401 | fn clone(&self) -> Function { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `potential` is never used [INFO] [stdout] --> src/operations/vector.rs:642:8 [INFO] [stdout] | [INFO] [stdout] 641 | impl VectorFunction { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 642 | fn potential(&self, args: Vec) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `G` is never used [INFO] [stdout] --> src/operations/vector.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const G: f64 = 6.6743e-11; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `C` is never used [INFO] [stdout] --> src/operations/vector.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const C: f64 = 299_792_458.0; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clone` is never used [INFO] [stdout] --> src/operations/vector.rs:401:8 [INFO] [stdout] | [INFO] [stdout] 400 | impl Function { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 401 | fn clone(&self) -> Function { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `potential` is never used [INFO] [stdout] --> src/operations/vector.rs:642:8 [INFO] [stdout] | [INFO] [stdout] 641 | impl VectorFunction { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 642 | fn potential(&self, args: Vec) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `_Function3D` in this scope [INFO] [stdout] --> examples/example.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | let f: Function = f!(x, y, z, x * y.powi(2) + z); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `f` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ddx_s` in this scope [INFO] [stdout] --> examples/example.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | let a: f64 = claire_pdx!(f, 1.0, 2.0, 9.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `claire_pdx` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ddy_s` in this scope [INFO] [stdout] --> examples/example.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | let b: f64 = claire_pdy!(f, 1.0, 2.0, 9.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `claire_pdy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ddz_s` in this scope [INFO] [stdout] --> examples/example.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | let c: f64 = claire_pdz!(f, 1.0, 2.0, 9.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `claire_pdz` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stderr] error: could not compile `claire_vector` (example "example") due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "bcc63d269f6eeb80c24e303458b26f0f317d88c8eb34caba3133a8092ab34e30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcc63d269f6eeb80c24e303458b26f0f317d88c8eb34caba3133a8092ab34e30", kill_on_drop: false }` [INFO] [stdout] bcc63d269f6eeb80c24e303458b26f0f317d88c8eb34caba3133a8092ab34e30