[INFO] fetching crate claire_vector 0.1.2... [INFO] checking claire_vector-0.1.2 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate claire_vector 0.1.2 into /workspace/builds/worker-2-tc1/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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate claire_vector 0.1.2 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] 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 537e39e755c685675a754fb1e11ca526f8e53d7a75371379654d82ba0ef3e734 [INFO] running `Command { std: "docker" "start" "-a" "537e39e755c685675a754fb1e11ca526f8e53d7a75371379654d82ba0ef3e734", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "537e39e755c685675a754fb1e11ca526f8e53d7a75371379654d82ba0ef3e734", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "537e39e755c685675a754fb1e11ca526f8e53d7a75371379654d82ba0ef3e734", kill_on_drop: false }` [INFO] [stdout] 537e39e755c685675a754fb1e11ca526f8e53d7a75371379654d82ba0ef3e734 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7378cfdf8bdaf5caebefaf0ef1e0ccbf137ae5f084c01e3d7f12139a7c2bef85 [INFO] running `Command { std: "docker" "start" "-a" "7378cfdf8bdaf5caebefaf0ef1e0ccbf137ae5f084c01e3d7f12139a7c2bef85", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking dyn-clone v1.0.17 [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: 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: 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: 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: 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: 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" "7378cfdf8bdaf5caebefaf0ef1e0ccbf137ae5f084c01e3d7f12139a7c2bef85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7378cfdf8bdaf5caebefaf0ef1e0ccbf137ae5f084c01e3d7f12139a7c2bef85", kill_on_drop: false }` [INFO] [stdout] 7378cfdf8bdaf5caebefaf0ef1e0ccbf137ae5f084c01e3d7f12139a7c2bef85