[INFO] fetching crate pbni-codegen 0.1.0... [INFO] testing pbni-codegen-0.1.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate pbni-codegen 0.1.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate pbni-codegen 0.1.0 [INFO] finished tweaking crates.io crate pbni-codegen 0.1.0 [INFO] tweaked toml for crates.io crate pbni-codegen 0.1.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pbni-codegen 0.1.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 4 packages to latest compatible versions [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.104) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `proc_macro` is deprecated in favor of `proc-macro` and will not work in the 2024 edition [INFO] [stderr] (in the `pbni_codegen` library target) [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 230e3508694afb973e8f4c25037a19a47880dd327f318d61bfad4f45cf932704 [INFO] running `Command { std: "docker" "start" "-a" "230e3508694afb973e8f4c25037a19a47880dd327f318d61bfad4f45cf932704", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "230e3508694afb973e8f4c25037a19a47880dd327f318d61bfad4f45cf932704", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "230e3508694afb973e8f4c25037a19a47880dd327f318d61bfad4f45cf932704", kill_on_drop: false }` [INFO] [stdout] 230e3508694afb973e8f4c25037a19a47880dd327f318d61bfad4f45cf932704 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] b6e491a0bd0d20bbbfdd1f6881000aafe8433342882e67fee3ba5a31834e62b1 [INFO] running `Command { std: "docker" "start" "-a" "b6e491a0bd0d20bbbfdd1f6881000aafe8433342882e67fee3ba5a31834e62b1", kill_on_drop: false }` [INFO] [stderr] warning: `proc_macro` is deprecated in favor of `proc-macro` and will not work in the 2024 edition [INFO] [stderr] (in the `pbni_codegen` library target) [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling pbni-codegen v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.17s [INFO] running `Command { std: "docker" "inspect" "b6e491a0bd0d20bbbfdd1f6881000aafe8433342882e67fee3ba5a31834e62b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6e491a0bd0d20bbbfdd1f6881000aafe8433342882e67fee3ba5a31834e62b1", kill_on_drop: false }` [INFO] [stdout] b6e491a0bd0d20bbbfdd1f6881000aafe8433342882e67fee3ba5a31834e62b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] da6f96bb8390cb18c93a63e6d241aa5269c8e64073c56c29397a55b6e0fa4fdc [INFO] running `Command { std: "docker" "start" "-a" "da6f96bb8390cb18c93a63e6d241aa5269c8e64073c56c29397a55b6e0fa4fdc", kill_on_drop: false }` [INFO] [stderr] warning: `proc_macro` is deprecated in favor of `proc-macro` and will not work in the 2024 edition [INFO] [stderr] (in the `pbni_codegen` library target) [INFO] [stderr] Compiling pbni-codegen v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.42s [INFO] running `Command { std: "docker" "inspect" "da6f96bb8390cb18c93a63e6d241aa5269c8e64073c56c29397a55b6e0fa4fdc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da6f96bb8390cb18c93a63e6d241aa5269c8e64073c56c29397a55b6e0fa4fdc", kill_on_drop: false }` [INFO] [stdout] da6f96bb8390cb18c93a63e6d241aa5269c8e64073c56c29397a55b6e0fa4fdc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] d8baa430377bc761fa9b089561c766f692750399862e971ea8e80fb3e71f8dbb [INFO] running `Command { std: "docker" "start" "-a" "d8baa430377bc761fa9b089561c766f692750399862e971ea8e80fb3e71f8dbb", kill_on_drop: false }` [INFO] [stderr] warning: `proc_macro` is deprecated in favor of `proc-macro` and will not work in the 2024 edition [INFO] [stderr] (in the `pbni_codegen` library target) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/pbni_codegen-de3b26096e4be4d7) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests pbni_codegen [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] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/lib.rs - method (line 221) - compile ... FAILED [INFO] [stdout] test src/lib.rs - global_function (line 16) - compile ... FAILED [INFO] [stdout] test src/lib.rs - constructor (line 199) - compile ... FAILED [INFO] [stdout] test src/lib.rs - visualobject (line 165) - compile ... FAILED [INFO] [stdout] test src/lib.rs - event (line 243) - compile ... FAILED [INFO] [stdout] test src/lib.rs - nonvisualobject (line 99) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - method (line 221) stdout ---- [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/lib.rs:223:10 [INFO] [stdout] | [INFO] [stdout] 4 | fn hello(&self, world: String) -> String { [INFO] [stdout] | ^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `method` in this scope [INFO] [stdout] --> src/lib.rs:222:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[method(name="of_Hello")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use pbni_codegen::method; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - global_function (line 16) stdout ---- [INFO] [stdout] error: cannot find attribute `global_function` in this scope [INFO] [stdout] --> src/lib.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[global_function(name = "gf_bitor")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use pbni_codegen::global_function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> src/lib.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 4 | fn bit_or(session: Session, a: pblong, b: pblong) -> pblong { a | b } [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `pblong` in this scope [INFO] [stdout] --> src/lib.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 4 | fn bit_or(session: Session, a: pblong, b: pblong) -> pblong { a | b } [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `pblong` in this scope [INFO] [stdout] --> src/lib.rs:18:43 [INFO] [stdout] | [INFO] [stdout] 4 | fn bit_or(session: Session, a: pblong, b: pblong) -> pblong { a | b } [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `pblong` in this scope [INFO] [stdout] --> src/lib.rs:18:54 [INFO] [stdout] | [INFO] [stdout] 4 | fn bit_or(session: Session, a: pblong, b: pblong) -> pblong { a | b } [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 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/lib.rs - constructor (line 199) stdout ---- [INFO] [stdout] error: cannot find attribute `constructor` in this scope [INFO] [stdout] --> src/lib.rs:200:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[constructor] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use pbni_codegen::constructor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> src/lib.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 4 | fn new(session: Session, ctx: ContextObject) -> RustObject { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ContextObject` in this scope [INFO] [stdout] --> src/lib.rs:201:31 [INFO] [stdout] | [INFO] [stdout] 4 | fn new(session: Session, ctx: ContextObject) -> RustObject { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RustObject` in this scope [INFO] [stdout] --> src/lib.rs:201:49 [INFO] [stdout] | [INFO] [stdout] 4 | fn new(session: Session, ctx: ContextObject) -> RustObject { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RustObject` in this scope [INFO] [stdout] --> src/lib.rs:202:5 [INFO] [stdout] | [INFO] [stdout] 5 | RustObject { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - visualobject (line 165) stdout ---- [INFO] [stdout] error: cannot find attribute `visualobject` in this scope [INFO] [stdout] --> src/lib.rs:171:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[visualobject(name = "u_canvas")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use pbni_codegen::visualobject; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `constructor` in this scope [INFO] [stdout] --> src/lib.rs:173:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[constructor] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use pbni_codegen::constructor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `method` in this scope [INFO] [stdout] --> src/lib.rs:180:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[method(name="of_Hello")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use pbni_codegen::method; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> src/lib.rs:167:14 [INFO] [stdout] | [INFO] [stdout] 4 | session: Session, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ContextObject` in this scope [INFO] [stdout] --> src/lib.rs:168:10 [INFO] [stdout] | [INFO] [stdout] 5 | ctx: ContextObject [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> src/lib.rs:174:21 [INFO] [stdout] | [INFO] [stdout] 11 | fn new(session: Session, ctx: ContextObject) -> RustObject { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ContextObject` in this scope [INFO] [stdout] --> src/lib.rs:174:35 [INFO] [stdout] | [INFO] [stdout] 11 | fn new(session: Session, ctx: ContextObject) -> RustObject { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 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/lib.rs - event (line 243) stdout ---- [INFO] [stdout] error: cannot find attribute `nonvisualobject` in this scope [INFO] [stdout] --> src/lib.rs:253:3 [INFO] [stdout] | [INFO] [stdout] 12 | #[nonvisualobject(name = "n_pbni")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use pbni_codegen::nonvisualobject; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `constructor` in this scope [INFO] [stdout] --> src/lib.rs:255:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[constructor] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use pbni_codegen::constructor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `event` in this scope [INFO] [stdout] --> src/lib.rs:262:7 [INFO] [stdout] | [INFO] [stdout] 21 | #[event(name="onFire")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use pbni_codegen::event; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> src/lib.rs:245:14 [INFO] [stdout] | [INFO] [stdout] 4 | session: Session, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ContextObject` in this scope [INFO] [stdout] --> src/lib.rs:246:10 [INFO] [stdout] | [INFO] [stdout] 5 | ctx: ContextObject [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ContextObject` in this scope [INFO] [stdout] --> src/lib.rs:250:39 [INFO] [stdout] | [INFO] [stdout] 9 | fn context_mut(&mut self) -> &mut ContextObject { &mut self.ctx } [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> src/lib.rs:256:21 [INFO] [stdout] | [INFO] [stdout] 15 | fn new(session: Session, ctx: ContextObject) -> RustObject { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ContextObject` in this scope [INFO] [stdout] --> src/lib.rs:256:35 [INFO] [stdout] | [INFO] [stdout] 15 | fn new(session: Session, ctx: ContextObject) -> RustObject { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 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/lib.rs - nonvisualobject (line 99) stdout ---- [INFO] [stdout] error: cannot find attribute `nonvisualobject` in this scope [INFO] [stdout] --> src/lib.rs:124:3 [INFO] [stdout] | [INFO] [stdout] 27 | #[nonvisualobject(name = "n_pbni_child", inherit = "parent")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use pbni_codegen::nonvisualobject; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `constructor` in this scope [INFO] [stdout] --> src/lib.rs:126:7 [INFO] [stdout] | [INFO] [stdout] 29 | #[constructor] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use pbni_codegen::constructor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `method` in this scope [INFO] [stdout] --> src/lib.rs:135:7 [INFO] [stdout] | [INFO] [stdout] 38 | #[method(name="of_Foo")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use pbni_codegen::method; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `nonvisualobject` in this scope [INFO] [stdout] --> src/lib.rs:105:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[nonvisualobject(name = "n_pbni")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use pbni_codegen::nonvisualobject; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `constructor` in this scope [INFO] [stdout] --> src/lib.rs:107:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[constructor] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use pbni_codegen::constructor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `method` in this scope [INFO] [stdout] --> src/lib.rs:114:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[method(name="of_Hello")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use pbni_codegen::method; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> src/lib.rs:101:14 [INFO] [stdout] | [INFO] [stdout] 4 | session: Session, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ContextObject` in this scope [INFO] [stdout] --> src/lib.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 5 | ctx: ContextObject [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> src/lib.rs:108:21 [INFO] [stdout] | [INFO] [stdout] 11 | fn new(session: Session, ctx: ContextObject) -> RustObject { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ContextObject` in this scope [INFO] [stdout] --> src/lib.rs:108:35 [INFO] [stdout] | [INFO] [stdout] 11 | fn new(session: Session, ctx: ContextObject) -> RustObject { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> src/lib.rs:127:21 [INFO] [stdout] | [INFO] [stdout] 30 | fn new(session: Session, ctx: ContextObject) -> RustChildObject { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ContextObject` in this scope [INFO] [stdout] --> src/lib.rs:127:35 [INFO] [stdout] | [INFO] [stdout] 30 | fn new(session: Session, ctx: ContextObject) -> RustChildObject { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 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] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - constructor (line 199) [INFO] [stdout] src/lib.rs - event (line 243) [INFO] [stdout] src/lib.rs - global_function (line 16) [INFO] [stdout] src/lib.rs - method (line 221) [INFO] [stdout] src/lib.rs - nonvisualobject (line 99) [INFO] [stdout] src/lib.rs - visualobject (line 165) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.51s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "d8baa430377bc761fa9b089561c766f692750399862e971ea8e80fb3e71f8dbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8baa430377bc761fa9b089561c766f692750399862e971ea8e80fb3e71f8dbb", kill_on_drop: false }` [INFO] [stdout] d8baa430377bc761fa9b089561c766f692750399862e971ea8e80fb3e71f8dbb