Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

##[error]Validation Failed: {"resource":"CheckRun","code":"invalid","field":"annotations"} #59

Open
2 of 3 tasks
YaLTeR opened this issue Apr 4, 2020 · 0 comments
Open
2 of 3 tasks
Labels
bug Something isn't working

Comments

@YaLTeR
Copy link

YaLTeR commented Apr 4, 2020

Do the checklist before filing an issue:

Description

I'm getting this error in one of my clippy runs. The same run didn't get it previously a few months ago. There's a different clippy invocation a step before and it doesn't get any errors and adds annotations correctly.

Workflow code

https://github.com/YaLTeR/vapoursynth-rs/blob/82664ad5e4578e77f19097341187aab41f7153ac/.github/workflows/vapoursynth.yml#L31-L36

Action output

Link to the log: https://github.com/YaLTeR/vapoursynth-rs/runs/560282924?check_suite_focus=true#step:6:135

2020-04-04T11:38:45.5255041Z ##[debug]Starting: Run clippy on the sample-plugin
2020-04-04T11:38:45.5316787Z ##[debug]Loading inputs
2020-04-04T11:38:45.5367929Z ##[debug]Evaluating: secrets.GITHUB_TOKEN
2020-04-04T11:38:45.5368164Z ##[debug]Evaluating Index:
2020-04-04T11:38:45.5368269Z ##[debug]..Evaluating secrets:
2020-04-04T11:38:45.5368444Z ##[debug]..=> Object
2020-04-04T11:38:45.5368826Z ##[debug]..Evaluating String:
2020-04-04T11:38:45.5368985Z ##[debug]..=> 'GITHUB_TOKEN'
2020-04-04T11:38:45.5370608Z ##[debug]=> '***'
2020-04-04T11:38:45.5371113Z ##[debug]Result: '***'
2020-04-04T11:38:45.5374195Z ##[debug]Loading env
2020-04-04T11:38:45.5380836Z ##[group]Run actions-rs/clippy-check@v1
2020-04-04T11:38:45.5380968Z with:
2020-04-04T11:38:45.5381193Z   token: ***
2020-04-04T11:38:45.5381316Z   args: --all-targets --package sample-plugin
2020-04-04T11:38:45.5381384Z   name: sample-plugin
2020-04-04T11:38:45.5381496Z   use-cross: false
2020-04-04T11:38:45.5381620Z env:
2020-04-04T11:38:45.5381735Z   actions_step_debug: true
2020-04-04T11:38:45.5471973Z ##[endgroup]
2020-04-04T11:38:45.6823846Z ::group::Executing cargo clippy (JSON output)
2020-04-04T11:38:45.6824063Z ##[group]Executing cargo clippy (JSON output)
2020-04-04T11:38:45.6826732Z [command]/usr/share/rust/.cargo/bin/cargo clippy --message-format=json --all-targets --package sample-plugin
2020-04-04T11:38:45.7255092Z {"reason":"compiler-artifact","package_id":"libc 0.2.68 (registry+https://github.com/rust-lang/crates.io-index)","target":{"kind":["custom-build"],"crate_types":["bin"],"name":"build-script-build","src_path":"/home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.68/build.rs","edition":"2015","doctest":false},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["/home/runner/work/vapoursynth-rs/vapoursynth-rs/target/debug/build/libc-f2014b38189d3091/build-script-build"],"executable":null,"fresh":true}
2020-04-04T11:38:45.7266379Z ##[debug]Unexpected reason field, ignoring it: compiler-artifact
2020-04-04T11:38:45.7271020Z {"reason":"compiler-artifact","package_id":"proc-macro2 1.0.9 (registry+https://github.com/rust-lang/crates.io-index)","target":{"kind":["custom-build"],"crate_types":["bin"],"name":"build-script-build","src_path":"/home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-1.0.9/build.rs","edition":"2018","doctest":false},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["default","proc-macro"],"filenames":["/home/runner/work/vapoursynth-rs/vapoursynth-rs/target/debug/build/proc-macro2-f28152069b6cfabf/build-script-build"],"executable":null,"fresh":true}
2020-04-04T11:38:45.7272301Z {"reason":"compiler-artifact","package_id":"cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)","target":{"kind":["lib"],"crate_types":["lib"],"name":"cfg-if","src_path":"/home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/cfg-if-0.1.10/src/lib.rs","edition":"2018","doctest":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["/home/runner/work/vapoursynth-rs/vapoursynth-rs/target/debug/deps/libcfg_if-5da2e6851197c22f.rmeta"],"executable":null,"fresh":true}
2020-04-04T11:38:45.7273760Z {"reason":"compiler-artifact","package_id":"unicode-xid 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)","target":{"kind":["lib"],"crate_types":["lib"],"name":"unicode-xid","src_path":"/home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/unicode-xid-0.2.0/src/lib.rs","edition":"2015","doctest":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["default"],"filenames":["/home/runner/work/vapoursynth-rs/vapoursynth-rs/target/debug/deps/libunicode_xid-b92f0306f00a37a0.rlib","/home/runner/work/vapoursynth-rs/vapoursynth-rs/target/debug/deps/libunicode_xid-b92f0306f00a37a0.rmeta"],"executable":null,"fresh":true}
2020-04-04T11:38:45.7274593Z {"reason":"compiler-artifact","package_id":"cc 1.0.50 (registry+https://github.com/rust-lang/crates.io-index)","target":{"kind":["lib"],"crate_types":["lib"],"name":"cc","src_path":"/home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/cc-1.0.50/src/lib.rs","edition":"2018","doctest":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["/home/runner/work/vapoursynth-rs/vapoursynth-rs/target/debug/deps/libcc-c4462494581162fb.rlib","/home/runner/work/vapoursynth-rs/vapoursynth-rs/target/debug/deps/libcc-c4462494581162fb.rmeta"],"executable":null,"fresh":true}
2020-04-04T11:38:45.7275437Z {"reason":"compiler-artifact","package_id":"syn 1.0.17 (registry+https://github.com/rust-lang/crates.io-index)","target":{"kind":["custom-build"],"crate_types":["bin"],"name":"build-script-build","src_path":"/home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/syn-1.0.17/build.rs","edition":"2018","doctest":false},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["clone-impls","default","derive","extra-traits","parsing","printing","proc-macro","quote","visit"],"filenames":["/home/runner/work/vapoursynth-rs/vapoursynth-rs/target/debug/build/syn-f2399b2f37178547/build-script-build"],"executable":null,"fresh":true}
2020-04-04T11:38:45.7275909Z ##[debug]Unexpected reason field, ignoring it: compiler-artifact
2020-04-04T11:38:45.7276241Z ##[debug]Unexpected reason field, ignoring it: compiler-artifact
2020-04-04T11:38:45.7282502Z ##[debug]Unexpected reason field, ignoring it: compiler-artifact
2020-04-04T11:38:45.7283544Z ##[debug]Unexpected reason field, ignoring it: compiler-artifact
2020-04-04T11:38:45.7284060Z ##[debug]Unexpected reason field, ignoring it: compiler-artifact
2020-04-04T11:38:45.7284292Z    Compiling getrandom v0.1.14
2020-04-04T11:38:45.7290064Z {"reason":"compiler-artifact","package_id":"failure_derive 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)","target":{"kind":["custom-build"],"crate_types":["bin"],"name":"build-script-build","src_path":"/home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/failure_derive-0.1.7/build.rs","edition":"2015","doctest":false},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["/home/runner/work/vapoursynth-rs/vapoursynth-rs/target/debug/build/failure_derive-faa352c948e2d25d/build-script-build"],"executable":null,"fresh":true}
2020-04-04T11:38:45.7295356Z {"reason":"compiler-artifact","package_id":"rustc-demangle 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)","target":{"kind":["lib"],"crate_types":["lib"],"name":"rustc-demangle","src_path":"/home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-demangle-0.1.16/src/lib.rs","edition":"2015","doctest":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["/home/runner/work/vapoursynth-rs/vapoursynth-rs/target/debug/deps/librustc_demangle-19e9e0bb9e605814.rmeta"],"executable":null,"fresh":true}
2020-04-04T11:38:45.7296758Z ##[debug]Unexpected reason field, ignoring it: compiler-artifact
2020-04-04T11:38:45.7299460Z ##[debug]Unexpected reason field, ignoring it: compiler-artifact
2020-04-04T11:38:45.7300308Z {"reason":"compiler-artifact","package_id":"bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)","target":{"kind":["custom-build"],"crate_types":["bin"],"name":"build-script-build","src_path":"/home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/bitflags-1.2.1/build.rs","edition":"2015","doctest":false},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["default"],"filenames":["/home/runner/work/vapoursynth-rs/vapoursynth-rs/target/debug/build/bitflags-41a941e996b046d4/build-script-build"],"executable":null,"fresh":true}
2020-04-04T11:38:45.7300760Z ##[debug]Unexpected reason field, ignoring it: compiler-artifact
2020-04-04T11:38:45.7301095Z    Compiling vapoursynth-sys v0.3.0 (/home/runner/work/vapoursynth-rs/vapoursynth-rs/vapoursynth-sys)
2020-04-04T11:38:45.8343540Z {"reason":"compiler-message","package_id":"vapoursynth-sys 0.3.0 (path+file:///home/runner/work/vapoursynth-rs/vapoursynth-rs/vapoursynth-sys)","target":{"kind":["custom-build"],"crate_types":["bin"],"name":"build-script-build","src_path":"/home/runner/work/vapoursynth-rs/vapoursynth-rs/vapoursynth-sys/build.rs","edition":"2015","doctest":false},"message":{"rendered":"warning: this `else { if .. }` block can be collapsed\n  --> vapoursynth-sys/build.rs:22:12\n   |\n22 |       } else {\n   |  ____________^\n23 | |         if let Some(default_library_dir) = default_library_dir {\n24 | |             for dir in default_library_dir {\n25 | |                 println!(\"cargo:rustc-link-search=native={}\", dir);\n26 | |             }\n27 | |         }\n28 | |     }\n   | |_____^\n   |\n   = note: `#[warn(clippy::collapsible_if)]` on by default\n   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if\nhelp: try\n   |\n22 |     } else if let Some(default_library_dir) = default_library_dir {\n23 |     for dir in default_library_dir {\n24 |         println!(\"cargo:rustc-link-search=native={}\", dir);\n25 |     }\n26 | }\n   |\n\n","children":[{"children":[],"code":null,"level":"note","message":"`#[warn(clippy::collapsible_if)]` on by default","rendered":null,"spans":[]},{"children":[],"code":null,"level":"help","message":"for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if","rendered":null,"spans":[]},{"children":[],"code":null,"level":"help","message":"try","rendered":null,"spans":[{"byte_end":881,"byte_start":672,"column_end":6,"column_start":12,"expansion":null,"file_name":"vapoursynth-sys/build.rs","is_primary":true,"label":null,"line_end":28,"line_start":22,"suggested_replacement":"if let Some(default_library_dir) = default_library_dir {\n    for dir in default_library_dir {\n        println!(\"cargo:rustc-link-search=native={}\", dir);\n    }\n}","suggestion_applicability":"MachineApplicable","text":[{"highlight_end":13,"highlight_start":12,"text":"    } else {"},{"highlight_end":65,"highlight_start":1,"text":"        if let Some(default_library_dir) = default_library_dir {"},{"highlight_end":45,"highlight_start":1,"text":"            for dir in default_library_dir {"},{"highlight_end":68,"highlight_start":1,"text":"                println!(\"cargo:rustc-link-search=native={}\", dir);"},{"highlight_end":14,"highlight_start":1,"text":"            }"},{"highlight_end":10,"highlight_start":1,"text":"        }"},{"highlight_end":6,"highlight_start":1,"text":"    }"}]}]}],"code":{"code":"clippy::collapsible_if","explanation":null},"level":"warning","message":"this `else { if .. }` block can be collapsed","spans":[{"byte_end":881,"byte_start":672,"column_end":6,"column_start":12,"expansion":null,"file_name":"vapoursynth-sys/build.rs","is_primary":true,"label":null,"line_end":28,"line_start":22,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":13,"highlight_start":12,"text":"    } else {"},{"highlight_end":65,"highlight_start":1,"text":"        if let Some(default_library_dir) = default_library_dir {"},{"highlight_end":45,"highlight_start":1,"text":"            for dir in default_library_dir {"},{"highlight_end":68,"highlight_start":1,"text":"                println!(\"cargo:rustc-link-search=native={}\", dir);"},{"highlight_end":14,"highlight_start":1,"text":"            }"},{"highlight_end":10,"highlight_start":1,"text":"        }"},{"highlight_end":6,"highlight_start":1,"text":"    }"}]}]}}
2020-04-04T11:38:46.0287541Z {"reason":"compiler-artifact","package_id":"getrandom 0.1.14 (registry+https://github.com/rust-lang/crates.io-index)","target":{"kind":["custom-build"],"crate_types":["bin"],"name":"build-script-build","src_path":"/home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/getrandom-0.1.14/build.rs","edition":"2018","doctest":false},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["std"],"filenames":["/home/runner/work/vapoursynth-rs/vapoursynth-rs/target/debug/build/getrandom-384b0be3da23b777/build-script-build"],"executable":null,"fresh":false}
2020-04-04T11:38:46.0289750Z ##[debug]Unexpected reason field, ignoring it: compiler-artifact
2020-04-04T11:38:46.0290576Z     Checking ppv-lite86 v0.2.6
2020-04-04T11:38:46.3984992Z {"reason":"compiler-artifact","package_id":"vapoursynth-sys 0.3.0 (path+file:///home/runner/work/vapoursynth-rs/vapoursynth-rs/vapoursynth-sys)","target":{"kind":["custom-build"],"crate_types":["bin"],"name":"build-script-build","src_path":"/home/runner/work/vapoursynth-rs/vapoursynth-rs/vapoursynth-sys/build.rs","edition":"2015","doctest":false},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["/home/runner/work/vapoursynth-rs/vapoursynth-rs/target/debug/build/vapoursynth-sys-60869aec456a1e4d/build-script-build"],"executable":null,"fresh":false}
2020-04-04T11:38:46.3985605Z ##[debug]Unexpected reason field, ignoring it: compiler-artifact
2020-04-04T11:38:46.3986334Z {"reason":"compiler-artifact","package_id":"lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)","target":{"kind":["lib"],"crate_types":["lib"],"name":"lazy_static","src_path":"/home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/lazy_static-1.4.0/src/lib.rs","edition":"2015","doctest":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["/home/runner/work/vapoursynth-rs/vapoursynth-rs/target/debug/deps/liblazy_static-fb13d2ff58e5f597.rmeta"],"executable":null,"fresh":true}
2020-04-04T11:38:46.3986939Z {"reason":"build-script-executed","package_id":"libc 0.2.68 (registry+https://github.com/rust-lang/crates.io-index)","linked_libs":[],"linked_paths":[],"cfgs":["freebsd11","libc_priv_mod_use","libc_union","libc_const_size_of","libc_align","libc_core_cvoid","libc_packedN"],"env":[],"out_dir":"/home/runner/work/vapoursynth-rs/vapoursynth-rs/target/debug/build/libc-497d53712d3285ed/out"}
2020-04-04T11:38:46.3987678Z {"reason":"build-script-executed","package_id":"proc-macro2 1.0.9 (registry+https://github.com/rust-lang/crates.io-index)","linked_libs":[],"linked_paths":[],"cfgs":["use_proc_macro","wrap_proc_macro"],"env":[],"out_dir":"/home/runner/work/vapoursynth-rs/vapoursynth-rs/target/debug/build/proc-macro2-a6018a4c04fe4d29/out"}
2020-04-04T11:38:46.3988526Z {"reason":"compiler-artifact","package_id":"backtrace-sys 0.1.35 (registry+https://github.com/rust-lang/crates.io-index)","target":{"kind":["custom-build"],"crate_types":["bin"],"name":"build-script-build","src_path":"/home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-sys-0.1.35/build.rs","edition":"2015","doctest":false},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["backtrace-sys"],"filenames":["/home/runner/work/vapoursynth-rs/vapoursynth-rs/target/debug/build/backtrace-sys-6bae507ed463952b/build-script-build"],"executable":null,"fresh":true}
2020-04-04T11:38:46.3989107Z {"reason":"build-script-executed","package_id":"syn 1.0.17 (registry+https://github.com/rust-lang/crates.io-index)","linked_libs":[],"linked_paths":[],"cfgs":["syn_disable_nightly_tests"],"env":[],"out_dir":"/home/runner/work/vapoursynth-rs/vapoursynth-rs/target/debug/build/syn-6dfbcd0470eefb0b/out"}
2020-04-04T11:38:46.3989604Z {"reason":"build-script-executed","package_id":"failure_derive 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)","linked_libs":[],"linked_paths":[],"cfgs":["has_dyn_trait"],"env":[],"out_dir":"/home/runner/work/vapoursynth-rs/vapoursynth-rs/target/debug/build/failure_derive-42335a16e6984455/out"}
2020-04-04T11:38:46.3990101Z {"reason":"build-script-executed","package_id":"bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)","linked_libs":[],"linked_paths":[],"cfgs":["bitflags_const_fn"],"env":[],"out_dir":"/home/runner/work/vapoursynth-rs/vapoursynth-rs/target/debug/build/bitflags-d80e338275f21d16/out"}
2020-04-04T11:38:46.3990472Z ##[debug]Unexpected reason field, ignoring it: compiler-artifact
2020-04-04T11:38:46.3990777Z ##[debug]Unexpected reason field, ignoring it: build-script-executed
2020-04-04T11:38:46.3991075Z ##[debug]Unexpected reason field, ignoring it: build-script-executed
2020-04-04T11:38:46.3991356Z ##[debug]Unexpected reason field, ignoring it: compiler-artifact
2020-04-04T11:38:46.3991650Z ##[debug]Unexpected reason field, ignoring it: build-script-executed
2020-04-04T11:38:46.3991946Z ##[debug]Unexpected reason field, ignoring it: build-script-executed
2020-04-04T11:38:46.3992238Z ##[debug]Unexpected reason field, ignoring it: build-script-executed
2020-04-04T11:38:46.3999664Z {"reason":"build-script-executed","package_id":"getrandom 0.1.14 (registry+https://github.com/rust-lang/crates.io-index)","linked_libs":[],"linked_paths":[],"cfgs":[],"env":[],"out_dir":"/home/runner/work/vapoursynth-rs/vapoursynth-rs/target/debug/build/getrandom-570a3bc8b3850b47/out"}
2020-04-04T11:38:46.4000812Z ##[debug]Unexpected reason field, ignoring it: build-script-executed
2020-04-04T11:38:46.4016420Z {"reason":"build-script-executed","package_id":"vapoursynth-sys 0.3.0 (path+file:///home/runner/work/vapoursynth-rs/vapoursynth-rs/vapoursynth-sys)","linked_libs":[],"linked_paths":[],"cfgs":[],"env":[],"out_dir":"/home/runner/work/vapoursynth-rs/vapoursynth-rs/target/debug/build/vapoursynth-sys-6be824870efdc26d/out"}
2020-04-04T11:38:46.4018047Z ##[debug]Unexpected reason field, ignoring it: build-script-executed
2020-04-04T11:38:46.4019149Z {"reason":"compiler-artifact","package_id":"libc 0.2.68 (registry+https://github.com/rust-lang/crates.io-index)","target":{"kind":["lib"],"crate_types":["lib"],"name":"libc","src_path":"/home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.68/src/lib.rs","edition":"2015","doctest":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["/home/runner/work/vapoursynth-rs/vapoursynth-rs/target/debug/deps/liblibc-d1752a85b11679b8.rmeta"],"executable":null,"fresh":true}
2020-04-04T11:38:46.4020432Z {"reason":"compiler-artifact","package_id":"proc-macro2 1.0.9 (registry+https://github.com/rust-lang/crates.io-index)","target":{"kind":["lib"],"crate_types":["lib"],"name":"proc-macro2","src_path":"/home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-1.0.9/src/lib.rs","edition":"2018","doctest":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["default","proc-macro"],"filenames":["/home/runner/work/vapoursynth-rs/vapoursynth-rs/target/debug/deps/libproc_macro2-3e73c5d96766f7c4.rlib","/home/runner/work/vapoursynth-rs/vapoursynth-rs/target/debug/deps/libproc_macro2-3e73c5d96766f7c4.rmeta"],"executable":null,"fresh":true}
2020-04-04T11:38:46.4021374Z {"reason":"build-script-executed","package_id":"backtrace-sys 0.1.35 (registry+https://github.com/rust-lang/crates.io-index)","linked_libs":["static=backtrace"],"linked_paths":["native=/home/runner/work/vapoursynth-rs/vapoursynth-rs/target/debug/build/backtrace-sys-ddb34e463ec9a366/out"],"cfgs":["rbt"],"env":[],"out_dir":"/home/runner/work/vapoursynth-rs/vapoursynth-rs/target/debug/build/backtrace-sys-ddb34e463ec9a366/out"}
2020-04-04T11:38:46.4022526Z {"reason":"compiler-artifact","package_id":"bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)","target":{"kind":["lib"],"crate_types":["lib"],"name":"bitflags","src_path":"/home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/bitflags-1.2.1/src/lib.rs","edition":"2015","doctest":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["default"],"filenames":["/home/runner/work/vapoursynth-rs/vapoursynth-rs/target/debug/deps/libbitflags-26f8025146b11ec5.rmeta"],"executable":null,"fresh":true}
2020-04-04T11:38:46.4023482Z ##[debug]Unexpected reason field, ignoring it: compiler-artifact
2020-04-04T11:38:46.4024012Z ##[debug]Unexpected reason field, ignoring it: compiler-artifact
2020-04-04T11:38:46.4024555Z ##[debug]Unexpected reason field, ignoring it: build-script-executed
2020-04-04T11:38:46.4025209Z ##[debug]Unexpected reason field, ignoring it: compiler-artifact
2020-04-04T11:38:46.7443187Z {"reason":"compiler-artifact","package_id":"vapoursynth-sys 0.3.0 (path+file:///home/runner/work/vapoursynth-rs/vapoursynth-rs/vapoursynth-sys)","target":{"kind":["lib"],"crate_types":["lib"],"name":"vapoursynth-sys","src_path":"/home/runner/work/vapoursynth-rs/vapoursynth-rs/vapoursynth-sys/src/lib.rs","edition":"2015","doctest":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["/home/runner/work/vapoursynth-rs/vapoursynth-rs/target/debug/deps/libvapoursynth_sys-0e90e2e712e2bb53.rmeta"],"executable":null,"fresh":false}
2020-04-04T11:38:46.7444404Z ##[debug]Unexpected reason field, ignoring it: compiler-artifact
2020-04-04T11:38:46.9506154Z {"reason":"compiler-artifact","package_id":"getrandom 0.1.14 (registry+https://github.com/rust-lang/crates.io-index)","target":{"kind":["lib"],"crate_types":["lib"],"name":"getrandom","src_path":"/home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/getrandom-0.1.14/src/lib.rs","edition":"2018","doctest":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["std"],"filenames":["/home/runner/work/vapoursynth-rs/vapoursynth-rs/target/debug/deps/libgetrandom-9a5b794d30d29858.rmeta"],"executable":null,"fresh":false}
2020-04-04T11:38:46.9507777Z ##[debug]Unexpected reason field, ignoring it: compiler-artifact
2020-04-04T11:38:46.9508954Z {"reason":"compiler-artifact","package_id":"quote 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)","target":{"kind":["lib"],"crate_types":["lib"],"name":"quote","src_path":"/home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/quote-1.0.3/src/lib.rs","edition":"2018","doctest":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["default","proc-macro"],"filenames":["/home/runner/work/vapoursynth-rs/vapoursynth-rs/target/debug/deps/libquote-3c0258c69d162d19.rlib","/home/runner/work/vapoursynth-rs/vapoursynth-rs/target/debug/deps/libquote-3c0258c69d162d19.rmeta"],"executable":null,"fresh":true}
2020-04-04T11:38:46.9510919Z {"reason":"compiler-artifact","package_id":"backtrace-sys 0.1.35 (registry+https://github.com/rust-lang/crates.io-index)","target":{"kind":["lib"],"crate_types":["lib"],"name":"backtrace-sys","src_path":"/home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-sys-0.1.35/src/lib.rs","edition":"2015","doctest":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["backtrace-sys"],"filenames":["/home/runner/work/vapoursynth-rs/vapoursynth-rs/target/debug/deps/libbacktrace_sys-1ac65d5f4cf37687.rmeta"],"executable":null,"fresh":true}
2020-04-04T11:38:46.9511633Z ##[debug]Unexpected reason field, ignoring it: compiler-artifact
2020-04-04T11:38:46.9512209Z ##[debug]Unexpected reason field, ignoring it: compiler-artifact
2020-04-04T11:38:46.9512554Z     Checking rand_core v0.5.1
2020-04-04T11:38:47.1899196Z {"reason":"compiler-artifact","package_id":"rand_core 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)","target":{"kind":["lib"],"crate_types":["lib"],"name":"rand_core","src_path":"/home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/rand_core-0.5.1/src/lib.rs","edition":"2018","doctest":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["alloc","getrandom","std"],"filenames":["/home/runner/work/vapoursynth-rs/vapoursynth-rs/target/debug/deps/librand_core-66171c0d189b5c87.rmeta"],"executable":null,"fresh":false}
2020-04-04T11:38:47.1900947Z ##[debug]Unexpected reason field, ignoring it: compiler-artifact
2020-04-04T11:38:47.1903642Z {"reason":"compiler-artifact","package_id":"syn 1.0.17 (registry+https://github.com/rust-lang/crates.io-index)","target":{"kind":["lib"],"crate_types":["lib"],"name":"syn","src_path":"/home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/syn-1.0.17/src/lib.rs","edition":"2018","doctest":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["clone-impls","default","derive","extra-traits","parsing","printing","proc-macro","quote","visit"],"filenames":["/home/runner/work/vapoursynth-rs/vapoursynth-rs/target/debug/deps/libsyn-c84caa92334e6209.rlib","/home/runner/work/vapoursynth-rs/vapoursynth-rs/target/debug/deps/libsyn-c84caa92334e6209.rmeta"],"executable":null,"fresh":true}
2020-04-04T11:38:47.1904721Z {"reason":"compiler-artifact","package_id":"backtrace 0.3.46 (registry+https://github.com/rust-lang/crates.io-index)","target":{"kind":["lib"],"crate_types":["lib"],"name":"backtrace","src_path":"/home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/lib.rs","edition":"2018","doctest":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["backtrace-sys","dbghelp","default","dladdr","libbacktrace","libunwind","std"],"filenames":["/home/runner/work/vapoursynth-rs/vapoursynth-rs/target/debug/deps/libbacktrace-4a69f42f763a6428.rmeta"],"executable":null,"fresh":true}
2020-04-04T11:38:47.1905944Z {"reason":"compiler-artifact","package_id":"synstructure 0.12.3 (registry+https://github.com/rust-lang/crates.io-index)","target":{"kind":["lib"],"crate_types":["lib"],"name":"synstructure","src_path":"/home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/synstructure-0.12.3/src/lib.rs","edition":"2018","doctest":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["default","proc-macro"],"filenames":["/home/runner/work/vapoursynth-rs/vapoursynth-rs/target/debug/deps/libsynstructure-5d080052239113bf.rlib","/home/runner/work/vapoursynth-rs/vapoursynth-rs/target/debug/deps/libsynstructure-5d080052239113bf.rmeta"],"executable":null,"fresh":true}
2020-04-04T11:38:47.1907007Z {"reason":"compiler-artifact","package_id":"failure_derive 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)","target":{"kind":["proc-macro"],"crate_types":["proc-macro"],"name":"failure_derive","src_path":"/home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/failure_derive-0.1.7/src/lib.rs","edition":"2015","doctest":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["/home/runner/work/vapoursynth-rs/vapoursynth-rs/target/debug/deps/libfailure_derive-862b522233fbebb7.so"],"executable":null,"fresh":true}
2020-04-04T11:38:47.1907928Z {"reason":"compiler-artifact","package_id":"failure 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)","target":{"kind":["lib"],"crate_types":["lib"],"name":"failure","src_path":"/home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/failure-0.1.7/src/lib.rs","edition":"2015","doctest":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["backtrace","default","derive","failure_derive","std"],"filenames":["/home/runner/work/vapoursynth-rs/vapoursynth-rs/target/debug/deps/libfailure-99632686783b6dfe.rmeta"],"executable":null,"fresh":true}
2020-04-04T11:38:47.1908433Z ##[debug]Unexpected reason field, ignoring it: compiler-artifact
2020-04-04T11:38:47.1908746Z ##[debug]Unexpected reason field, ignoring it: compiler-artifact
2020-04-04T11:38:47.1909031Z ##[debug]Unexpected reason field, ignoring it: compiler-artifact
2020-04-04T11:38:47.1909324Z ##[debug]Unexpected reason field, ignoring it: compiler-artifact
2020-04-04T11:38:47.1909614Z ##[debug]Unexpected reason field, ignoring it: compiler-artifact
2020-04-04T11:38:47.1910261Z     Checking vapoursynth v0.3.0 (/home/runner/work/vapoursynth-rs/vapoursynth-rs/vapoursynth)
2020-04-04T11:38:48.4668105Z {"reason":"compiler-artifact","package_id":"vapoursynth 0.3.0 (path+file:///home/runner/work/vapoursynth-rs/vapoursynth-rs/vapoursynth)","target":{"kind":["lib"],"crate_types":["lib"],"name":"vapoursynth","src_path":"/home/runner/work/vapoursynth-rs/vapoursynth-rs/vapoursynth/src/lib.rs","edition":"2015","doctest":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["/home/runner/work/vapoursynth-rs/vapoursynth-rs/target/debug/deps/libvapoursynth-037ffdbe4a585c93.rmeta"],"executable":null,"fresh":false}
2020-04-04T11:38:48.4672280Z ##[debug]Unexpected reason field, ignoring it: compiler-artifact
2020-04-04T11:38:49.2914968Z {"reason":"compiler-artifact","package_id":"ppv-lite86 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)","target":{"kind":["lib"],"crate_types":["lib"],"name":"ppv-lite86","src_path":"/home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/ppv-lite86-0.2.6/src/lib.rs","edition":"2018","doctest":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["simd","std"],"filenames":["/home/runner/work/vapoursynth-rs/vapoursynth-rs/target/debug/deps/libppv_lite86-04086f98d18ad70d.rmeta"],"executable":null,"fresh":false}
2020-04-04T11:38:49.2916217Z ##[debug]Unexpected reason field, ignoring it: compiler-artifact
2020-04-04T11:38:49.2916874Z     Checking rand_chacha v0.2.2
2020-04-04T11:38:49.6969984Z {"reason":"compiler-artifact","package_id":"rand_chacha 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)","target":{"kind":["lib"],"crate_types":["lib"],"name":"rand_chacha","src_path":"/home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/rand_chacha-0.2.2/src/lib.rs","edition":"2018","doctest":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["std"],"filenames":["/home/runner/work/vapoursynth-rs/vapoursynth-rs/target/debug/deps/librand_chacha-9df4f4e65eeafbf4.rmeta"],"executable":null,"fresh":false}
2020-04-04T11:38:49.6971342Z ##[debug]Unexpected reason field, ignoring it: compiler-artifact
2020-04-04T11:38:49.6971687Z     Checking rand v0.7.3
2020-04-04T11:39:03.2497133Z {"reason":"compiler-artifact","package_id":"rand 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)","target":{"kind":["lib"],"crate_types":["lib"],"name":"rand","src_path":"/home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.7.3/src/lib.rs","edition":"2018","doctest":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["alloc","default","getrandom","getrandom_package","libc","std"],"filenames":["/home/runner/work/vapoursynth-rs/vapoursynth-rs/target/debug/deps/librand-72b4e01011d71f18.rmeta"],"executable":null,"fresh":false}
2020-04-04T11:39:03.2498951Z ##[debug]Unexpected reason field, ignoring it: compiler-artifact
2020-04-04T11:39:03.2499443Z     Checking sample-plugin v0.1.0 (/home/runner/work/vapoursynth-rs/vapoursynth-rs/sample-plugin)
2020-04-04T11:39:03.6311042Z {"reason":"compiler-message","package_id":"sample-plugin 0.1.0 (path+file:///home/runner/work/vapoursynth-rs/vapoursynth-rs/sample-plugin)","target":{"kind":["cdylib"],"crate_types":["cdylib"],"name":"sample-plugin","src_path":"/home/runner/work/vapoursynth-rs/vapoursynth-rs/sample-plugin/src/lib.rs","edition":"2015","doctest":false},"message":{"rendered":"warning: this function has too many arguments (8/7)\n  --> sample-plugin/src/lib.rs:247:63\n   |\n33 | |\n   | |____________________^\n...\n247|       ) -> Result<Option<Box<dyn Filter<'core> + 'core>>, Error> {\n   |  _______________________________________________________________^\n   |\n   = note: `#[warn(clippy::too_many_arguments)]` on by default\n   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments\n\n","children":[{"children":[],"code":null,"level":"note","message":"`#[warn(clippy::too_many_arguments)]` on by default","rendered":null,"spans":[]},{"children":[],"code":null,"level":"help","message":"for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments","rendered":null,"spans":[]}],"code":{"code":"clippy::too_many_arguments","explanation":null},"level":"warning","message":"this function has too many arguments (8/7)","spans":[{"byte_end":8255982,"byte_start":7288,"column_end":21,"column_start":63,"expansion":{"def_site_span":{"byte_end":1798,"byte_start":0,"column_end":67,"column_start":1,"expansion":null,"file_name":"<::vapoursynth::plugins::make_filter_function macros>","is_primary":false,"label":null,"line_end":35,"line_start":1,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":74,"highlight_start":1,"text":"($ struct_name : ident, $ function_name : tt $ (# [$ attr : meta]) * fn $"},{"highlight_end":44,"highlight_start":1,"text":" create_fn_name : ident < $ lifetime : tt >"},{"highlight_end":76,"highlight_start":1,"text":" ($ api_arg_name : ident : $ api_arg_type : ty, $ core_arg_name : ident : $"},{"highlight_end":78,"highlight_start":1,"text":"  core_arg_type : ty, $ ($ arg_name : ident : $ arg_type : ty), * $ (,) *) ->"},{"highlight_end":46,"highlight_start":1,"text":" $ return_type : ty { $ ($ body : tt) * }) =>"},{"highlight_end":60,"highlight_start":1,"text":"(struct $ struct_name { args : String, } impl $ struct_name"},{"highlight_end":3,"highlight_start":1,"text":" {"},{"highlight_end":33,"highlight_start":1,"text":"     fn new < 'core > () -> Self"},{"highlight_end":7,"highlight_start":1,"text":"     {"},{"highlight_end":45,"highlight_start":1,"text":"         let mut args = String :: new () ; $"},{"highlight_end":72,"highlight_start":1,"text":"         (args += stringify ! ($ arg_name) ; args += \":\" ; args += << $"},{"highlight_end":79,"highlight_start":1,"text":"          arg_type as $ crate :: plugins :: FilterParameter > :: Argument > ::"},{"highlight_end":66,"highlight_start":1,"text":"          type_name () ; if < $ arg_type as $ crate :: plugins ::"},{"highlight_end":78,"highlight_start":1,"text":"          FilterParameter > :: is_array () { args += \"[]\" ; } if < $ arg_type"},{"highlight_end":71,"highlight_start":1,"text":"          as $ crate :: plugins :: FilterParameter > :: is_optional ()"},{"highlight_end":72,"highlight_start":1,"text":"          { args += \":opt\" ; } if < $ arg_type as $ crate :: plugins ::"},{"highlight_end":78,"highlight_start":1,"text":"          FilterParameter > :: is_array () { args += \":empty\" ; } args += \";\""},{"highlight_end":29,"highlight_start":1,"text":"          ;) * Self { args }"},{"highlight_end":7,"highlight_start":1,"text":"     }"},{"highlight_end":63,"highlight_start":1,"text":" } impl $ crate :: plugins :: FilterFunction for $ struct_name"},{"highlight_end":3,"highlight_start":1,"text":" {"},{"highlight_end":76,"highlight_start":1,"text":"     # [inline] fn name (& self) -> & str { $ function_name } # [inline] fn"},{"highlight_end":77,"highlight_start":1,"text":"     args (& self) -> & str { & self . args } # [inline] fn create < 'core >"},{"highlight_end":79,"highlight_start":1,"text":"     (& self, api : API, core : CoreRef < 'core >, args : & Map < 'core >,) ->"},{"highlight_end":76,"highlight_start":1,"text":"     Result < Option < Box < $ crate :: plugins :: Filter < 'core > + 'core"},{"highlight_end":17,"highlight_start":1,"text":"     >>, Error >"},{"highlight_end":7,"highlight_start":1,"text":"     {"},{"highlight_end":26,"highlight_start":1,"text":"         $ create_fn_name"},{"highlight_end":23,"highlight_start":1,"text":"         (api, core, $"},{"highlight_end":70,"highlight_start":1,"text":"          (< $ arg_type as $ crate :: plugins :: FilterParameter > ::"},{"highlight_end":63,"highlight_start":1,"text":"           get_from_map (args, stringify ! ($ arg_name),)), *)"},{"highlight_end":7,"highlight_start":1,"text":"     }"},{"highlight_end":55,"highlight_start":1,"text":" } $ (# [$ attr]) * fn $ create_fn_name < $ lifetime >"},{"highlight_end":72,"highlight_start":1,"text":" ($ api_arg_name : $ api_arg_type, $ core_arg_name : $ core_arg_type, $"},{"highlight_end":67,"highlight_start":1,"text":"  ($ arg_name : $ arg_type), *) -> $ return_type { $ ($ body) * })"}]},"macro_decl_name":"make_filter_function!","span":{"byte_end":8521,"byte_start":6953,"column_end":2,"column_start":1,"expansion":null,"file_name":"sample-plugin/src/lib.rs","is_primary":false,"label":null,"line_end":291,"line_start":235,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":24,"highlight_start":1,"text":"make_filter_function! {"},{"highlight_end":39,"highlight_start":1,"text":"    RandomNoiseFunction, \"RandomNoise\""},{"highlight_end":1,"highlight_start":1,"text":""},{"highlight_end":35,"highlight_start":1,"text":"    fn create_random_noise<'core>("},{"highlight_end":19,"highlight_start":1,"text":"        _api: API,"},{"highlight_end":30,"highlight_start":1,"text":"        core: CoreRef<'core>,"},{"highlight_end":21,"highlight_start":1,"text":"        format: i64,"},{"highlight_end":20,"highlight_start":1,"text":"        width: i64,"},{"highlight_end":21,"highlight_start":1,"text":"        height: i64,"},{"highlight_end":21,"highlight_start":1,"text":"        length: i64,"},{"highlight_end":21,"highlight_start":1,"text":"        fpsnum: i64,"},{"highlight_end":21,"highlight_start":1,"text":"        fpsden: i64,"},{"highlight_end":65,"highlight_start":1,"text":"    ) -> Result<Option<Box<dyn Filter<'core> + 'core>>, Error> {"},{"highlight_end":48,"highlight_start":1,"text":"        let format_id = (format as i32).into();"},{"highlight_end":48,"highlight_start":1,"text":"        let format = core.get_format(format_id)"},{"highlight_end":60,"highlight_start":1,"text":"            .ok_or_else(|| format_err!(\"No such format\"))?;"},{"highlight_end":1,"highlight_start":1,"text":""},{"highlight_end":55,"highlight_start":1,"text":"        if format.sample_type() == SampleType::Float {"},{"highlight_end":63,"highlight_start":1,"text":"            bail!(\"Floating point formats are not supported\");"},{"highlight_end":10,"highlight_start":1,"text":"        }"},{"highlight_end":1,"highlight_start":1,"text":""},{"highlight_end":63,"highlight_start":1,"text":"        if width <= 0 || width > i64::from(i32::max_value()) {"},{"highlight_end":36,"highlight_start":1,"text":"            bail!(\"Invalid width\");"},{"highlight_end":10,"highlight_start":1,"text":"        }"},{"highlight_end":36,"highlight_start":1,"text":"        let width = width as usize;"},{"highlight_end":1,"highlight_start":1,"text":""},{"highlight_end":65,"highlight_start":1,"text":"        if height <= 0 || height > i64::from(i32::max_value()) {"},{"highlight_end":37,"highlight_start":1,"text":"            bail!(\"Invalid height\");"},{"highlight_end":10,"highlight_start":1,"text":"        }"},{"highlight_end":38,"highlight_start":1,"text":"        let height = height as usize;"},{"highlight_end":1,"highlight_start":1,"text":""},{"highlight_end":65,"highlight_start":1,"text":"        if length <= 0 || length > i64::from(i32::max_value()) {"},{"highlight_end":37,"highlight_start":1,"text":"            bail!(\"Invalid length\");"},{"highlight_end":10,"highlight_start":1,"text":"        }"},{"highlight_end":38,"highlight_start":1,"text":"        let length = length as usize;"},{"highlight_end":1,"highlight_start":1,"text":""},{"highlight_end":25,"highlight_start":1,"text":"        if fpsnum <= 0 {"},{"highlight_end":37,"highlight_start":1,"text":"            bail!(\"Invalid fpsnum\");"},{"highlight_end":10,"highlight_start":1,"text":"        }"},{"highlight_end":36,"highlight_start":1,"text":"        let fpsnum = fpsnum as u64;"},{"highlight_end":1,"highlight_start":1,"text":""},{"highlight_end":25,"highlight_start":1,"text":"        if fpsden <= 0 {"},{"highlight_end":37,"highlight_start":1,"text":"            bail!(\"Invalid fpsden\");"},{"highlight_end":10,"highlight_start":1,"text":"        }"},{"highlight_end":36,"highlight_start":1,"text":"        let fpsden = fpsden as u64;"},{"highlight_end":1,"highlight_start":1,"text":""},{"highlight_end":39,"highlight_start":1,"text":"        Ok(Some(Box::new(RandomNoise {"},{"highlight_end":23,"highlight_start":1,"text":"            format_id,"},{"highlight_end":54,"highlight_start":1,"text":"            resolution: Resolution { width, height },"},{"highlight_end":35,"highlight_start":1,"text":"            framerate: Framerate {"},{"highlight_end":35,"highlight_start":1,"text":"                numerator: fpsnum,"},{"highlight_end":37,"highlight_start":1,"text":"                denominator: fpsden,"},{"highlight_end":15,"highlight_start":1,"text":"            },"},{"highlight_end":20,"highlight_start":1,"text":"            length,"},{"highlight_end":13,"highlight_start":1,"text":"        })))"},{"highlight_end":6,"highlight_start":1,"text":"    }"},{"highlight_end":2,"highlight_start":1,"text":"}"}]}},"file_name":"sample-plugin/src/lib.rs","is_primary":true,"label":null,"line_end":33,"line_start":247,"suggested_replacement":null,"suggestion_applicability":null,"text":[]}]}}
2020-04-04T11:39:03.6517463Z {"reason":"compiler-message","package_id":"sample-plugin 0.1.0 (path+file:///home/runner/work/vapoursynth-rs/vapoursynth-rs/sample-plugin)","target":{"kind":["cdylib"],"crate_types":["cdylib"],"name":"sample-plugin","src_path":"/home/runner/work/vapoursynth-rs/vapoursynth-rs/sample-plugin/src/lib.rs","edition":"2015","doctest":false},"message":{"rendered":"warning: this function has too many arguments (8/7)\n  --> sample-plugin/src/lib.rs:247:63\n   |\n33 | |\n   | |____________________^\n...\n247|       ) -> Result<Option<Box<dyn Filter<'core> + 'core>>, Error> {\n   |  _______________________________________________________________^\n   |\n   = note: `#[warn(clippy::too_many_arguments)]` on by default\n   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments\n\n","children":[{"children":[],"code":null,"level":"note","message":"`#[warn(clippy::too_many_arguments)]` on by default","rendered":null,"spans":[]},{"children":[],"code":null,"level":"help","message":"for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments","rendered":null,"spans":[]}],"code":{"code":"clippy::too_many_arguments","explanation":null},"level":"warning","message":"this function has too many arguments (8/7)","spans":[{"byte_end":8255982,"byte_start":7288,"column_end":21,"column_start":63,"expansion":{"def_site_span":{"byte_end":1798,"byte_start":0,"column_end":67,"column_start":1,"expansion":null,"file_name":"<::vapoursynth::plugins::make_filter_function macros>","is_primary":false,"label":null,"line_end":35,"line_start":1,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":74,"highlight_start":1,"text":"($ struct_name : ident, $ function_name : tt $ (# [$ attr : meta]) * fn $"},{"highlight_end":44,"highlight_start":1,"text":" create_fn_name : ident < $ lifetime : tt >"},{"highlight_end":76,"highlight_start":1,"text":" ($ api_arg_name : ident : $ api_arg_type : ty, $ core_arg_name : ident : $"},{"highlight_end":78,"highlight_start":1,"text":"  core_arg_type : ty, $ ($ arg_name : ident : $ arg_type : ty), * $ (,) *) ->"},{"highlight_end":46,"highlight_start":1,"text":" $ return_type : ty { $ ($ body : tt) * }) =>"},{"highlight_end":60,"highlight_start":1,"text":"(struct $ struct_name { args : String, } impl $ struct_name"},{"highlight_end":3,"highlight_start":1,"text":" {"},{"highlight_end":33,"highlight_start":1,"text":"     fn new < 'core > () -> Self"},{"highlight_end":7,"highlight_start":1,"text":"     {"},{"highlight_end":45,"highlight_start":1,"text":"         let mut args = String :: new () ; $"},{"highlight_end":72,"highlight_start":1,"text":"         (args += stringify ! ($ arg_name) ; args += \":\" ; args += << $"},{"highlight_end":79,"highlight_start":1,"text":"          arg_type as $ crate :: plugins :: FilterParameter > :: Argument > ::"},{"highlight_end":66,"highlight_start":1,"text":"          type_name () ; if < $ arg_type as $ crate :: plugins ::"},{"highlight_end":78,"highlight_start":1,"text":"          FilterParameter > :: is_array () { args += \"[]\" ; } if < $ arg_type"},{"highlight_end":71,"highlight_start":1,"text":"          as $ crate :: plugins :: FilterParameter > :: is_optional ()"},{"highlight_end":72,"highlight_start":1,"text":"          { args += \":opt\" ; } if < $ arg_type as $ crate :: plugins ::"},{"highlight_end":78,"highlight_start":1,"text":"          FilterParameter > :: is_array () { args += \":empty\" ; } args += \";\""},{"highlight_end":29,"highlight_start":1,"text":"          ;) * Self { args }"},{"highlight_end":7,"highlight_start":1,"text":"     }"},{"highlight_end":63,"highlight_start":1,"text":" } impl $ crate :: plugins :: FilterFunction for $ struct_name"},{"highlight_end":3,"highlight_start":1,"text":" {"},{"highlight_end":76,"highlight_start":1,"text":"     # [inline] fn name (& self) -> & str { $ function_name } # [inline] fn"},{"highlight_end":77,"highlight_start":1,"text":"     args (& self) -> & str { & self . args } # [inline] fn create < 'core >"},{"highlight_end":79,"highlight_start":1,"text":"     (& self, api : API, core : CoreRef < 'core >, args : & Map < 'core >,) ->"},{"highlight_end":76,"highlight_start":1,"text":"     Result < Option < Box < $ crate :: plugins :: Filter < 'core > + 'core"},{"highlight_end":17,"highlight_start":1,"text":"     >>, Error >"},{"highlight_end":7,"highlight_start":1,"text":"     {"},{"highlight_end":26,"highlight_start":1,"text":"         $ create_fn_name"},{"highlight_end":23,"highlight_start":1,"text":"         (api, core, $"},{"highlight_end":70,"highlight_start":1,"text":"          (< $ arg_type as $ crate :: plugins :: FilterParameter > ::"},{"highlight_end":63,"highlight_start":1,"text":"           get_from_map (args, stringify ! ($ arg_name),)), *)"},{"highlight_end":7,"highlight_start":1,"text":"     }"},{"highlight_end":55,"highlight_start":1,"text":" } $ (# [$ attr]) * fn $ create_fn_name < $ lifetime >"},{"highlight_end":72,"highlight_start":1,"text":" ($ api_arg_name : $ api_arg_type, $ core_arg_name : $ core_arg_type, $"},{"highlight_end":67,"highlight_start":1,"text":"  ($ arg_name : $ arg_type), *) -> $ return_type { $ ($ body) * })"}]},"macro_decl_name":"make_filter_function!","span":{"byte_end":8521,"byte_start":6953,"column_end":2,"column_start":1,"expansion":null,"file_name":"sample-plugin/src/lib.rs","is_primary":false,"label":null,"line_end":291,"line_start":235,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":24,"highlight_start":1,"text":"make_filter_function! {"},{"highlight_end":39,"highlight_start":1,"text":"    RandomNoiseFunction, \"RandomNoise\""},{"highlight_end":1,"highlight_start":1,"text":""},{"highlight_end":35,"highlight_start":1,"text":"    fn create_random_noise<'core>("},{"highlight_end":19,"highlight_start":1,"text":"        _api: API,"},{"highlight_end":30,"highlight_start":1,"text":"        core: CoreRef<'core>,"},{"highlight_end":21,"highlight_start":1,"text":"        format: i64,"},{"highlight_end":20,"highlight_start":1,"text":"        width: i64,"},{"highlight_end":21,"highlight_start":1,"text":"        height: i64,"},{"highlight_end":21,"highlight_start":1,"text":"        length: i64,"},{"highlight_end":21,"highlight_start":1,"text":"        fpsnum: i64,"},{"highlight_end":21,"highlight_start":1,"text":"        fpsden: i64,"},{"highlight_end":65,"highlight_start":1,"text":"    ) -> Result<Option<Box<dyn Filter<'core> + 'core>>, Error> {"},{"highlight_end":48,"highlight_start":1,"text":"        let format_id = (format as i32).into();"},{"highlight_end":48,"highlight_start":1,"text":"        let format = core.get_format(format_id)"},{"highlight_end":60,"highlight_start":1,"text":"            .ok_or_else(|| format_err!(\"No such format\"))?;"},{"highlight_end":1,"highlight_start":1,"text":""},{"highlight_end":55,"highlight_start":1,"text":"        if format.sample_type() == SampleType::Float {"},{"highlight_end":63,"highlight_start":1,"text":"            bail!(\"Floating point formats are not supported\");"},{"highlight_end":10,"highlight_start":1,"text":"        }"},{"highlight_end":1,"highlight_start":1,"text":""},{"highlight_end":63,"highlight_start":1,"text":"        if width <= 0 || width > i64::from(i32::max_value()) {"},{"highlight_end":36,"highlight_start":1,"text":"            bail!(\"Invalid width\");"},{"highlight_end":10,"highlight_start":1,"text":"        }"},{"highlight_end":36,"highlight_start":1,"text":"        let width = width as usize;"},{"highlight_end":1,"highlight_start":1,"text":""},{"highlight_end":65,"highlight_start":1,"text":"        if height <= 0 || height > i64::from(i32::max_value()) {"},{"highlight_end":37,"highlight_start":1,"text":"            bail!(\"Invalid height\");"},{"highlight_end":10,"highlight_start":1,"text":"        }"},{"highlight_end":38,"highlight_start":1,"text":"        let height = height as usize;"},{"highlight_end":1,"highlight_start":1,"text":""},{"highlight_end":65,"highlight_start":1,"text":"        if length <= 0 || length > i64::from(i32::max_value()) {"},{"highlight_end":37,"highlight_start":1,"text":"            bail!(\"Invalid length\");"},{"highlight_end":10,"highlight_start":1,"text":"        }"},{"highlight_end":38,"highlight_start":1,"text":"        let length = length as usize;"},{"highlight_end":1,"highlight_start":1,"text":""},{"highlight_end":25,"highlight_start":1,"text":"        if fpsnum <= 0 {"},{"highlight_end":37,"highlight_start":1,"text":"            bail!(\"Invalid fpsnum\");"},{"highlight_end":10,"highlight_start":1,"text":"        }"},{"highlight_end":36,"highlight_start":1,"text":"        let fpsnum = fpsnum as u64;"},{"highlight_end":1,"highlight_start":1,"text":""},{"highlight_end":25,"highlight_start":1,"text":"        if fpsden <= 0 {"},{"highlight_end":37,"highlight_start":1,"text":"            bail!(\"Invalid fpsden\");"},{"highlight_end":10,"highlight_start":1,"text":"        }"},{"highlight_end":36,"highlight_start":1,"text":"        let fpsden = fpsden as u64;"},{"highlight_end":1,"highlight_start":1,"text":""},{"highlight_end":39,"highlight_start":1,"text":"        Ok(Some(Box::new(RandomNoise {"},{"highlight_end":23,"highlight_start":1,"text":"            format_id,"},{"highlight_end":54,"highlight_start":1,"text":"            resolution: Resolution { width, height },"},{"highlight_end":35,"highlight_start":1,"text":"            framerate: Framerate {"},{"highlight_end":35,"highlight_start":1,"text":"                numerator: fpsnum,"},{"highlight_end":37,"highlight_start":1,"text":"                denominator: fpsden,"},{"highlight_end":15,"highlight_start":1,"text":"            },"},{"highlight_end":20,"highlight_start":1,"text":"            length,"},{"highlight_end":13,"highlight_start":1,"text":"        })))"},{"highlight_end":6,"highlight_start":1,"text":"    }"},{"highlight_end":2,"highlight_start":1,"text":"}"}]}},"file_name":"sample-plugin/src/lib.rs","is_primary":true,"label":null,"line_end":33,"line_start":247,"suggested_replacement":null,"suggestion_applicability":null,"text":[]}]}}
2020-04-04T11:39:03.6575720Z {"reason":"compiler-message","package_id":"sample-plugin 0.1.0 (path+file:///home/runner/work/vapoursynth-rs/vapoursynth-rs/sample-plugin)","target":{"kind":["cdylib"],"crate_types":["cdylib"],"name":"sample-plugin","src_path":"/home/runner/work/vapoursynth-rs/vapoursynth-rs/sample-plugin/src/lib.rs","edition":"2015","doctest":false},"message":{"rendered":"warning: this function has too many arguments (12/7)\n  --> sample-plugin/src/lib.rs:396:63\n   |\n33 | |\n   | |____________________^\n...\n396|       ) -> Result<Option<Box<dyn Filter<'core> + 'core>>, Error> {\n   |  _______________________________________________________________^\n   |\n   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments\n\n","children":[{"children":[],"code":null,"level":"help","message":"for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments","rendered":null,"spans":[]}],"code":{"code":"clippy::too_many_arguments","explanation":null},"level":"warning","message":"this function has too many arguments (12/7)","spans":[{"byte_end":8255982,"byte_start":11500,"column_end":21,"column_start":63,"expansion":{"def_site_span":{"byte_end":1798,"byte_start":0,"column_end":67,"column_start":1,"expansion":null,"file_name":"<::vapoursynth::plugins::make_filter_function macros>","is_primary":false,"label":null,"line_end":35,"line_start":1,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":74,"highlight_start":1,"text":"($ struct_name : ident, $ function_name : tt $ (# [$ attr : meta]) * fn $"},{"highlight_end":44,"highlight_start":1,"text":" create_fn_name : ident < $ lifetime : tt >"},{"highlight_end":76,"highlight_start":1,"text":" ($ api_arg_name : ident : $ api_arg_type : ty, $ core_arg_name : ident : $"},{"highlight_end":78,"highlight_start":1,"text":"  core_arg_type : ty, $ ($ arg_name : ident : $ arg_type : ty), * $ (,) *) ->"},{"highlight_end":46,"highlight_start":1,"text":" $ return_type : ty { $ ($ body : tt) * }) =>"},{"highlight_end":60,"highlight_start":1,"text":"(struct $ struct_name { args : String, } impl $ struct_name"},{"highlight_end":3,"highlight_start":1,"text":" {"},{"highlight_end":33,"highlight_start":1,"text":"     fn new < 'core > () -> Self"},{"highlight_end":7,"highlight_start":1,"text":"     {"},{"highlight_end":45,"highlight_start":1,"text":"         let mut args = String :: new () ; $"},{"highlight_end":72,"highlight_start":1,"text":"         (args += stringify ! ($ arg_name) ; args += \":\" ; args += << $"},{"highlight_end":79,"highlight_start":1,"text":"          arg_type as $ crate :: plugins :: FilterParameter > :: Argument > ::"},{"highlight_end":66,"highlight_start":1,"text":"          type_name () ; if < $ arg_type as $ crate :: plugins ::"},{"highlight_end":78,"highlight_start":1,"text":"          FilterParameter > :: is_array () { args += \"[]\" ; } if < $ arg_type"},{"highlight_end":71,"highlight_start":1,"text":"          as $ crate :: plugins :: FilterParameter > :: is_optional ()"},{"highlight_end":72,"highlight_start":1,"text":"          { args += \":opt\" ; } if < $ arg_type as $ crate :: plugins ::"},{"highlight_end":78,"highlight_start":1,"text":"          FilterParameter > :: is_array () { args += \":empty\" ; } args += \";\""},{"highlight_end":29,"highlight_start":1,"text":"          ;) * Self { args }"},{"highlight_end":7,"highlight_start":1,"text":"     }"},{"highlight_end":63,"highlight_start":1,"text":" } impl $ crate :: plugins :: FilterFunction for $ struct_name"},{"highlight_end":3,"highlight_start":1,"text":" {"},{"highlight_end":76,"highlight_start":1,"text":"     # [inline] fn name (& self) -> & str { $ function_name } # [inline] fn"},{"highlight_end":77,"highlight_start":1,"text":"     args (& self) -> & str { & self . args } # [inline] fn create < 'core >"},{"highlight_end":79,"highlight_start":1,"text":"     (& self, api : API, core : CoreRef < 'core >, args : & Map < 'core >,) ->"},{"highlight_end":76,"highlight_start":1,"text":"     Result < Option < Box < $ crate :: plugins :: Filter < 'core > + 'core"},{"highlight_end":17,"highlight_start":1,"text":"     >>, Error >"},{"highlight_end":7,"highlight_start":1,"text":"     {"},{"highlight_end":26,"highlight_start":1,"text":"         $ create_fn_name"},{"highlight_end":23,"highlight_start":1,"text":"         (api, core, $"},{"highlight_end":70,"highlight_start":1,"text":"          (< $ arg_type as $ crate :: plugins :: FilterParameter > ::"},{"highlight_end":63,"highlight_start":1,"text":"           get_from_map (args, stringify ! ($ arg_name),)), *)"},{"highlight_end":7,"highlight_start":1,"text":"     }"},{"highlight_end":55,"highlight_start":1,"text":" } $ (# [$ attr]) * fn $ create_fn_name < $ lifetime >"},{"highlight_end":72,"highlight_start":1,"text":" ($ api_arg_name : $ api_arg_type, $ core_arg_name : $ core_arg_type, $"},{"highlight_end":67,"highlight_start":1,"text":"  ($ arg_name : $ arg_type), *) -> $ return_type { $ ($ body) * })"}]},"macro_decl_name":"make_filter_function!","span":{"byte_end":12912,"byte_start":10913,"column_end":2,"column_start":1,"expansion":null,"file_name":"sample-plugin/src/lib.rs","is_primary":false,"label":null,"line_end":429,"line_start":380,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":24,"highlight_start":1,"text":"make_filter_function! {"},{"highlight_end":47,"highlight_start":1,"text":"    ArgumentTestFilterFunction, \"ArgumentTest\""},{"highlight_end":1,"highlight_start":1,"text":""},{"highlight_end":36,"highlight_start":1,"text":"    fn create_argument_test<'core>("},{"highlight_end":18,"highlight_start":1,"text":"        api: API,"},{"highlight_end":31,"highlight_start":1,"text":"        _core: CoreRef<'core>,"},{"highlight_end":18,"highlight_start":1,"text":"        int: i64,"},{"highlight_end":20,"highlight_start":1,"text":"        float: f64,"},{"highlight_end":21,"highlight_start":1,"text":"        data: &[u8],"},{"highlight_end":27,"highlight_start":1,"text":"        node: Node<'core>,"},{"highlight_end":32,"highlight_start":1,"text":"        frame: FrameRef<'core>,"},{"highlight_end":35,"highlight_start":1,"text":"        function: Function<'core>,"},{"highlight_end":35,"highlight_start":1,"text":"        optional_int: Option<i64>,"},{"highlight_end":43,"highlight_start":1,"text":"        another_optional_int: Option<i64>,"},{"highlight_end":60,"highlight_start":1,"text":"        frame_array: ValueIter<'_, 'core, FrameRef<'core>>,"},{"highlight_end":77,"highlight_start":1,"text":"        optional_frame_array: Option<ValueIter<'_, 'core, FrameRef<'core>>>,"},{"highlight_end":65,"highlight_start":1,"text":"    ) -> Result<Option<Box<dyn Filter<'core> + 'core>>, Error> {"},{"highlight_end":38,"highlight_start":1,"text":"        let in_ = OwnedMap::new(api);"},{"highlight_end":42,"highlight_start":1,"text":"        let mut out = OwnedMap::new(api);"},{"highlight_end":39,"highlight_start":1,"text":"        function.call(&in_, &mut out);"},{"highlight_end":1,"highlight_start":1,"text":""},{"highlight_end":45,"highlight_start":1,"text":"        ensure!(int == 42, \"{} != 42\", int);"},{"highlight_end":36,"highlight_start":1,"text":"        #[allow(clippy::float_cmp)]"},{"highlight_end":10,"highlight_start":1,"text":"        {"},{"highlight_end":60,"highlight_start":1,"text":"            ensure!(float == 1337f64, \"{} != 1337\", float);"},{"highlight_end":10,"highlight_start":1,"text":"        }"},{"highlight_end":73,"highlight_start":1,"text":"        ensure!(data == &b\"asd\"[..], \"{:?} != {:?}\", data, &b\"asd\"[..]);"},{"highlight_end":17,"highlight_start":1,"text":"        ensure!("},{"highlight_end":61,"highlight_start":1,"text":"            node.info().num_frames == Property::Constant(1),"},{"highlight_end":25,"highlight_start":1,"text":"            \"{:?} != 1\","},{"highlight_end":35,"highlight_start":1,"text":"            node.info().num_frames"},{"highlight_end":11,"highlight_start":1,"text":"        );"},{"highlight_end":69,"highlight_start":1,"text":"        ensure!(frame.width(0) == 320, \"{} != 320\", frame.width(0));"},{"highlight_end":96,"highlight_start":1,"text":"        ensure!(out.get::<i64>(\"val\").map(|x| x == 10).unwrap_or(false), \"Incorrect function\");"},{"highlight_end":68,"highlight_start":1,"text":"        ensure!(optional_int.is_some(), \"optional_int is missing\");"},{"highlight_end":83,"highlight_start":1,"text":"        ensure!(optional_int.unwrap() == 123, \"{} != 123\", optional_int.unwrap());"},{"highlight_end":85,"highlight_start":1,"text":"        ensure!(another_optional_int.is_none(), \"another_optional_int was present\");"},{"highlight_end":1,"highlight_start":1,"text":""},{"highlight_end":43,"highlight_start":1,"text":"        let mut frame_array = frame_array;"},{"highlight_end":71,"highlight_start":1,"text":"        ensure!(frame_array.len() == 2, \"{} != 2\", frame_array.len());"},{"highlight_end":49,"highlight_start":1,"text":"        let frame = frame_array.next().unwrap();"},{"highlight_end":69,"highlight_start":1,"text":"        ensure!(frame.width(0) == 256, \"{} != 256\", frame.width(0));"},{"highlight_end":49,"highlight_start":1,"text":"        let frame = frame_array.next().unwrap();"},{"highlight_end":67,"highlight_start":1,"text":"        ensure!(frame.width(0) == 64, \"{} != 64\", frame.width(0));"},{"highlight_end":1,"highlight_start":1,"text":""},{"highlight_end":85,"highlight_start":1,"text":"        ensure!(optional_frame_array.is_none(), \"optional_frame_array was present\");"},{"highlight_end":1,"highlight_start":1,"text":""},{"highlight_end":62,"highlight_start":1,"text":"        Ok(Some(Box::new(ArgumentTestFilter { clip: node })))"},{"highlight_end":6,"highlight_start":1,"text":"    }"},{"highlight_end":2,"highlight_start":1,"text":"}"}]}},"file_name":"sample-plugin/src/lib.rs","is_primary":true,"label":null,"line_end":33,"line_start":396,"suggested_replacement":null,"suggestion_applicability":null,"text":[]}]}}
2020-04-04T11:39:03.6847118Z {"reason":"compiler-artifact","package_id":"sample-plugin 0.1.0 (path+file:///home/runner/work/vapoursynth-rs/vapoursynth-rs/sample-plugin)","target":{"kind":["cdylib"],"crate_types":["cdylib"],"name":"sample-plugin","src_path":"/home/runner/work/vapoursynth-rs/vapoursynth-rs/sample-plugin/src/lib.rs","edition":"2015","doctest":false},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":true},"features":[],"filenames":["/home/runner/work/vapoursynth-rs/vapoursynth-rs/target/debug/deps/libsample_plugin-7316335a9aa4f5e2.rmeta"],"executable":null,"fresh":false}
2020-04-04T11:39:03.6858447Z {"reason":"compiler-message","package_id":"sample-plugin 0.1.0 (path+file:///home/runner/work/vapoursynth-rs/vapoursynth-rs/sample-plugin)","target":{"kind":["cdylib"],"crate_types":["cdylib"],"name":"sample-plugin","src_path":"/home/runner/work/vapoursynth-rs/vapoursynth-rs/sample-plugin/src/lib.rs","edition":"2015","doctest":false},"message":{"rendered":"warning: this function has too many arguments (12/7)\n  --> sample-plugin/src/lib.rs:396:63\n   |\n33 | |\n   | |____________________^\n...\n396|       ) -> Result<Option<Box<dyn Filter<'core> + 'core>>, Error> {\n   |  _______________________________________________________________^\n   |\n   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments\n\n","children":[{"children":[],"code":null,"level":"help","message":"for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments","rendered":null,"spans":[]}],"code":{"code":"clippy::too_many_arguments","explanation":null},"level":"warning","message":"this function has too many arguments (12/7)","spans":[{"byte_end":8255982,"byte_start":11500,"column_end":21,"column_start":63,"expansion":{"def_site_span":{"byte_end":1798,"byte_start":0,"column_end":67,"column_start":1,"expansion":null,"file_name":"<::vapoursynth::plugins::make_filter_function macros>","is_primary":false,"label":null,"line_end":35,"line_start":1,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":74,"highlight_start":1,"text":"($ struct_name : ident, $ function_name : tt $ (# [$ attr : meta]) * fn $"},{"highlight_end":44,"highlight_start":1,"text":" create_fn_name : ident < $ lifetime : tt >"},{"highlight_end":76,"highlight_start":1,"text":" ($ api_arg_name : ident : $ api_arg_type : ty, $ core_arg_name : ident : $"},{"highlight_end":78,"highlight_start":1,"text":"  core_arg_type : ty, $ ($ arg_name : ident : $ arg_type : ty), * $ (,) *) ->"},{"highlight_end":46,"highlight_start":1,"text":" $ return_type : ty { $ ($ body : tt) * }) =>"},{"highlight_end":60,"highlight_start":1,"text":"(struct $ struct_name { args : String, } impl $ struct_name"},{"highlight_end":3,"highlight_start":1,"text":" {"},{"highlight_end":33,"highlight_start":1,"text":"     fn new < 'core > () -> Self"},{"highlight_end":7,"highlight_start":1,"text":"     {"},{"highlight_end":45,"highlight_start":1,"text":"         let mut args = String :: new () ; $"},{"highlight_end":72,"highlight_start":1,"text":"         (args += stringify ! ($ arg_name) ; args += \":\" ; args += << $"},{"highlight_end":79,"highlight_start":1,"text":"          arg_type as $ crate :: plugins :: FilterParameter > :: Argument > ::"},{"highlight_end":66,"highlight_start":1,"text":"          type_name () ; if < $ arg_type as $ crate :: plugins ::"},{"highlight_end":78,"highlight_start":1,"text":"          FilterParameter > :: is_array () { args += \"[]\" ; } if < $ arg_type"},{"highlight_end":71,"highlight_start":1,"text":"          as $ crate :: plugins :: FilterParameter > :: is_optional ()"},{"highlight_end":72,"highlight_start":1,"text":"          { args += \":opt\" ; } if < $ arg_type as $ crate :: plugins ::"},{"highlight_end":78,"highlight_start":1,"text":"          FilterParameter > :: is_array () { args += \":empty\" ; } args += \";\""},{"highlight_end":29,"highlight_start":1,"text":"          ;) * Self { args }"},{"highlight_end":7,"highlight_start":1,"text":"     }"},{"highlight_end":63,"highlight_start":1,"text":" } impl $ crate :: plugins :: FilterFunction for $ struct_name"},{"highlight_end":3,"highlight_start":1,"text":" {"},{"highlight_end":76,"highlight_start":1,"text":"     # [inline] fn name (& self) -> & str { $ function_name } # [inline] fn"},{"highlight_end":77,"highlight_start":1,"text":"     args (& self) -> & str { & self . args } # [inline] fn create < 'core >"},{"highlight_end":79,"highlight_start":1,"text":"     (& self, api : API, core : CoreRef < 'core >, args : & Map < 'core >,) ->"},{"highlight_end":76,"highlight_start":1,"text":"     Result < Option < Box < $ crate :: plugins :: Filter < 'core > + 'core"},{"highlight_end":17,"highlight_start":1,"text":"     >>, Error >"},{"highlight_end":7,"highlight_start":1,"text":"     {"},{"highlight_end":26,"highlight_start":1,"text":"         $ create_fn_name"},{"highlight_end":23,"highlight_start":1,"text":"         (api, core, $"},{"highlight_end":70,"highlight_start":1,"text":"          (< $ arg_type as $ crate :: plugins :: FilterParameter > ::"},{"highlight_end":63,"highlight_start":1,"text":"           get_from_map (args, stringify ! ($ arg_name),)), *)"},{"highlight_end":7,"highlight_start":1,"text":"     }"},{"highlight_end":55,"highlight_start":1,"text":" } $ (# [$ attr]) * fn $ create_fn_name < $ lifetime >"},{"highlight_end":72,"highlight_start":1,"text":" ($ api_arg_name : $ api_arg_type, $ core_arg_name : $ core_arg_type, $"},{"highlight_end":67,"highlight_start":1,"text":"  ($ arg_name : $ arg_type), *) -> $ return_type { $ ($ body) * })"}]},"macro_decl_name":"make_filter_function!","span":{"byte_end":12912,"byte_start":10913,"column_end":2,"column_start":1,"expansion":null,"file_name":"sample-plugin/src/lib.rs","is_primary":false,"label":null,"line_end":429,"line_start":380,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":24,"highlight_start":1,"text":"make_filter_function! {"},{"highlight_end":47,"highlight_start":1,"text":"    ArgumentTestFilterFunction, \"ArgumentTest\""},{"highlight_end":1,"highlight_start":1,"text":""},{"highlight_end":36,"highlight_start":1,"text":"    fn create_argument_test<'core>("},{"highlight_end":18,"highlight_start":1,"text":"        api: API,"},{"highlight_end":31,"highlight_start":1,"text":"        _core: CoreRef<'core>,"},{"highlight_end":18,"highlight_start":1,"text":"        int: i64,"},{"highlight_end":20,"highlight_start":1,"text":"        float: f64,"},{"highlight_end":21,"highlight_start":1,"text":"        data: &[u8],"},{"highlight_end":27,"highlight_start":1,"text":"        node: Node<'core>,"},{"highlight_end":32,"highlight_start":1,"text":"        frame: FrameRef<'core>,"},{"highlight_end":35,"highlight_start":1,"text":"        function: Function<'core>,"},{"highlight_end":35,"highlight_start":1,"text":"        optional_int: Option<i64>,"},{"highlight_end":43,"highlight_start":1,"text":"        another_optional_int: Option<i64>,"},{"highlight_end":60,"highlight_start":1,"text":"        frame_array: ValueIter<'_, 'core, FrameRef<'core>>,"},{"highlight_end":77,"highlight_start":1,"text":"        optional_frame_array: Option<ValueIter<'_, 'core, FrameRef<'core>>>,"},{"highlight_end":65,"highlight_start":1,"text":"    ) -> Result<Option<Box<dyn Filter<'core> + 'core>>, Error> {"},{"highlight_end":38,"highlight_start":1,"text":"        let in_ = OwnedMap::new(api);"},{"highlight_end":42,"highlight_start":1,"text":"        let mut out = OwnedMap::new(api);"},{"highlight_end":39,"highlight_start":1,"text":"        function.call(&in_, &mut out);"},{"highlight_end":1,"highlight_start":1,"text":""},{"highlight_end":45,"highlight_start":1,"text":"        ensure!(int == 42, \"{} != 42\", int);"},{"highlight_end":36,"highlight_start":1,"text":"        #[allow(clippy::float_cmp)]"},{"highlight_end":10,"highlight_start":1,"text":"        {"},{"highlight_end":60,"highlight_start":1,"text":"            ensure!(float == 1337f64, \"{} != 1337\", float);"},{"highlight_end":10,"highlight_start":1,"text":"        }"},{"highlight_end":73,"highlight_start":1,"text":"        ensure!(data == &b\"asd\"[..], \"{:?} != {:?}\", data, &b\"asd\"[..]);"},{"highlight_end":17,"highlight_start":1,"text":"        ensure!("},{"highlight_end":61,"highlight_start":1,"text":"            node.info().num_frames == Property::Constant(1),"},{"highlight_end":25,"highlight_start":1,"text":"            \"{:?} != 1\","},{"highlight_end":35,"highlight_start":1,"text":"            node.info().num_frames"},{"highlight_end":11,"highlight_start":1,"text":"        );"},{"highlight_end":69,"highlight_start":1,"text":"        ensure!(frame.width(0) == 320, \"{} != 320\", frame.width(0));"},{"highlight_end":96,"highlight_start":1,"text":"        ensure!(out.get::<i64>(\"val\").map(|x| x == 10).unwrap_or(false), \"Incorrect function\");"},{"highlight_end":68,"highlight_start":1,"text":"        ensure!(optional_int.is_some(), \"optional_int is missing\");"},{"highlight_end":83,"highlight_start":1,"text":"        ensure!(optional_int.unwrap() == 123, \"{} != 123\", optional_int.unwrap());"},{"highlight_end":85,"highlight_start":1,"text":"        ensure!(another_optional_int.is_none(), \"another_optional_int was present\");"},{"highlight_end":1,"highlight_start":1,"text":""},{"highlight_end":43,"highlight_start":1,"text":"        let mut frame_array = frame_array;"},{"highlight_end":71,"highlight_start":1,"text":"        ensure!(frame_array.len() == 2, \"{} != 2\", frame_array.len());"},{"highlight_end":49,"highlight_start":1,"text":"        let frame = frame_array.next().unwrap();"},{"highlight_end":69,"highlight_start":1,"text":"        ensure!(frame.width(0) == 256, \"{} != 256\", frame.width(0));"},{"highlight_end":49,"highlight_start":1,"text":"        let frame = frame_array.next().unwrap();"},{"highlight_end":67,"highlight_start":1,"text":"        ensure!(frame.width(0) == 64, \"{} != 64\", frame.width(0));"},{"highlight_end":1,"highlight_start":1,"text":""},{"highlight_end":85,"highlight_start":1,"text":"        ensure!(optional_frame_array.is_none(), \"optional_frame_array was present\");"},{"highlight_end":1,"highlight_start":1,"text":""},{"highlight_end":62,"highlight_start":1,"text":"        Ok(Some(Box::new(ArgumentTestFilter { clip: node })))"},{"highlight_end":6,"highlight_start":1,"text":"    }"},{"highlight_end":2,"highlight_start":1,"text":"}"}]}},"file_name":"sample-plugin/src/lib.rs","is_primary":true,"label":null,"line_end":33,"line_start":396,"suggested_replacement":null,"suggestion_applicability":null,"text":[]}]}}
2020-04-04T11:39:03.6861391Z ##[debug]Unexpected reason field, ignoring it: compiler-artifact
2020-04-04T11:39:03.7114945Z {"reason":"compiler-artifact","package_id":"sample-plugin 0.1.0 (path+file:///home/runner/work/vapoursynth-rs/vapoursynth-rs/sample-plugin)","target":{"kind":["cdylib"],"crate_types":["cdylib"],"name":"sample-plugin","src_path":"/home/runner/work/vapoursynth-rs/vapoursynth-rs/sample-plugin/src/lib.rs","edition":"2015","doctest":false},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["/home/runner/work/vapoursynth-rs/vapoursynth-rs/target/debug/deps/libsample_plugin-d248b4fc04f49764.rmeta"],"executable":null,"fresh":false}
2020-04-04T11:39:03.7116108Z ##[debug]Unexpected reason field, ignoring it: compiler-artifact
2020-04-04T11:39:03.7116637Z     Finished dev [unoptimized + debuginfo] target(s) in 18.00s
2020-04-04T11:39:03.7144272Z ::endgroup::
2020-04-04T11:39:03.7144465Z ##[endgroup]
2020-04-04T11:39:03.7146427Z Clippy results: 0 ICE, 0 errors, 5 warnings, 0 notes, 0 help
2020-04-04T11:39:03.9730625Z ##[debug]Prepared next annotations bucket, 5 size
2020-04-04T11:39:03.9733628Z ##[debug]This is a last iteration, marking check as "completed", conclusion: success
2020-04-04T11:39:04.4322209Z ##[error]Validation Failed: {"resource":"CheckRun","code":"invalid","field":"annotations"}
2020-04-04T11:39:04.4394857Z ##[debug]Node Action run completed with exit code 1
2020-04-04T11:39:04.4396033Z ##[debug]Finishing: Run clippy on the sample-plugin

Expected behavior

No error.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Development

No branches or pull requests

1 participant