[INFO] fetching crate pbni-codegen 0.1.0... [INFO] testing pbni-codegen-0.1.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate pbni-codegen 0.1.0 into /workspace/builds/worker-7-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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pbni-codegen 0.1.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "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.106) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5b532e1ce21871e23539d9f4adf9bfee721999ee88eaa8eb9da4d9fac60d40e3 [INFO] running `Command { std: "docker" "start" "-a" "5b532e1ce21871e23539d9f4adf9bfee721999ee88eaa8eb9da4d9fac60d40e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b532e1ce21871e23539d9f4adf9bfee721999ee88eaa8eb9da4d9fac60d40e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b532e1ce21871e23539d9f4adf9bfee721999ee88eaa8eb9da4d9fac60d40e3", kill_on_drop: false }` [INFO] [stdout] 5b532e1ce21871e23539d9f4adf9bfee721999ee88eaa8eb9da4d9fac60d40e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] deb896ffc1c373f0fa4e4c1f59255aada69a67709bff90c339387ad8625737e5 [INFO] running `Command { std: "docker" "start" "-a" "deb896ffc1c373f0fa4e4c1f59255aada69a67709bff90c339387ad8625737e5", 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 4.82s [INFO] running `Command { std: "docker" "inspect" "deb896ffc1c373f0fa4e4c1f59255aada69a67709bff90c339387ad8625737e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "deb896ffc1c373f0fa4e4c1f59255aada69a67709bff90c339387ad8625737e5", kill_on_drop: false }` [INFO] [stdout] deb896ffc1c373f0fa4e4c1f59255aada69a67709bff90c339387ad8625737e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] faceb788f3dd15b9f9906a1fd238440d7b0eb5484477e476bd1c5e96d6465b47 [INFO] running `Command { std: "docker" "start" "-a" "faceb788f3dd15b9f9906a1fd238440d7b0eb5484477e476bd1c5e96d6465b47", 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 1.03s [INFO] running `Command { std: "docker" "inspect" "faceb788f3dd15b9f9906a1fd238440d7b0eb5484477e476bd1c5e96d6465b47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "faceb788f3dd15b9f9906a1fd238440d7b0eb5484477e476bd1c5e96d6465b47", kill_on_drop: false }` [INFO] [stdout] faceb788f3dd15b9f9906a1fd238440d7b0eb5484477e476bd1c5e96d6465b47 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 43ed88327b0a085e521adcbd4b8c0ea7e8b0fd94db13be3417c23a0473b8f411 [INFO] running `Command { std: "docker" "start" "-a" "43ed88327b0a085e521adcbd4b8c0ea7e8b0fd94db13be3417c23a0473b8f411", 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.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/pbni_codegen-2391ad2fea97e5ac) [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 pbni_codegen [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/lib.rs - method (line 221) - compile ... FAILED [INFO] [stdout] test src/lib.rs - visualobject (line 165) - compile ... FAILED [INFO] [stdout] test src/lib.rs - constructor (line 199) - compile ... FAILED [INFO] [stdout] test src/lib.rs - nonvisualobject (line 99) - compile ... FAILED [INFO] [stdout] test src/lib.rs - global_function (line 16) - compile ... FAILED [INFO] [stdout] test src/lib.rs - event (line 243) - 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 - 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 - 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 - 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] ---- 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 - 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] [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.53s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "43ed88327b0a085e521adcbd4b8c0ea7e8b0fd94db13be3417c23a0473b8f411", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43ed88327b0a085e521adcbd4b8c0ea7e8b0fd94db13be3417c23a0473b8f411", kill_on_drop: false }` [INFO] [stdout] 43ed88327b0a085e521adcbd4b8c0ea7e8b0fd94db13be3417c23a0473b8f411