[INFO] fetching crate rp1 0.3.1... [INFO] testing rp1-0.3.1 against master#62efba8a050c64249dab942951bb28f710208bc8 for pr-90799 [INFO] extracting crate rp1 0.3.1 into /workspace/builds/worker-112/source [INFO] validating manifest of crates.io crate rp1 0.3.1 on toolchain 62efba8a050c64249dab942951bb28f710208bc8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rp1 0.3.1 [INFO] finished tweaking crates.io crate rp1 0.3.1 [INFO] tweaked toml for crates.io crate rp1 0.3.1 written to /workspace/builds/worker-112/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d001ae2b27fe6bd9c67ded930d295b05434fe33b15b3c8422c9f09394ff95b29 [INFO] running `Command { std: "docker" "start" "-a" "d001ae2b27fe6bd9c67ded930d295b05434fe33b15b3c8422c9f09394ff95b29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d001ae2b27fe6bd9c67ded930d295b05434fe33b15b3c8422c9f09394ff95b29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d001ae2b27fe6bd9c67ded930d295b05434fe33b15b3c8422c9f09394ff95b29", kill_on_drop: false }` [INFO] [stdout] d001ae2b27fe6bd9c67ded930d295b05434fe33b15b3c8422c9f09394ff95b29 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f2c76816574f17a7ec79fc15a507edde27e043ce16e47761c60a8426213a149d [INFO] running `Command { std: "docker" "start" "-a" "f2c76816574f17a7ec79fc15a507edde27e043ce16e47761c60a8426213a149d", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling futures-channel v0.3.18 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling futures-sink v0.3.18 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling inlinable_string v0.1.14 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling encoding_rs v0.8.29 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling state v0.5.2 [INFO] [stderr] Compiling unchecked-index v0.2.2 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling spin v0.9.2 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Compiling time-macros v0.2.3 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling atomic v0.5.1 [INFO] [stderr] Compiling multer v2.0.1 [INFO] [stderr] Compiling figment v0.10.6 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.5 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling rocket v0.5.0-rc.1 [INFO] [stderr] Compiling r2d2 v0.8.9 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling twoway v0.2.2 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling darling_core v0.13.0 [INFO] [stderr] Compiling validator_types v0.14.0 [INFO] [stderr] Compiling devise_core v0.3.1 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling tokio-macros v1.6.0 [INFO] [stderr] Compiling futures-macro v0.3.18 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling pear_codegen v0.2.3 [INFO] [stderr] Compiling ref-cast-impl v1.0.6 [INFO] [stderr] Compiling devise_codegen v0.3.1 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling validator_derive v0.14.0 [INFO] [stderr] Compiling darling_macro v0.13.0 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling async-stream v0.3.2 [INFO] [stderr] Compiling pear v0.2.3 [INFO] [stderr] Compiling devise v0.3.1 [INFO] [stderr] Compiling futures-util v0.3.18 [INFO] [stderr] Compiling darling v0.13.0 [INFO] [stderr] Compiling rp1-macros v0.3.1 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling diesel v1.4.8 [INFO] [stderr] Compiling futures-executor v0.3.18 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling futures v0.3.18 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling ubyte v0.10.1 [INFO] [stderr] Compiling time v0.3.5 [INFO] [stderr] Compiling h2 v0.3.7 [INFO] [stderr] Compiling validator v0.14.0 [INFO] [stderr] Compiling hyper v0.14.15 [INFO] [stderr] Compiling rocket_http v0.5.0-rc.1 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.1 [INFO] [stderr] Compiling rp1 v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 54.29s [INFO] running `Command { std: "docker" "inspect" "f2c76816574f17a7ec79fc15a507edde27e043ce16e47761c60a8426213a149d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2c76816574f17a7ec79fc15a507edde27e043ce16e47761c60a8426213a149d", kill_on_drop: false }` [INFO] [stdout] f2c76816574f17a7ec79fc15a507edde27e043ce16e47761c60a8426213a149d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 27069f3a2fcea2ccc94ef0969b41e7e740faf299b13fc768192985af347593ef [INFO] running `Command { std: "docker" "start" "-a" "27069f3a2fcea2ccc94ef0969b41e7e740faf299b13fc768192985af347593ef", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling migrations_internals v1.4.1 [INFO] [stderr] Compiling rocket_sync_db_pools_codegen v0.1.0-rc.1 [INFO] [stderr] Compiling migrations_macros v1.4.2 [INFO] [stderr] Compiling rocket_sync_db_pools v0.1.0-rc.1 [INFO] [stderr] Compiling diesel_migrations v1.4.0 [INFO] [stderr] Compiling rp1 v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 7.60s [INFO] running `Command { std: "docker" "inspect" "27069f3a2fcea2ccc94ef0969b41e7e740faf299b13fc768192985af347593ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27069f3a2fcea2ccc94ef0969b41e7e740faf299b13fc768192985af347593ef", kill_on_drop: false }` [INFO] [stdout] 27069f3a2fcea2ccc94ef0969b41e7e740faf299b13fc768192985af347593ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c1774f208f9377769751022796da63f1f1d446edc5fa875da5cfcc4cd7650aa0 [INFO] running `Command { std: "docker" "start" "-a" "c1774f208f9377769751022796da63f1f1d446edc5fa875da5cfcc4cd7650aa0", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rp1-a1f99a09cd98c8c3) [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 rp1 [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - (line 88) ... FAILED [INFO] [stdout] test src/lib.rs - (line 14) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 88) stdout ---- [INFO] [stdout] error: cannot declare a non-inline module inside a block unless it has a path attribute [INFO] [stdout] --> src/lib.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 6 | mod schema; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0468]: an `extern crate` loading macros must be at the crate root [INFO] [stdout] --> src/lib.rs:90:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate diesel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0468`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 14) stdout ---- [INFO] [stdout] error: cannot declare a non-inline module inside a block unless it has a path attribute [INFO] [stdout] --> src/lib.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod schema; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0468]: an `extern crate` loading macros must be at the crate root [INFO] [stdout] --> src/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate diesel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[rp1::crud(database = "Db", table = "users", auth = false)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `schema` in the crate root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rp1::crud` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `schema` in the crate root [INFO] [stdout] --> src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[rp1::crud(database = "Db", table = "users", auth = false)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `schema` in the crate root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rp1::crud` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `columns` [INFO] [stdout] --> src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[rp1::crud(database = "Db", table = "users", auth = false)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `columns` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rp1::crud` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Db` in this scope [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 14 | #[rp1::crud(database = "Db", table = "users", auth = false)] [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0468. [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/lib.rs - (line 14) [INFO] [stdout] src/lib.rs - (line 88) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.20s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "c1774f208f9377769751022796da63f1f1d446edc5fa875da5cfcc4cd7650aa0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1774f208f9377769751022796da63f1f1d446edc5fa875da5cfcc4cd7650aa0", kill_on_drop: false }` [INFO] [stdout] c1774f208f9377769751022796da63f1f1d446edc5fa875da5cfcc4cd7650aa0