[INFO] fetching crate rbatis-macro-driver 3.0.2... [INFO] testing rbatis-macro-driver-3.0.2 against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] extracting crate rbatis-macro-driver 3.0.2 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate rbatis-macro-driver 3.0.2 on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rbatis-macro-driver 3.0.2 [INFO] finished tweaking crates.io crate rbatis-macro-driver 3.0.2 [INFO] tweaked toml for crates.io crate rbatis-macro-driver 3.0.2 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b6135dd28b35be2452fd57d5668a72e97524817e51d8e690b6146dd844ca0b58 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b6135dd28b35be2452fd57d5668a72e97524817e51d8e690b6146dd844ca0b58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b6135dd28b35be2452fd57d5668a72e97524817e51d8e690b6146dd844ca0b58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6135dd28b35be2452fd57d5668a72e97524817e51d8e690b6146dd844ca0b58", kill_on_drop: false }` [INFO] [stdout] b6135dd28b35be2452fd57d5668a72e97524817e51d8e690b6146dd844ca0b58 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb9887a054872745b488fa0dff255c5d970e120d122d3a823e0380185e183bf0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "bb9887a054872745b488fa0dff255c5d970e120d122d3a823e0380185e183bf0", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling structopt v0.3.25 [INFO] [stderr] Compiling serde_json v1.0.71 [INFO] [stderr] Compiling html_parser v0.6.2 [INFO] [stderr] Compiling rbatis-macro-driver v3.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `sql` [INFO] [stdout] --> src/macros/py_sql_impl.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let sql = format!("{}", sql_ident).trim().to_string(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sql` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sql` [INFO] [stdout] --> src/macros/py_sql_impl.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | let sql = find_node(&nodes, func_name_ident.to_string().as_str()).expect(&format!("[rbatis] load html file:{},method:{} fail!", sql_i... [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sql` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sql` [INFO] [stdout] --> src/macros/sql_impl.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let sql = format!("{}", sql_ident).trim().to_string(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sql` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 19s [INFO] running `Command { std: "docker" "inspect" "bb9887a054872745b488fa0dff255c5d970e120d122d3a823e0380185e183bf0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb9887a054872745b488fa0dff255c5d970e120d122d3a823e0380185e183bf0", kill_on_drop: false }` [INFO] [stdout] bb9887a054872745b488fa0dff255c5d970e120d122d3a823e0380185e183bf0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 87f90ea403ef8cb0e6d596c65773436ab0db25ef1dc9e02c649ce0f00ab04b5b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "87f90ea403ef8cb0e6d596c65773436ab0db25ef1dc9e02c649ce0f00ab04b5b", kill_on_drop: false }` [INFO] [stdout] warning: unused variable: `sql` [INFO] [stdout] --> src/macros/py_sql_impl.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let sql = format!("{}", sql_ident).trim().to_string(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sql` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sql` [INFO] [stdout] --> src/macros/py_sql_impl.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | let sql = find_node(&nodes, func_name_ident.to_string().as_str()).expect(&format!("[rbatis] load html file:{},method:{} fail!", sql_i... [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sql` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sql` [INFO] [stdout] --> src/macros/sql_impl.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let sql = format!("{}", sql_ident).trim().to_string(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sql` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rbatis-macro-driver v3.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `sql` [INFO] [stdout] --> src/macros/py_sql_impl.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let sql = format!("{}", sql_ident).trim().to_string(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sql` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sql` [INFO] [stdout] --> src/macros/py_sql_impl.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | let sql = find_node(&nodes, func_name_ident.to_string().as_str()).expect(&format!("[rbatis] load html file:{},method:{} fail!", sql_i... [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sql` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sql` [INFO] [stdout] --> src/macros/sql_impl.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let sql = format!("{}", sql_ident).trim().to_string(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sql` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.00s [INFO] running `Command { std: "docker" "inspect" "87f90ea403ef8cb0e6d596c65773436ab0db25ef1dc9e02c649ce0f00ab04b5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87f90ea403ef8cb0e6d596c65773436ab0db25ef1dc9e02c649ce0f00ab04b5b", kill_on_drop: false }` [INFO] [stdout] 87f90ea403ef8cb0e6d596c65773436ab0db25ef1dc9e02c649ce0f00ab04b5b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 632c32189f519d88e0645128f2418e1aeb4a5175fd555aa544c1f03063b73e53 [INFO] running `Command { std: "docker" "start" "-a" "632c32189f519d88e0645128f2418e1aeb4a5175fd555aa544c1f03063b73e53", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `sql` [INFO] [stderr] --> src/macros/py_sql_impl.rs:21:9 [INFO] [stderr] | [INFO] [stderr] 21 | let sql = format!("{}", sql_ident).trim().to_string(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_sql` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sql` [INFO] [stderr] --> src/macros/py_sql_impl.rs:116:9 [INFO] [stderr] | [INFO] [stderr] 116 | let sql = find_node(&nodes, func_name_ident.to_string().as_str()).expect(&format!("[rbatis] load html file:{},method:{} fail!", sql_i... [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_sql` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sql` [INFO] [stderr] --> src/macros/sql_impl.rs:17:9 [INFO] [stderr] | [INFO] [stderr] 17 | let sql = format!("{}", sql_ident).trim().to_string(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_sql` [INFO] [stderr] [INFO] [stderr] warning: `rbatis-macro-driver` (lib) generated 3 warnings [INFO] [stderr] warning: `rbatis-macro-driver` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rbatis_macro_driver-ee2ea73a1fa8d36b) [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 rbatis-macro-driver [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/macros/crud_table_impl.rs - macros::crud_table_impl::read_config (line 338) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/macros/crud_table_impl.rs - macros::crud_table_impl::read_config (line 338) stdout ---- [INFO] [stdout] error: expected type, found `"id,name,version,delete_flag"` [INFO] [stdout] --> src/macros/crud_table_impl.rs:340:16 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_macros_crud_table_impl_rs_338_0() { [INFO] [stdout] | - while parsing this struct [INFO] [stdout] 3 | table_name:"biz_activity"| [INFO] [stdout] 4 | table_columns:"id,name,version,delete_flag"| [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected type [INFO] [stdout] | | [INFO] [stdout] | tried to parse a type due to this type ascription [INFO] [stdout] | [INFO] [stdout] = note: `#![feature(type_ascription)]` lets you annotate an expression with a type: `: ` [INFO] [stdout] = note: see issue #23416 for more information [INFO] [stdout] [INFO] [stdout] error: struct literal body without path [INFO] [stdout] --> src/macros/crud_table_impl.rs:338:93 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_macros_crud_table_impl_rs_338_0() { [INFO] [stdout] | _____________________________________________________________________________________________^ [INFO] [stdout] 3 | | table_name:"biz_activity"| [INFO] [stdout] 4 | | table_columns:"id,name,version,delete_flag"| [INFO] [stdout] 5 | | formats_pg:"id:{}::uuid,name:{}::string" [INFO] [stdout] 6 | | } _doctest_main_src_macros_crud_table_impl_rs_338_0() } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] help: you might have forgotten to add the struct literal inside the block [INFO] [stdout] | [INFO] [stdout] 2 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_macros_crud_table_impl_rs_338_0() { SomeStruct { [INFO] [stdout] 3 | table_name:"biz_activity"| [INFO] [stdout] 4 | table_columns:"id,name,version,delete_flag"| [INFO] [stdout] 5 | formats_pg:"id:{}::uuid,name:{}::string" [INFO] [stdout] 6 ~ } } _doctest_main_src_macros_crud_table_impl_rs_338_0() } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/macros/crud_table_impl.rs - macros::crud_table_impl::read_config (line 338) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.17s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "632c32189f519d88e0645128f2418e1aeb4a5175fd555aa544c1f03063b73e53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "632c32189f519d88e0645128f2418e1aeb4a5175fd555aa544c1f03063b73e53", kill_on_drop: false }` [INFO] [stdout] 632c32189f519d88e0645128f2418e1aeb4a5175fd555aa544c1f03063b73e53