marine-test-macro 0.1.5

Definition of the `#[marine_test]` macro
Build #387119 2021-05-10T15:14:11.787553+00:00
# rustc version
rustc 1.54.0-nightly (ca82264ec 2021-05-09)
# docs.rs version
docsrs 0.6.0 (c2d325f 2021-05-02)

# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/marine-test-macro-0.1.5/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/marine-test-macro-0.1.5/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "3221225472" "--cpus" "2" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--all-features" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs\"" "-j2" "--" "-Z" "unstable-options" "--emit=invocation-specific" "--resource-suffix" "-20210509-1.54.0-nightly-ca82264ec" "--static-root-path" "/" "--cap-lints" "warn" "--disable-per-crate-search", kill_on_drop: false }`
[INFO] [stdout] ba695141a18d0ace3c4a2858b0baef80e25c5adbbd551f412582fbff52dbb399
[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" "ba695141a18d0ace3c4a2858b0baef80e25c5adbbd551f412582fbff52dbb399", kill_on_drop: false }`
[INFO] [stderr]     Checking fluence-faas v0.7.1
[INFO] [stderr] error[E0432]: unresolved import `marine`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/fluence-faas-0.7.1/src/config/to_fce_config.rs:24:5
[INFO] [stderr]    |
[INFO] [stderr] 24 | use marine::MModuleConfig;
[INFO] [stderr]    |     ^^^^^^ use of undeclared crate or module `marine`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `marine`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/fluence-faas-0.7.1/src/host_imports/call_parameters.rs:17:5
[INFO] [stderr]    |
[INFO] [stderr] 17 | use marine::HostImportDescriptor;
[INFO] [stderr]    |     ^^^^^^ use of undeclared crate or module `marine`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `marine`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/fluence-faas-0.7.1/src/host_imports/mounted_binaries.rs:17:5
[INFO] [stderr]    |
[INFO] [stderr] 17 | use marine::HostImportDescriptor;
[INFO] [stderr]    |     ^^^^^^ use of undeclared crate or module `marine`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `marine`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/fluence-faas-0.7.1/src/json/ivalues_to_json.rs:22:5
[INFO] [stderr]    |
[INFO] [stderr] 22 | use marine::RecordTypes;
[INFO] [stderr]    |     ^^^^^^ use of undeclared crate or module `marine`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `marine`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/fluence-faas-0.7.1/src/json/json_to_ivalues.rs:22:5
[INFO] [stderr]    |
[INFO] [stderr] 22 | use marine::RecordTypes;
[INFO] [stderr]    |     ^^^^^^ use of undeclared crate or module `marine`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `marine`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/fluence-faas-0.7.1/src/faas.rs:28:5
[INFO] [stderr]    |
[INFO] [stderr] 28 | use marine::Marine;
[INFO] [stderr]    |     ^^^^^^ use of undeclared crate or module `marine`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `marine`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/fluence-faas-0.7.1/src/faas.rs:29:5
[INFO] [stderr]    |
[INFO] [stderr] 29 | use marine::IFunctionArg;
[INFO] [stderr]    |     ^^^^^^ use of undeclared crate or module `marine`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `marine`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/fluence-faas-0.7.1/src/faas.rs:31:5
[INFO] [stderr]    |
[INFO] [stderr] 31 | use marine::RecordTypes;
[INFO] [stderr]    |     ^^^^^^ use of undeclared crate or module `marine`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `marine`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/fluence-faas-0.7.1/src/lib.rs:54:9
[INFO] [stderr]    |
[INFO] [stderr] 54 | pub use marine::IValue;
[INFO] [stderr]    |         ^^^^^^ use of undeclared crate or module `marine`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `marine`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/fluence-faas-0.7.1/src/lib.rs:55:9
[INFO] [stderr]    |
[INFO] [stderr] 55 | pub use marine::IRecordType;
[INFO] [stderr]    |         ^^^^^^ use of undeclared crate or module `marine`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `marine`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/fluence-faas-0.7.1/src/lib.rs:56:9
[INFO] [stderr]    |
[INFO] [stderr] 56 | pub use marine::IFunctionArg;
[INFO] [stderr]    |         ^^^^^^ use of undeclared crate or module `marine`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `marine`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/fluence-faas-0.7.1/src/lib.rs:57:9
[INFO] [stderr]    |
[INFO] [stderr] 57 | pub use marine::IType;
[INFO] [stderr]    |         ^^^^^^ use of undeclared crate or module `marine`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `marine`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/fluence-faas-0.7.1/src/lib.rs:58:9
[INFO] [stderr]    |
[INFO] [stderr] 58 | pub use marine::MModuleInterface as FaaSModuleInterface;
[INFO] [stderr]    |         ^^^^^^ use of undeclared crate or module `marine`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `marine`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/fluence-faas-0.7.1/src/lib.rs:59:9
[INFO] [stderr]    |
[INFO] [stderr] 59 | pub use marine::MFunctionSignature as FaaSFunctionSignature;
[INFO] [stderr]    |         ^^^^^^ use of undeclared crate or module `marine`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `marine`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/fluence-faas-0.7.1/src/lib.rs:60:9
[INFO] [stderr]    |
[INFO] [stderr] 60 | pub use marine::RecordTypes;
[INFO] [stderr]    |         ^^^^^^ use of undeclared crate or module `marine`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `marine`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/fluence-faas-0.7.1/src/lib.rs:61:9
[INFO] [stderr]    |
[INFO] [stderr] 61 | pub use marine::HostExportedFunc;
[INFO] [stderr]    |         ^^^^^^ use of undeclared crate or module `marine`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `marine`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/fluence-faas-0.7.1/src/lib.rs:62:9
[INFO] [stderr]    |
[INFO] [stderr] 62 | pub use marine::HostImportDescriptor;
[INFO] [stderr]    |         ^^^^^^ use of undeclared crate or module `marine`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `marine`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/fluence-faas-0.7.1/src/lib.rs:63:9
[INFO] [stderr]    |
[INFO] [stderr] 63 | pub use marine::HostImportError;
[INFO] [stderr]    |         ^^^^^^ use of undeclared crate or module `marine`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `marine`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/fluence-faas-0.7.1/src/lib.rs:64:9
[INFO] [stderr]    |
[INFO] [stderr] 64 | pub use marine::to_interface_value;
[INFO] [stderr]    |         ^^^^^^ use of undeclared crate or module `marine`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `marine`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/fluence-faas-0.7.1/src/lib.rs:65:9
[INFO] [stderr]    |
[INFO] [stderr] 65 | pub use marine::from_interface_values;
[INFO] [stderr]    |         ^^^^^^ use of undeclared crate or module `marine`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `marine`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/fluence-faas-0.7.1/src/lib.rs:66:9
[INFO] [stderr]    |
[INFO] [stderr] 66 | pub use marine::ne_vec;
[INFO] [stderr]    |         ^^^^^^ use of undeclared crate or module `marine`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `marine`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/fluence-faas-0.7.1/src/lib.rs:67:9
[INFO] [stderr]    |
[INFO] [stderr] 67 | pub use marine::min_sdk_version;
[INFO] [stderr]    |         ^^^^^^ use of undeclared crate or module `marine`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `marine`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/fluence-faas-0.7.1/src/lib.rs:68:9
[INFO] [stderr]    |
[INFO] [stderr] 68 | pub use marine::min_it_version;
[INFO] [stderr]    |         ^^^^^^ use of undeclared crate or module `marine`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `marine`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/fluence-faas-0.7.1/src/config/faas_config.rs:17:5
[INFO] [stderr]    |
[INFO] [stderr] 17 | use marine::HostImportDescriptor;
[INFO] [stderr]    |     ^^^^^^ use of undeclared crate or module `marine`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `marine`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/fluence-faas-0.7.1/src/errors.rs:17:5
[INFO] [stderr]    |
[INFO] [stderr] 17 | use marine::MError;
[INFO] [stderr]    |     ^^^^^^ use of undeclared crate or module `marine`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved imports `marine`, `crate::IValue`, `crate::IType`, `crate::IValue`, `crate::IType`, `crate::IValue`, `crate::IType`, `super::IType`, `super::IRecordType`, `crate::FaaSModuleInterface`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/fluence-faas-0.7.1/src/json/ivalues_to_json.rs:17:5
[INFO] [stderr]    |
[INFO] [stderr] 17 | use crate::IValue;
[INFO] [stderr]    |     ^^^^^^^^^^^^^
[INFO] [stderr] 18 | use crate::IType;
[INFO] [stderr]    |     ^^^^^^^^^^^^
[INFO] [stderr]    | 
[INFO] [stderr]   ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/fluence-faas-0.7.1/src/faas_interface.rs:17:5
[INFO] [stderr]    |
[INFO] [stderr] 17 | use super::IType;
[INFO] [stderr]    |     ^^^^^^^^^^^^
[INFO] [stderr] 18 | use super::IRecordType;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 19 | use crate::FaaSModuleInterface;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 20 | 
[INFO] [stderr] 21 | use marine::RecordTypes;
[INFO] [stderr]    |     ^^^^^^ use of undeclared crate or module `marine`
[INFO] [stderr]    | 
[INFO] [stderr]   ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/fluence-faas-0.7.1/src/json/json_to_ivalues.rs:17:5
[INFO] [stderr]    |
[INFO] [stderr] 17 | use crate::IValue;
[INFO] [stderr]    |     ^^^^^^^^^^^^^
[INFO] [stderr] 18 | use crate::IType;
[INFO] [stderr]    |     ^^^^^^^^^^^^
[INFO] [stderr]    | 
[INFO] [stderr]   ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/fluence-faas-0.7.1/src/faas.rs:21:5
[INFO] [stderr]    |
[INFO] [stderr] 21 | use crate::IValue;
[INFO] [stderr]    |     ^^^^^^^^^^^^^
[INFO] [stderr] 22 | use crate::IType;
[INFO] [stderr]    |     ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0283]: type annotations needed
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/fluence-faas-0.7.1/src/config/faas_config.rs:54:5
[INFO] [stderr]    |
[INFO] [stderr] 54 |     pub host_imports: HashMap<String, HostImportDescriptor>,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stderr]    |
[INFO] [stderr]    = note: cannot satisfy `_: std::default::Default`
[INFO] [stderr]    = note: required by `std::default::Default::default`
[INFO] [stderr]    = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0271]: type mismatch resolving `<FaaSModuleConfig as TryFrom<TomlFaaSModuleConfig>>::Error == toml::de::Error`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/fluence-faas-0.7.1/src/config/faas_config.rs:129:68
[INFO] [stderr]     |
[INFO] [stderr] 129 |         let default_modules_config = toml_config.default.map(|m| m.try_into()).transpose()?;
[INFO] [stderr]     |                                                                    ^^^^^^^^ expected enum `FaaSError`, found struct `toml::de::Error`
[INFO] [stderr] 
[INFO] [stderr] error[E0271]: type mismatch resolving `<FaaSModuleConfig as TryFrom<TomlFaaSModuleConfig>>::Error == toml::de::Error`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/fluence-faas-0.7.1/src/config/faas_config.rs:152:35
[INFO] [stderr]     |
[INFO] [stderr] 152 |             config: config.config.try_into()?,
[INFO] [stderr]     |                                   ^^^^^^^^ expected enum `FaaSError`, found struct `toml::de::Error`
[INFO] [stderr] 
[INFO] [stderr] error[E0271]: type mismatch resolving `<FaaSWASIConfig as TryFrom<TomlWASIConfig>>::Error == toml::de::Error`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/fluence-faas-0.7.1/src/config/faas_config.rs:178:47
[INFO] [stderr]     |
[INFO] [stderr] 178 |         let wasi = toml_config.wasi.map(|w| w.try_into()).transpose()?;
[INFO] [stderr]     |                                               ^^^^^^^^ expected enum `FaaSError`, found struct `toml::de::Error`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `clone` found for struct `Rc<_>` in the current scope
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/fluence-faas-0.7.1/src/faas.rs:227:40
[INFO] [stderr]     |
[INFO] [stderr] 227 |             record_types: record_types.clone(),
[INFO] [stderr]     |                                        ^^^^^ method not found in `Rc<_>`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `record_types` is a function, perhaps you wish to call it
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 31 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0271, E0283, E0432, E0599.
[INFO] [stderr] For more information about an error, try `rustc --explain E0271`.
[INFO] [stderr] error: could not compile `fluence-faas`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "ba695141a18d0ace3c4a2858b0baef80e25c5adbbd551f412582fbff52dbb399", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ba695141a18d0ace3c4a2858b0baef80e25c5adbbd551f412582fbff52dbb399", kill_on_drop: false }`
[INFO] [stdout] ba695141a18d0ace3c4a2858b0baef80e25c5adbbd551f412582fbff52dbb399