[INFO] fetching crate rustleaf-macros 0.1.0...
[INFO] testing rustleaf-macros-0.1.0 against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759
[INFO] extracting crate rustleaf-macros 0.1.0 into /workspace/builds/worker-0-tc1/source
[INFO] started tweaking crates.io crate rustleaf-macros 0.1.0
[INFO] finished tweaking crates.io crate rustleaf-macros 0.1.0
[INFO] tweaked toml for crates.io crate rustleaf-macros 0.1.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate rustleaf-macros 0.1.0 on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate rustleaf-macros 0.1.0 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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c313cc7cc9b9774f6720cfb868912aadb6e5d09fc9fa19feac8491e0bf90ccdd
[INFO] running `Command { std: "docker" "start" "-a" "c313cc7cc9b9774f6720cfb868912aadb6e5d09fc9fa19feac8491e0bf90ccdd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c313cc7cc9b9774f6720cfb868912aadb6e5d09fc9fa19feac8491e0bf90ccdd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c313cc7cc9b9774f6720cfb868912aadb6e5d09fc9fa19feac8491e0bf90ccdd", kill_on_drop: false }`
[INFO] [stdout] c313cc7cc9b9774f6720cfb868912aadb6e5d09fc9fa19feac8491e0bf90ccdd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1316447012ad6e4beb7a76a2c0a92b2a259321420f6c7d7f5eda319c08f5ef4d
[INFO] running `Command { std: "docker" "start" "-a" "1316447012ad6e4beb7a76a2c0a92b2a259321420f6c7d7f5eda319c08f5ef4d", kill_on_drop: false }`
[INFO] [stderr]    Compiling rustleaf-macros v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.87s
[INFO] running `Command { std: "docker" "inspect" "1316447012ad6e4beb7a76a2c0a92b2a259321420f6c7d7f5eda319c08f5ef4d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1316447012ad6e4beb7a76a2c0a92b2a259321420f6c7d7f5eda319c08f5ef4d", kill_on_drop: false }`
[INFO] [stdout] 1316447012ad6e4beb7a76a2c0a92b2a259321420f6c7d7f5eda319c08f5ef4d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 26d335477f6122c301bd70a549f7fc2576e75a535179726851aa0918557dfce3
[INFO] running `Command { std: "docker" "start" "-a" "26d335477f6122c301bd70a549f7fc2576e75a535179726851aa0918557dfce3", kill_on_drop: false }`
[INFO] [stderr]    Compiling rustleaf-macros v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 5.00s
[INFO] running `Command { std: "docker" "inspect" "26d335477f6122c301bd70a549f7fc2576e75a535179726851aa0918557dfce3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "26d335477f6122c301bd70a549f7fc2576e75a535179726851aa0918557dfce3", kill_on_drop: false }`
[INFO] [stdout] 26d335477f6122c301bd70a549f7fc2576e75a535179726851aa0918557dfce3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 8c4dab4d835e91ec24b511f6b05806c1f83477f03e356eb37f718833f68b9530
[INFO] running `Command { std: "docker" "start" "-a" "8c4dab4d835e91ec24b511f6b05806c1f83477f03e356eb37f718833f68b9530", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rustleaf_macros-95b9fd12a05ffbbd)
[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 rustleaf_macros
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test src/function_wrapper.rs - function_wrapper::rustleaf_fn (line 16) ... FAILED
[INFO] [stdout] test src/function_wrapper.rs - function_wrapper::rustleaf_fn (line 24) ... FAILED
[INFO] [stdout] test src/method_wrapper.rs - method_wrapper::rustleaf_impl (line 32) ... FAILED
[INFO] [stdout] test src/method_wrapper.rs - method_wrapper::rustleaf_impl (line 43) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/function_wrapper.rs - function_wrapper::rustleaf_fn (line 16) stdout ----
[INFO] [stdout] error: cannot find attribute `rustleaf` in this scope
[INFO] [stdout]  --> src/function_wrapper.rs:17:3
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[rustleaf]
[INFO] [stdout]   |   ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + use rustleaf_macros::rustleaf;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ParamType` in this scope
[INFO] [stdout]  --> src/function_wrapper.rs:18:19
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn my_func(param: ParamType) -> ReturnType {
[INFO] [stdout]   |                   ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ReturnType` in this scope
[INFO] [stdout]  --> src/function_wrapper.rs:18:33
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn my_func(param: ParamType) -> ReturnType {
[INFO] [stdout]   |                                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use syn::ReturnType;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/function_wrapper.rs - function_wrapper::rustleaf_fn (line 24) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustleaf`
[INFO] [stdout]  --> src/function_wrapper.rs:29:32
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn rustleaf_my_func(value: rustleaf::core::Value) -> anyhow::Result<rustleaf::core::Value> {
[INFO] [stdout]   |                                ^^^^^^^^ use of unresolved module or unlinked crate `rustleaf`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `rustleaf`, use `cargo add rustleaf` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustleaf`
[INFO] [stdout]  --> src/function_wrapper.rs:29:73
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn rustleaf_my_func(value: rustleaf::core::Value) -> anyhow::Result<rustleaf::core::Value> {
[INFO] [stdout]   |                                                                         ^^^^^^^^ use of unresolved module or unlinked crate `rustleaf`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `rustleaf`, use `cargo add rustleaf` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ParamType` in this scope
[INFO] [stdout]  --> src/function_wrapper.rs:25:19
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn my_func(param: ParamType) -> ReturnType {
[INFO] [stdout]   |                   ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ReturnType` in this scope
[INFO] [stdout]  --> src/function_wrapper.rs:25:33
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn my_func(param: ParamType) -> ReturnType {
[INFO] [stdout]   |                                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use syn::ReturnType;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ParamType`
[INFO] [stdout]  --> src/function_wrapper.rs:30:17
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let param = ParamType::from_value(value)?;
[INFO] [stdout]   |                 ^^^^^^^^^ use of undeclared type `ParamType`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `anyhow`
[INFO] [stdout]  --> src/function_wrapper.rs:29:58
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn rustleaf_my_func(value: rustleaf::core::Value) -> anyhow::Result<rustleaf::core::Value> {
[INFO] [stdout]   |                                                          ^^^^^^ use of unresolved module or unlinked crate `anyhow`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/method_wrapper.rs - method_wrapper::rustleaf_impl (line 32) stdout ----
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]  --> src/method_wrapper.rs:35:38
[INFO] [stdout]   |
[INFO] [stdout] 5 |     fn new(x: f64, y: f64) -> Self { ... }        // Static method (constructor)
[INFO] [stdout]   |                                      ^^^
[INFO] [stdout]   |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]   |
[INFO] [stdout] 5 -     fn new(x: f64, y: f64) -> Self { ... }        // Static method (constructor)
[INFO] [stdout] 5 +     fn new(x: f64, y: f64) -> Self { .. }        // Static method (constructor)
[INFO] [stdout]   |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]   |
[INFO] [stdout] 5 -     fn new(x: f64, y: f64) -> Self { ... }        // Static method (constructor)
[INFO] [stdout] 5 +     fn new(x: f64, y: f64) -> Self { ..= }        // Static method (constructor)
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]  --> src/method_wrapper.rs:35:38
[INFO] [stdout]   |
[INFO] [stdout] 5 |     fn new(x: f64, y: f64) -> Self { ... }        // Static method (constructor)
[INFO] [stdout]   |                                      ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] help: use `..` instead
[INFO] [stdout]   |
[INFO] [stdout] 5 -     fn new(x: f64, y: f64) -> Self { ... }        // Static method (constructor)
[INFO] [stdout] 5 +     fn new(x: f64, y: f64) -> Self { .. }        // Static method (constructor)
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]  --> src/method_wrapper.rs:36:34
[INFO] [stdout]   |
[INFO] [stdout] 6 |     fn magnitude(&self) -> f64 { ... }             // Instance method
[INFO] [stdout]   |                                  ^^^
[INFO] [stdout]   |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]   |
[INFO] [stdout] 6 -     fn magnitude(&self) -> f64 { ... }             // Instance method
[INFO] [stdout] 6 +     fn magnitude(&self) -> f64 { .. }             // Instance method
[INFO] [stdout]   |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]   |
[INFO] [stdout] 6 -     fn magnitude(&self) -> f64 { ... }             // Instance method
[INFO] [stdout] 6 +     fn magnitude(&self) -> f64 { ..= }             // Instance method
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]  --> src/method_wrapper.rs:36:34
[INFO] [stdout]   |
[INFO] [stdout] 6 |     fn magnitude(&self) -> f64 { ... }             // Instance method
[INFO] [stdout]   |                                  ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] help: use `..` instead
[INFO] [stdout]   |
[INFO] [stdout] 6 -     fn magnitude(&self) -> f64 { ... }             // Instance method
[INFO] [stdout] 6 +     fn magnitude(&self) -> f64 { .. }             // Instance method
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]  --> src/method_wrapper.rs:37:48
[INFO] [stdout]   |
[INFO] [stdout] 7 |     fn distance(&self, other: &Point) -> f64 { ... } // Instance method with parameters  
[INFO] [stdout]   |                                                ^^^
[INFO] [stdout]   |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]   |
[INFO] [stdout] 7 -     fn distance(&self, other: &Point) -> f64 { ... } // Instance method with parameters  
[INFO] [stdout] 7 +     fn distance(&self, other: &Point) -> f64 { .. } // Instance method with parameters  
[INFO] [stdout]   |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]   |
[INFO] [stdout] 7 -     fn distance(&self, other: &Point) -> f64 { ... } // Instance method with parameters  
[INFO] [stdout] 7 +     fn distance(&self, other: &Point) -> f64 { ..= } // Instance method with parameters  
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]  --> src/method_wrapper.rs:37:48
[INFO] [stdout]   |
[INFO] [stdout] 7 |     fn distance(&self, other: &Point) -> f64 { ... } // Instance method with parameters  
[INFO] [stdout]   |                                                ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] help: use `..` instead
[INFO] [stdout]   |
[INFO] [stdout] 7 -     fn distance(&self, other: &Point) -> f64 { ... } // Instance method with parameters  
[INFO] [stdout] 7 +     fn distance(&self, other: &Point) -> f64 { .. } // Instance method with parameters  
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]  --> src/method_wrapper.rs:38:40
[INFO] [stdout]   |
[INFO] [stdout] 8 |     fn scale(&mut self, factor: f64) { ... }       // Mutating method
[INFO] [stdout]   |                                        ^^^
[INFO] [stdout]   |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]   |
[INFO] [stdout] 8 -     fn scale(&mut self, factor: f64) { ... }       // Mutating method
[INFO] [stdout] 8 +     fn scale(&mut self, factor: f64) { .. }       // Mutating method
[INFO] [stdout]   |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]   |
[INFO] [stdout] 8 -     fn scale(&mut self, factor: f64) { ... }       // Mutating method
[INFO] [stdout] 8 +     fn scale(&mut self, factor: f64) { ..= }       // Mutating method
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]  --> src/method_wrapper.rs:38:40
[INFO] [stdout]   |
[INFO] [stdout] 8 |     fn scale(&mut self, factor: f64) { ... }       // Mutating method
[INFO] [stdout]   |                                        ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] help: use `..` instead
[INFO] [stdout]   |
[INFO] [stdout] 8 -     fn scale(&mut self, factor: f64) { ... }       // Mutating method
[INFO] [stdout] 8 +     fn scale(&mut self, factor: f64) { .. }       // Mutating method
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `rustleaf` in this scope
[INFO] [stdout]  --> src/method_wrapper.rs:33:3
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[rustleaf]
[INFO] [stdout]   |   ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + use rustleaf_macros::rustleaf;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Point` in this scope
[INFO] [stdout]  --> src/method_wrapper.rs:34:6
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl Point {
[INFO] [stdout]   |      ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Point` in this scope
[INFO] [stdout]  --> src/method_wrapper.rs:37:32
[INFO] [stdout]   |
[INFO] [stdout] 7 |     fn distance(&self, other: &Point) -> f64 { ... } // Instance method with parameters  
[INFO] [stdout]   |                                ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 11 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0586.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/method_wrapper.rs - method_wrapper::rustleaf_impl (line 43) stdout ----
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]  --> src/method_wrapper.rs:49:74
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn rustleaf_Point_new(values: Vec<Value>) -> anyhow::Result<Value> { ... }
[INFO] [stdout]   |                                                                          ^^^
[INFO] [stdout]   |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]   |
[INFO] [stdout] 8 - pub fn rustleaf_Point_new(values: Vec<Value>) -> anyhow::Result<Value> { ... }
[INFO] [stdout] 8 + pub fn rustleaf_Point_new(values: Vec<Value>) -> anyhow::Result<Value> { .. }
[INFO] [stdout]   |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]   |
[INFO] [stdout] 8 - pub fn rustleaf_Point_new(values: Vec<Value>) -> anyhow::Result<Value> { ... }
[INFO] [stdout] 8 + pub fn rustleaf_Point_new(values: Vec<Value>) -> anyhow::Result<Value> { ..= }
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]  --> src/method_wrapper.rs:49:74
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn rustleaf_Point_new(values: Vec<Value>) -> anyhow::Result<Value> { ... }
[INFO] [stdout]   |                                                                          ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] help: use `..` instead
[INFO] [stdout]   |
[INFO] [stdout] 8 - pub fn rustleaf_Point_new(values: Vec<Value>) -> anyhow::Result<Value> { ... }
[INFO] [stdout] 8 + pub fn rustleaf_Point_new(values: Vec<Value>) -> anyhow::Result<Value> { .. }
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]   --> src/method_wrapper.rs:53:78
[INFO] [stdout]    |
[INFO] [stdout] 12 |     pub fn rustleaf_magnitude(values: Vec<Value>) -> anyhow::Result<Value> { ... }
[INFO] [stdout]    |                                                                              ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]    |
[INFO] [stdout] 12 -     pub fn rustleaf_magnitude(values: Vec<Value>) -> anyhow::Result<Value> { ... }
[INFO] [stdout] 12 +     pub fn rustleaf_magnitude(values: Vec<Value>) -> anyhow::Result<Value> { .. }
[INFO] [stdout]    |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout] 12 -     pub fn rustleaf_magnitude(values: Vec<Value>) -> anyhow::Result<Value> { ... }
[INFO] [stdout] 12 +     pub fn rustleaf_magnitude(values: Vec<Value>) -> anyhow::Result<Value> { ..= }
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]   --> src/method_wrapper.rs:53:78
[INFO] [stdout]    |
[INFO] [stdout] 12 |     pub fn rustleaf_magnitude(values: Vec<Value>) -> anyhow::Result<Value> { ... }
[INFO] [stdout]    |                                                                              ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] help: use `..` instead
[INFO] [stdout]    |
[INFO] [stdout] 12 -     pub fn rustleaf_magnitude(values: Vec<Value>) -> anyhow::Result<Value> { ... }
[INFO] [stdout] 12 +     pub fn rustleaf_magnitude(values: Vec<Value>) -> anyhow::Result<Value> { .. }
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]   --> src/method_wrapper.rs:54:77
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub fn rustleaf_distance(values: Vec<Value>) -> anyhow::Result<Value> { ... }
[INFO] [stdout]    |                                                                             ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]    |
[INFO] [stdout] 13 -     pub fn rustleaf_distance(values: Vec<Value>) -> anyhow::Result<Value> { ... }
[INFO] [stdout] 13 +     pub fn rustleaf_distance(values: Vec<Value>) -> anyhow::Result<Value> { .. }
[INFO] [stdout]    |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout] 13 -     pub fn rustleaf_distance(values: Vec<Value>) -> anyhow::Result<Value> { ... }
[INFO] [stdout] 13 +     pub fn rustleaf_distance(values: Vec<Value>) -> anyhow::Result<Value> { ..= }
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]   --> src/method_wrapper.rs:54:77
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub fn rustleaf_distance(values: Vec<Value>) -> anyhow::Result<Value> { ... }
[INFO] [stdout]    |                                                                             ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] help: use `..` instead
[INFO] [stdout]    |
[INFO] [stdout] 13 -     pub fn rustleaf_distance(values: Vec<Value>) -> anyhow::Result<Value> { ... }
[INFO] [stdout] 13 +     pub fn rustleaf_distance(values: Vec<Value>) -> anyhow::Result<Value> { .. }
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]   --> src/method_wrapper.rs:55:74
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub fn rustleaf_scale(values: Vec<Value>) -> anyhow::Result<Value> { ... }
[INFO] [stdout]    |                                                                          ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]    |
[INFO] [stdout] 14 -     pub fn rustleaf_scale(values: Vec<Value>) -> anyhow::Result<Value> { ... }
[INFO] [stdout] 14 +     pub fn rustleaf_scale(values: Vec<Value>) -> anyhow::Result<Value> { .. }
[INFO] [stdout]    |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout] 14 -     pub fn rustleaf_scale(values: Vec<Value>) -> anyhow::Result<Value> { ... }
[INFO] [stdout] 14 +     pub fn rustleaf_scale(values: Vec<Value>) -> anyhow::Result<Value> { ..= }
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]   --> src/method_wrapper.rs:55:74
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub fn rustleaf_scale(values: Vec<Value>) -> anyhow::Result<Value> { ... }
[INFO] [stdout]    |                                                                          ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] help: use `..` instead
[INFO] [stdout]    |
[INFO] [stdout] 14 -     pub fn rustleaf_scale(values: Vec<Value>) -> anyhow::Result<Value> { ... }
[INFO] [stdout] 14 +     pub fn rustleaf_scale(values: Vec<Value>) -> anyhow::Result<Value> { .. }
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Point` in this scope
[INFO] [stdout]  --> src/method_wrapper.rs:44:6
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl Point {
[INFO] [stdout]   |      ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Value` in this scope
[INFO] [stdout]  --> src/method_wrapper.rs:49:39
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn rustleaf_Point_new(values: Vec<Value>) -> anyhow::Result<Value> { ... }
[INFO] [stdout]   |                                       ^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn rustleaf_Point_new<Value>(values: Vec<Value>) -> anyhow::Result<Value> { ... }
[INFO] [stdout]   |                          +++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Value` in this scope
[INFO] [stdout]  --> src/method_wrapper.rs:49:65
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn rustleaf_Point_new(values: Vec<Value>) -> anyhow::Result<Value> { ... }
[INFO] [stdout]   |                                                                 ^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn rustleaf_Point_new<Value>(values: Vec<Value>) -> anyhow::Result<Value> { ... }
[INFO] [stdout]   |                          +++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PointRef` in this scope
[INFO] [stdout]   --> src/method_wrapper.rs:52:6
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl PointRef {
[INFO] [stdout]    |      ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Value` in this scope
[INFO] [stdout]   --> src/method_wrapper.rs:53:43
[INFO] [stdout]    |
[INFO] [stdout] 12 |     pub fn rustleaf_magnitude(values: Vec<Value>) -> anyhow::Result<Value> { ... }
[INFO] [stdout]    |                                           ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl<Value> PointRef {
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Value` in this scope
[INFO] [stdout]   --> src/method_wrapper.rs:53:69
[INFO] [stdout]    |
[INFO] [stdout] 12 |     pub fn rustleaf_magnitude(values: Vec<Value>) -> anyhow::Result<Value> { ... }
[INFO] [stdout]    |                                                                     ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl<Value> PointRef {
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Value` in this scope
[INFO] [stdout]   --> src/method_wrapper.rs:54:42
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub fn rustleaf_distance(values: Vec<Value>) -> anyhow::Result<Value> { ... }
[INFO] [stdout]    |                                          ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl<Value> PointRef {
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Value` in this scope
[INFO] [stdout]   --> src/method_wrapper.rs:54:68
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub fn rustleaf_distance(values: Vec<Value>) -> anyhow::Result<Value> { ... }
[INFO] [stdout]    |                                                                    ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl<Value> PointRef {
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Value` in this scope
[INFO] [stdout]   --> src/method_wrapper.rs:55:39
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub fn rustleaf_scale(values: Vec<Value>) -> anyhow::Result<Value> { ... }
[INFO] [stdout]    |                                       ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl<Value> PointRef {
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Value` in this scope
[INFO] [stdout]   --> src/method_wrapper.rs:55:65
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub fn rustleaf_scale(values: Vec<Value>) -> anyhow::Result<Value> { ... }
[INFO] [stdout]    |                                                                 ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl<Value> PointRef {
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `anyhow`
[INFO] [stdout]  --> src/method_wrapper.rs:49:50
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn rustleaf_Point_new(values: Vec<Value>) -> anyhow::Result<Value> { ... }
[INFO] [stdout]   |                                                  ^^^^^^ use of unresolved module or unlinked crate `anyhow`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `anyhow`
[INFO] [stdout]   --> src/method_wrapper.rs:53:54
[INFO] [stdout]    |
[INFO] [stdout] 12 |     pub fn rustleaf_magnitude(values: Vec<Value>) -> anyhow::Result<Value> { ... }
[INFO] [stdout]    |                                                      ^^^^^^ use of unresolved module or unlinked crate `anyhow`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `anyhow`
[INFO] [stdout]   --> src/method_wrapper.rs:54:53
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub fn rustleaf_distance(values: Vec<Value>) -> anyhow::Result<Value> { ... }
[INFO] [stdout]    |                                                     ^^^^^^ use of unresolved module or unlinked crate `anyhow`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `anyhow`
[INFO] [stdout]   --> src/method_wrapper.rs:55:50
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub fn rustleaf_scale(values: Vec<Value>) -> anyhow::Result<Value> { ... }
[INFO] [stdout]    |                                                  ^^^^^^ use of unresolved module or unlinked crate `anyhow`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 22 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0586.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/function_wrapper.rs - function_wrapper::rustleaf_fn (line 16)
[INFO] [stdout]     src/function_wrapper.rs - function_wrapper::rustleaf_fn (line 24)
[INFO] [stdout]     src/method_wrapper.rs - method_wrapper::rustleaf_impl (line 32)
[INFO] [stdout]     src/method_wrapper.rs - method_wrapper::rustleaf_impl (line 43)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 4 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" "8c4dab4d835e91ec24b511f6b05806c1f83477f03e356eb37f718833f68b9530", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8c4dab4d835e91ec24b511f6b05806c1f83477f03e356eb37f718833f68b9530", kill_on_drop: false }`
[INFO] [stdout] 8c4dab4d835e91ec24b511f6b05806c1f83477f03e356eb37f718833f68b9530
