[INFO] cloning repository https://github.com/Rust-CMS/cms-backend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Rust-CMS/cms-backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRust-CMS%2Fcms-backend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRust-CMS%2Fcms-backend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3e5edaf1b56f08657e80cf2d57e7ae6c632432fc [INFO] testing Rust-CMS/cms-backend against beta-2021-09-08 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRust-CMS%2Fcms-backend" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Rust-CMS/cms-backend on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Rust-CMS/cms-backend [INFO] finished tweaking git repo https://github.com/Rust-CMS/cms-backend [INFO] tweaked toml for git repo https://github.com/Rust-CMS/cms-backend written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/Rust-CMS/cms-backend already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "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-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", 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] f31685bc346ba69e3959707b7b22bfbfa2c754453297db3963f24fdb075388a5 [INFO] running `Command { std: "docker" "start" "-a" "f31685bc346ba69e3959707b7b22bfbfa2c754453297db3963f24fdb075388a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f31685bc346ba69e3959707b7b22bfbfa2c754453297db3963f24fdb075388a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f31685bc346ba69e3959707b7b22bfbfa2c754453297db3963f24fdb075388a5", kill_on_drop: false }` [INFO] [stdout] f31685bc346ba69e3959707b7b22bfbfa2c754453297db3963f24fdb075388a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", 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] 527eaa14de742c86add2479121853130fe0941a37a3eed74d14d7b3b59266168 [INFO] running `Command { std: "docker" "start" "-a" "527eaa14de742c86add2479121853130fe0941a37a3eed74d14d7b3b59266168", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling futures-sink v0.3.15 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling pin-project-internal v0.4.28 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling cpufeatures v0.1.5 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling gimli v0.25.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling v_escape v0.15.0 [INFO] [stderr] Compiling rustc-demangle v0.1.20 [INFO] [stderr] Compiling ascii v0.9.3 [INFO] [stderr] Compiling v_htmlescape v0.12.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling buf-min v0.4.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling bytestring v1.0.0 [INFO] [stderr] Compiling mysqlclient-sys v0.2.4 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling object v0.26.0 [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling filetime v0.2.14 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling addr2line v0.16.0 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling dashmap v4.0.2 [INFO] [stderr] Compiling inotify v0.7.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.5 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling r2d2 v0.8.9 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling sha-1 v0.9.6 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling notify v4.0.17 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling backoff v0.2.1 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling actix_derive v0.5.0 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling v_escape_derive v0.8.4 [INFO] [stderr] Compiling enum_dispatch v0.3.7 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling memcache v0.15.0 [INFO] [stderr] Compiling pin-project v0.4.28 [INFO] [stderr] Compiling pin-project v1.0.7 [INFO] [stderr] Compiling actix-codec v0.3.0 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling r2d2-memcache v0.6.0 [INFO] [stderr] Compiling futures-executor v0.3.15 [INFO] [stderr] Compiling actix-service v1.0.6 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Compiling redis v0.15.1 [INFO] [stderr] Compiling trust-dns-proto v0.19.7 [INFO] [stderr] Compiling actix-threadpool v0.3.3 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling actix-utils v2.0.0 [INFO] [stderr] Compiling actix-server v1.0.4 [INFO] [stderr] Compiling actix-tls v2.0.0 [INFO] [stderr] Compiling trust-dns-resolver v0.19.7 [INFO] [stderr] Compiling actix-testing v1.0.1 [INFO] [stderr] Compiling actix-connect v2.0.0 [INFO] [stderr] Compiling actix v0.10.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling actix-router v0.2.7 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling envy v0.4.2 [INFO] [stderr] Compiling handlebars v3.5.5 [INFO] [stderr] Compiling actix-http v2.2.0 [INFO] [stderr] Compiling diesel v1.4.7 [INFO] [stderr] Compiling awc v2.0.3 [INFO] [stderr] Compiling actix-web v3.3.2 [INFO] [stderr] Compiling actix-ratelimit v0.3.1 [INFO] [stderr] Compiling actix-files v0.5.0 [INFO] [stderr] Compiling actix-cors v0.5.4 [INFO] [stderr] Compiling migrations_internals v1.4.1 [INFO] [stderr] Compiling migrations_macros v1.4.2 [INFO] [stderr] Compiling diesel_migrations v1.4.0 [INFO] [stderr] Compiling rust-cms v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 44s [INFO] running `Command { std: "docker" "inspect" "527eaa14de742c86add2479121853130fe0941a37a3eed74d14d7b3b59266168", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "527eaa14de742c86add2479121853130fe0941a37a3eed74d14d7b3b59266168", kill_on_drop: false }` [INFO] [stdout] 527eaa14de742c86add2479121853130fe0941a37a3eed74d14d7b3b59266168 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b0b73131231ecc5ca45ec0c292752a22b47c066c3efb68760c54d0a401486561 [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" "b0b73131231ecc5ca45ec0c292752a22b47c066c3efb68760c54d0a401486561", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.8.1 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling actix-macros v0.2.1 [INFO] [stderr] Compiling actix-rt v2.2.0 [INFO] [stderr] Compiling rust-cms v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crate::controllers::config_controllers` [INFO] [stdout] --> src/tests.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::controllers::config_controllers::LocalConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ could not find `config_controllers` in `controllers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `MutPage` has no field named `id` [INFO] [stdout] --> src/tests.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | id: Some(-1), [INFO] [stdout] | ^^ `MutPage` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `uuid`, `page_name`, `page_url`, `page_title` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `MutModule` has no field named `id` [INFO] [stdout] --> src/tests.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | id: Some(-1), [INFO] [stdout] | ^^ `MutModule` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `uuid`, `title`, `page_uuid`, `category_uuid`, `content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `MutModule` has no field named `module_type_id` [INFO] [stdout] --> src/tests.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | module_type_id: 1, [INFO] [stdout] | ^^^^^^^^^^^^^^ `MutModule` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `uuid`, `title`, `page_uuid`, `category_uuid`, `content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `MutModule` has no field named `page_id` [INFO] [stdout] --> src/tests.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | page_id: -1, [INFO] [stdout] | ^^^^^^^ help: a field with a similar name exists: `page_uuid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests.rs:74:45 [INFO] [stdout] | [INFO] [stdout] 74 | page_controllers::delete_page(web::Path(-1), db.clone()) [INFO] [stdout] | ^^ expected struct `std::string::String`, found integer [INFO] [stdout] | [INFO] [stdout] help: try using a conversion method [INFO] [stdout] | [INFO] [stdout] 74 | page_controllers::delete_page(web::Path((-1).to_string()), db.clone()) [INFO] [stdout] | + +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests.rs:77:49 [INFO] [stdout] | [INFO] [stdout] 77 | module_controllers::delete_module(web::Path(-1), db.clone()) [INFO] [stdout] | ^^ expected struct `std::string::String`, found integer [INFO] [stdout] | [INFO] [stdout] help: try using a conversion method [INFO] [stdout] | [INFO] [stdout] 77 | module_controllers::delete_module(web::Path((-1).to_string()), db.clone()) [INFO] [stdout] | + +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `MutPage` has no field named `id` [INFO] [stdout] --> src/tests.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | id: Some(-1), [INFO] [stdout] | ^^ `MutPage` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `uuid`, `page_name`, `page_url`, `page_title` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests.rs:118:53 [INFO] [stdout] | [INFO] [stdout] 118 | let resp = page_controllers::get_page(web::Path(-1), db).await.unwrap(); [INFO] [stdout] | ^^ expected struct `std::string::String`, found integer [INFO] [stdout] | [INFO] [stdout] help: try using a conversion method [INFO] [stdout] | [INFO] [stdout] 118 | let resp = page_controllers::get_page(web::Path((-1).to_string()), db).await.unwrap(); [INFO] [stdout] | + +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests.rs:131:66 [INFO] [stdout] | [INFO] [stdout] 131 | let resp = page_controllers::get_page_join_modules(web::Path(-1), db) [INFO] [stdout] | ^^ expected struct `std::string::String`, found integer [INFO] [stdout] | [INFO] [stdout] help: try using a conversion method [INFO] [stdout] | [INFO] [stdout] 131 | let resp = page_controllers::get_page_join_modules(web::Path((-1).to_string()), db) [INFO] [stdout] | + +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `MutPage` has no field named `id` [INFO] [stdout] --> src/tests.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | id: Some(-1), [INFO] [stdout] | ^^ `MutPage` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `uuid`, `page_name`, `page_url`, `page_title` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests.rs:153:77 [INFO] [stdout] | [INFO] [stdout] 153 | let resp = page_controllers::update_page(web::Json(new_page), web::Path(-1), db) [INFO] [stdout] | ^^ expected struct `std::string::String`, found integer [INFO] [stdout] | [INFO] [stdout] help: try using a conversion method [INFO] [stdout] | [INFO] [stdout] 153 | let resp = page_controllers::update_page(web::Json(new_page), web::Path((-1).to_string()), db) [INFO] [stdout] | + +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `MutModule` has no field named `id` [INFO] [stdout] --> src/tests.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | id: Some(-1), [INFO] [stdout] | ^^ `MutModule` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `uuid`, `title`, `page_uuid`, `category_uuid`, `content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `MutModule` has no field named `module_type_id` [INFO] [stdout] --> src/tests.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | module_type_id: 1, [INFO] [stdout] | ^^^^^^^^^^^^^^ `MutModule` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `uuid`, `title`, `page_uuid`, `category_uuid`, `content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `MutModule` has no field named `page_id` [INFO] [stdout] --> src/tests.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | page_id: -1, [INFO] [stdout] | ^^^^^^^ help: a field with a similar name exists: `page_uuid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests.rs:203:57 [INFO] [stdout] | [INFO] [stdout] 203 | let resp = module_controllers::get_module(web::Path(-1), db) [INFO] [stdout] | ^^ expected struct `std::string::String`, found integer [INFO] [stdout] | [INFO] [stdout] help: try using a conversion method [INFO] [stdout] | [INFO] [stdout] 203 | let resp = module_controllers::get_module(web::Path((-1).to_string()), db) [INFO] [stdout] | + +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `MutModule` has no field named `id` [INFO] [stdout] --> src/tests.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | id: Some(-1), [INFO] [stdout] | ^^ `MutModule` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `uuid`, `title`, `page_uuid`, `category_uuid`, `content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `MutModule` has no field named `module_type_id` [INFO] [stdout] --> src/tests.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 220 | module_type_id: 1, [INFO] [stdout] | ^^^^^^^^^^^^^^ `MutModule` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `uuid`, `title`, `page_uuid`, `category_uuid`, `content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `MutModule` has no field named `page_id` [INFO] [stdout] --> src/tests.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | page_id: -1, [INFO] [stdout] | ^^^^^^^ help: a field with a similar name exists: `page_uuid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests.rs:227:83 [INFO] [stdout] | [INFO] [stdout] 227 | let resp = module_controllers::update_module(web::Json(new_module), web::Path(-1), db) [INFO] [stdout] | ^^ expected struct `std::string::String`, found integer [INFO] [stdout] | [INFO] [stdout] help: try using a conversion method [INFO] [stdout] | [INFO] [stdout] 227 | let resp = module_controllers::update_module(web::Json(new_module), web::Path((-1).to_string()), db) [INFO] [stdout] | + +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0560. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-cms` due to 21 previous errors [INFO] running `Command { std: "docker" "inspect" "b0b73131231ecc5ca45ec0c292752a22b47c066c3efb68760c54d0a401486561", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0b73131231ecc5ca45ec0c292752a22b47c066c3efb68760c54d0a401486561", kill_on_drop: false }` [INFO] [stdout] b0b73131231ecc5ca45ec0c292752a22b47c066c3efb68760c54d0a401486561