[DRE-maint] Bug#1019649: ruby-rabl: FTBFS with ruby3.1: ERROR: Test "ruby3.1" failed: rm: cannot remove 'Gemfile.lock': No such file or directory

Antonio Terceiro terceiro at debian.org
Tue Sep 13 02:17:47 BST 2022


Source: ruby-rabl
Version: 0.15.0-1
Severity: important
Justification: FTBFS
Tags: bookworm sid ftbfs
User: debian-ruby at lists.debian.org
Usertags: ruby3.1

Hi,

We are about to start the ruby3.1 transition in unstable. While trying to
rebuild ruby-rabl with ruby3.1 enabled, the build failed.

Relevant part of the build log (hopefully):
> rm: cannot remove 'Gemfile.lock': No such file or directory
> 
> /usr/bin/ruby3.1 /usr/bin/gem2deb-test-runner
> 
> ┌──────────────────────────────────────────────────────────────────────────────┐
> │ Checking Rubygems dependency resolution on ruby3.1                           │
> └──────────────────────────────────────────────────────────────────────────────┘
> 
> GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-rabl/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.1.0:/var/lib/gems/3.1.0:/usr/local/lib/ruby/gems/3.1.0:/usr/lib/ruby/gems/3.1.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0 ruby3.1 -e gem\ \"rabl\"
> 
> ┌──────────────────────────────────────────────────────────────────────────────┐
> │ Run tests for ruby3.1 from debian/ruby-tests.rake                            │
> └──────────────────────────────────────────────────────────────────────────────┘
> 
> RUBYLIB=. GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-rabl/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.1.0:/var/lib/gems/3.1.0:/usr/local/lib/ruby/gems/3.1.0:/usr/lib/ruby/gems/3.1.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0 ruby3.1 -S rake -f debian/ruby-tests.rake
> /usr/bin/ruby3.1 -w -I"lib:lib:test" /usr/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb "test/bson_engine_test.rb" "test/builder_test.rb" "test/configuration_test.rb" "test/engine_test.rb" "test/helpers_test.rb" "test/msgpack_engine_test.rb" "test/multi_builder_test.rb" "test/partials_test.rb" "test/plist_engine_test.rb" "test/renderer_test.rb" "test/template_test.rb" "test/xml_test.rb" 
> EEEEEEEEEEEE.EEEEEEEEEEEE...........................................................................................................................................................................................................................................................................................................
> ERROR - Rabl::Engine with bson defaults #object asserts that it sets data source =>     NameError occurred
> uninitialized constant BSON
> 
>       @bson_engine || ::BSON
>                       ^^^^^^
>       at /usr/lib/ruby/vendor_ruby/riot.rb:129:in `block in <module:Riot>'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:38:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/reporter.rb:46:in `summarize'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `block in run'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `block (2 levels) in run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:98:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `block in run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:98:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `block in run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:97:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:108:in `local_run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:108:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:109:in `block in local_run'
>       at /usr/lib/ruby/vendor_ruby/riot/rr.rb:33:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/assertion.rb:51:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/situation.rb:61:in `evaluate'
>       at /usr/lib/ruby/vendor_ruby/riot/situation.rb:61:in `instance_eval'
>       at /<<PKGBUILDDIR>>/test/bson_engine_test.rb:22:in `block (4 levels) in <top (required)>'
>       at /usr/lib/ruby/vendor_ruby/tilt/template.rb:109:in `render'
>       at /<<PKGBUILDDIR>>/lib/rabl/template.rb:15:in `evaluate'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:50:in `render'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:386:in `cache_results'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:51:in `block in render'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:159:in `to_bson'
>       at /<<PKGBUILDDIR>>/lib/rabl/configuration.rb:105:in `bson_engine'
> 
> ERROR - Rabl::Engine with bson defaults #object asserts that it can set root node =>     NameError occurred
> uninitialized constant BSON
> 
>       @bson_engine || ::BSON
>                       ^^^^^^
>       at /usr/lib/ruby/vendor_ruby/riot.rb:129:in `block in <module:Riot>'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:38:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/reporter.rb:46:in `summarize'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `block in run'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `block (2 levels) in run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:98:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `block in run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:98:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `block in run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:97:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:108:in `local_run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:108:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:109:in `block in local_run'
>       at /usr/lib/ruby/vendor_ruby/riot/rr.rb:33:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/assertion.rb:51:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/situation.rb:61:in `evaluate'
>       at /usr/lib/ruby/vendor_ruby/riot/situation.rb:61:in `instance_eval'
>       at /<<PKGBUILDDIR>>/test/bson_engine_test.rb:31:in `block (4 levels) in <top (required)>'
>       at /usr/lib/ruby/vendor_ruby/tilt/template.rb:109:in `render'
>       at /<<PKGBUILDDIR>>/lib/rabl/template.rb:15:in `evaluate'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:50:in `render'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:386:in `cache_results'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:51:in `block in render'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:159:in `to_bson'
>       at /<<PKGBUILDDIR>>/lib/rabl/configuration.rb:105:in `bson_engine'
> 
> ERROR - Rabl::Engine with bson defaults #collection asserts that it sets object to be casted as a simple array =>     NameError occurred
> uninitialized constant BSON
> 
>       @bson_engine || ::BSON
>                       ^^^^^^
>       at /usr/lib/ruby/vendor_ruby/riot.rb:129:in `block in <module:Riot>'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:38:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/reporter.rb:46:in `summarize'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `block in run'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `block (2 levels) in run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:98:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `block in run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:98:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `block in run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:97:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:108:in `local_run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:108:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:109:in `block in local_run'
>       at /usr/lib/ruby/vendor_ruby/riot/rr.rb:33:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/assertion.rb:51:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/situation.rb:61:in `evaluate'
>       at /usr/lib/ruby/vendor_ruby/riot/situation.rb:61:in `instance_eval'
>       at /<<PKGBUILDDIR>>/test/bson_engine_test.rb:42:in `block (4 levels) in <top (required)>'
>       at /usr/lib/ruby/vendor_ruby/tilt/template.rb:109:in `render'
>       at /<<PKGBUILDDIR>>/lib/rabl/template.rb:15:in `evaluate'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:50:in `render'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:386:in `cache_results'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:51:in `block in render'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:159:in `to_bson'
>       at /<<PKGBUILDDIR>>/lib/rabl/configuration.rb:105:in `bson_engine'
> 
> ERROR - Rabl::Engine with bson defaults #collection asserts that it sets root node for objects =>     NameError occurred
> uninitialized constant BSON
> 
>       @bson_engine || ::BSON
>                       ^^^^^^
>       at /usr/lib/ruby/vendor_ruby/riot.rb:129:in `block in <module:Riot>'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:38:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/reporter.rb:46:in `summarize'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `block in run'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `block (2 levels) in run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:98:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `block in run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:98:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `block in run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:97:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:108:in `local_run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:108:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:109:in `block in local_run'
>       at /usr/lib/ruby/vendor_ruby/riot/rr.rb:33:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/assertion.rb:51:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/situation.rb:61:in `evaluate'
>       at /usr/lib/ruby/vendor_ruby/riot/situation.rb:61:in `instance_eval'
>       at /<<PKGBUILDDIR>>/test/bson_engine_test.rb:51:in `block (4 levels) in <top (required)>'
>       at /usr/lib/ruby/vendor_ruby/tilt/template.rb:109:in `render'
>       at /<<PKGBUILDDIR>>/lib/rabl/template.rb:15:in `evaluate'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:50:in `render'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:386:in `cache_results'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:51:in `block in render'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:159:in `to_bson'
>       at /<<PKGBUILDDIR>>/lib/rabl/configuration.rb:105:in `bson_engine'
> 
> ERROR - Rabl::Engine with bson defaults #attribute asserts that it adds an attribute or method to be included in output =>     NameError occurred
> uninitialized constant BSON
> 
>       @bson_engine || ::BSON
>                       ^^^^^^
>       at /usr/lib/ruby/vendor_ruby/riot.rb:129:in `block in <module:Riot>'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:38:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/reporter.rb:46:in `summarize'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `block in run'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `block (2 levels) in run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:98:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `block in run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:98:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `block in run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:97:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:108:in `local_run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:108:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:109:in `block in local_run'
>       at /usr/lib/ruby/vendor_ruby/riot/rr.rb:33:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/assertion.rb:51:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/situation.rb:61:in `evaluate'
>       at /usr/lib/ruby/vendor_ruby/riot/situation.rb:61:in `instance_eval'
>       at /<<PKGBUILDDIR>>/test/bson_engine_test.rb:63:in `block (4 levels) in <top (required)>'
>       at /usr/lib/ruby/vendor_ruby/tilt/template.rb:109:in `render'
>       at /<<PKGBUILDDIR>>/lib/rabl/template.rb:15:in `evaluate'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:50:in `render'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:386:in `cache_results'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:51:in `block in render'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:159:in `to_bson'
>       at /<<PKGBUILDDIR>>/lib/rabl/configuration.rb:105:in `bson_engine'
> 
> ERROR - Rabl::Engine with bson defaults #attribute asserts that it can add attribute under a different key name through :as =>     NameError occurred
> uninitialized constant BSON
> 
>       @bson_engine || ::BSON
>                       ^^^^^^
>       at /usr/lib/ruby/vendor_ruby/riot.rb:129:in `block in <module:Riot>'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:38:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/reporter.rb:46:in `summarize'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `block in run'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `block (2 levels) in run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:98:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `block in run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:98:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `block in run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:97:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:108:in `local_run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:108:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:109:in `block in local_run'
>       at /usr/lib/ruby/vendor_ruby/riot/rr.rb:33:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/assertion.rb:51:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/situation.rb:61:in `evaluate'
>       at /usr/lib/ruby/vendor_ruby/riot/situation.rb:61:in `instance_eval'
>       at /<<PKGBUILDDIR>>/test/bson_engine_test.rb:73:in `block (4 levels) in <top (required)>'
>       at /usr/lib/ruby/vendor_ruby/tilt/template.rb:109:in `render'
>       at /<<PKGBUILDDIR>>/lib/rabl/template.rb:15:in `evaluate'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:50:in `render'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:386:in `cache_results'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:51:in `block in render'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:159:in `to_bson'
>       at /<<PKGBUILDDIR>>/lib/rabl/configuration.rb:105:in `bson_engine'
> 
> ERROR - Rabl::Engine with bson defaults #attribute asserts that it can add attribute under a different key name through hash =>     NameError occurred
> uninitialized constant BSON
> 
>       @bson_engine || ::BSON
>                       ^^^^^^
>       at /usr/lib/ruby/vendor_ruby/riot.rb:129:in `block in <module:Riot>'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:38:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/reporter.rb:46:in `summarize'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `block in run'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `block (2 levels) in run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:98:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `block in run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:98:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `block in run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:97:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:108:in `local_run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:108:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:109:in `block in local_run'
>       at /usr/lib/ruby/vendor_ruby/riot/rr.rb:33:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/assertion.rb:51:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/situation.rb:61:in `evaluate'
>       at /usr/lib/ruby/vendor_ruby/riot/situation.rb:61:in `instance_eval'
>       at /<<PKGBUILDDIR>>/test/bson_engine_test.rb:83:in `block (4 levels) in <top (required)>'
>       at /usr/lib/ruby/vendor_ruby/tilt/template.rb:109:in `render'
>       at /<<PKGBUILDDIR>>/lib/rabl/template.rb:15:in `evaluate'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:50:in `render'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:386:in `cache_results'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:51:in `block in render'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:159:in `to_bson'
>       at /<<PKGBUILDDIR>>/lib/rabl/configuration.rb:105:in `bson_engine'
> 
> ERROR - Rabl::Engine with bson defaults #code asserts that it can create an arbitraty code node =>     NameError occurred
> uninitialized constant BSON
> 
>       @bson_engine || ::BSON
>                       ^^^^^^
>       at /usr/lib/ruby/vendor_ruby/riot.rb:129:in `block in <module:Riot>'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:38:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/reporter.rb:46:in `summarize'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `block in run'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `block (2 levels) in run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:98:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `block in run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:98:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `block in run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:97:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:108:in `local_run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:108:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:109:in `block in local_run'
>       at /usr/lib/ruby/vendor_ruby/riot/rr.rb:33:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/assertion.rb:51:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/situation.rb:61:in `evaluate'
>       at /usr/lib/ruby/vendor_ruby/riot/situation.rb:61:in `instance_eval'
>       at /<<PKGBUILDDIR>>/test/bson_engine_test.rb:92:in `block (4 levels) in <top (required)>'
>       at /usr/lib/ruby/vendor_ruby/tilt/template.rb:109:in `render'
>       at /<<PKGBUILDDIR>>/lib/rabl/template.rb:15:in `evaluate'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:50:in `render'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:386:in `cache_results'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:51:in `block in render'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:159:in `to_bson'
>       at /<<PKGBUILDDIR>>/lib/rabl/configuration.rb:105:in `bson_engine'
> 
> ERROR - Rabl::Engine with bson defaults #code asserts that it can be passed conditionals =>     NameError occurred
> uninitialized constant BSON
> 
>       @bson_engine || ::BSON
>                       ^^^^^^
>       at /usr/lib/ruby/vendor_ruby/riot.rb:129:in `block in <module:Riot>'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:38:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/reporter.rb:46:in `summarize'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `block in run'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `block (2 levels) in run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:98:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `block in run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:98:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `block in run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:97:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:108:in `local_run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:108:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:109:in `block in local_run'
>       at /usr/lib/ruby/vendor_ruby/riot/rr.rb:33:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/assertion.rb:51:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/situation.rb:61:in `evaluate'
>       at /usr/lib/ruby/vendor_ruby/riot/situation.rb:61:in `instance_eval'
>       at /<<PKGBUILDDIR>>/test/bson_engine_test.rb:99:in `block (4 levels) in <top (required)>'
>       at /usr/lib/ruby/vendor_ruby/tilt/template.rb:109:in `render'
>       at /<<PKGBUILDDIR>>/lib/rabl/template.rb:15:in `evaluate'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:50:in `render'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:386:in `cache_results'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:51:in `block in render'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:159:in `to_bson'
>       at /<<PKGBUILDDIR>>/lib/rabl/configuration.rb:105:in `bson_engine'
> 
> ERROR - Rabl::Engine with bson defaults #child asserts that it can create a child node =>     NameError occurred
> uninitialized constant BSON
> 
>       @bson_engine || ::BSON
>                       ^^^^^^
>       at /usr/lib/ruby/vendor_ruby/riot.rb:129:in `block in <module:Riot>'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:38:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/reporter.rb:46:in `summarize'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `block in run'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `block (2 levels) in run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:98:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `block in run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:98:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `block in run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:97:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:108:in `local_run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:108:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:109:in `block in local_run'
>       at /usr/lib/ruby/vendor_ruby/riot/rr.rb:33:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/assertion.rb:51:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/situation.rb:61:in `evaluate'
>       at /usr/lib/ruby/vendor_ruby/riot/situation.rb:61:in `instance_eval'
>       at /<<PKGBUILDDIR>>/test/bson_engine_test.rb:112:in `block (4 levels) in <top (required)>'
>       at /usr/lib/ruby/vendor_ruby/tilt/template.rb:109:in `render'
>       at /<<PKGBUILDDIR>>/lib/rabl/template.rb:15:in `evaluate'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:50:in `render'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:386:in `cache_results'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:51:in `block in render'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:159:in `to_bson'
>       at /<<PKGBUILDDIR>>/lib/rabl/configuration.rb:105:in `bson_engine'
> 
> ERROR - Rabl::Engine with bson defaults #child asserts that it can create a child node with different key =>     NameError occurred
> uninitialized constant BSON
> 
>       @bson_engine || ::BSON
>                       ^^^^^^
>       at /usr/lib/ruby/vendor_ruby/riot.rb:129:in `block in <module:Riot>'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:38:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/reporter.rb:46:in `summarize'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `block in run'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `block (2 levels) in run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:98:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `block in run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:98:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `block in run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:97:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:108:in `local_run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:108:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:109:in `block in local_run'
>       at /usr/lib/ruby/vendor_ruby/riot/rr.rb:33:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/assertion.rb:51:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/situation.rb:61:in `evaluate'
>       at /usr/lib/ruby/vendor_ruby/riot/situation.rb:61:in `instance_eval'
>       at /<<PKGBUILDDIR>>/test/bson_engine_test.rb:123:in `block (4 levels) in <top (required)>'
>       at /usr/lib/ruby/vendor_ruby/tilt/template.rb:109:in `render'
>       at /<<PKGBUILDDIR>>/lib/rabl/template.rb:15:in `evaluate'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:50:in `render'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:386:in `cache_results'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:51:in `block in render'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:159:in `to_bson'
>       at /<<PKGBUILDDIR>>/lib/rabl/configuration.rb:105:in `bson_engine'
> 
> ERROR - Rabl::Engine with bson defaults #glue asserts that it glues data from a child node =>     NameError occurred
> uninitialized constant BSON
> 
>       @bson_engine || ::BSON
>                       ^^^^^^
>       at /usr/lib/ruby/vendor_ruby/riot.rb:129:in `block in <module:Riot>'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:38:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/reporter.rb:46:in `summarize'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `block in run'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `block (2 levels) in run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:98:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `block in run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:98:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `block in run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:97:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:108:in `local_run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:108:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:109:in `block in local_run'
>       at /usr/lib/ruby/vendor_ruby/riot/rr.rb:33:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/assertion.rb:51:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/situation.rb:61:in `evaluate'
>       at /usr/lib/ruby/vendor_ruby/riot/situation.rb:61:in `instance_eval'
>       at /<<PKGBUILDDIR>>/test/bson_engine_test.rb:137:in `block (4 levels) in <top (required)>'
>       at /usr/lib/ruby/vendor_ruby/tilt/template.rb:109:in `render'
>       at /<<PKGBUILDDIR>>/lib/rabl/template.rb:15:in `evaluate'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:50:in `render'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:386:in `cache_results'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:51:in `block in render'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:159:in `to_bson'
>       at /<<PKGBUILDDIR>>/lib/rabl/configuration.rb:105:in `bson_engine'
> 
> ERROR - Rabl::Engine without bson root #object asserts that it sets data source =>     NameError occurred
> uninitialized constant BSON
> 
>       @bson_engine || ::BSON
>                       ^^^^^^
>       at /usr/lib/ruby/vendor_ruby/riot.rb:129:in `block in <module:Riot>'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:38:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/reporter.rb:46:in `summarize'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `block in run'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `block (2 levels) in run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:98:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `block in run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:98:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `block in run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:97:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:108:in `local_run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:108:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:109:in `block in local_run'
>       at /usr/lib/ruby/vendor_ruby/riot/rr.rb:33:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/assertion.rb:51:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/situation.rb:61:in `evaluate'
>       at /usr/lib/ruby/vendor_ruby/riot/situation.rb:61:in `instance_eval'
>       at /<<PKGBUILDDIR>>/test/bson_engine_test.rb:187:in `block (4 levels) in <top (required)>'
>       at /usr/lib/ruby/vendor_ruby/tilt/template.rb:109:in `render'
>       at /<<PKGBUILDDIR>>/lib/rabl/template.rb:15:in `evaluate'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:50:in `render'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:386:in `cache_results'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:51:in `block in render'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:159:in `to_bson'
>       at /<<PKGBUILDDIR>>/lib/rabl/configuration.rb:105:in `bson_engine'
> 
> ERROR - Rabl::Engine without bson root #object asserts that it can set root node =>     NameError occurred
> uninitialized constant BSON
> 
>       @bson_engine || ::BSON
>                       ^^^^^^
>       at /usr/lib/ruby/vendor_ruby/riot.rb:129:in `block in <module:Riot>'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:38:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/reporter.rb:46:in `summarize'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `block in run'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `block (2 levels) in run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:98:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `block in run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:98:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `block in run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:97:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:108:in `local_run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:108:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:109:in `block in local_run'
>       at /usr/lib/ruby/vendor_ruby/riot/rr.rb:33:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/assertion.rb:51:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/situation.rb:61:in `evaluate'
>       at /usr/lib/ruby/vendor_ruby/riot/situation.rb:61:in `instance_eval'
>       at /<<PKGBUILDDIR>>/test/bson_engine_test.rb:196:in `block (4 levels) in <top (required)>'
>       at /usr/lib/ruby/vendor_ruby/tilt/template.rb:109:in `render'
>       at /<<PKGBUILDDIR>>/lib/rabl/template.rb:15:in `evaluate'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:50:in `render'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:386:in `cache_results'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:51:in `block in render'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:159:in `to_bson'
>       at /<<PKGBUILDDIR>>/lib/rabl/configuration.rb:105:in `bson_engine'
> 
> ERROR - Rabl::Engine without bson root #collection asserts that it sets object to be casted as a simple array =>     NameError occurred
> uninitialized constant BSON
> 
>       @bson_engine || ::BSON
>                       ^^^^^^
>       at /usr/lib/ruby/vendor_ruby/riot.rb:129:in `block in <module:Riot>'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:38:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/reporter.rb:46:in `summarize'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `block in run'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `block (2 levels) in run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:98:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `block in run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:98:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `block in run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:97:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:108:in `local_run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:108:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:109:in `block in local_run'
>       at /usr/lib/ruby/vendor_ruby/riot/rr.rb:33:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/assertion.rb:51:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/situation.rb:61:in `evaluate'
>       at /usr/lib/ruby/vendor_ruby/riot/situation.rb:61:in `instance_eval'
>       at /<<PKGBUILDDIR>>/test/bson_engine_test.rb:207:in `block (4 levels) in <top (required)>'
>       at /usr/lib/ruby/vendor_ruby/tilt/template.rb:109:in `render'
>       at /<<PKGBUILDDIR>>/lib/rabl/template.rb:15:in `evaluate'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:50:in `render'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:386:in `cache_results'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:51:in `block in render'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:159:in `to_bson'
>       at /<<PKGBUILDDIR>>/lib/rabl/configuration.rb:105:in `bson_engine'
> 
> ERROR - Rabl::Engine without bson root #collection asserts that it sets root node for objects =>     NameError occurred
> uninitialized constant BSON
> 
>       @bson_engine || ::BSON
>                       ^^^^^^
>       at /usr/lib/ruby/vendor_ruby/riot.rb:129:in `block in <module:Riot>'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:38:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/reporter.rb:46:in `summarize'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `block in run'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `block (2 levels) in run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:98:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `block in run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:98:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `block in run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:97:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:108:in `local_run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:108:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:109:in `block in local_run'
>       at /usr/lib/ruby/vendor_ruby/riot/rr.rb:33:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/assertion.rb:51:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/situation.rb:61:in `evaluate'
>       at /usr/lib/ruby/vendor_ruby/riot/situation.rb:61:in `instance_eval'
>       at /<<PKGBUILDDIR>>/test/bson_engine_test.rb:216:in `block (4 levels) in <top (required)>'
>       at /usr/lib/ruby/vendor_ruby/tilt/template.rb:109:in `render'
>       at /<<PKGBUILDDIR>>/lib/rabl/template.rb:15:in `evaluate'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:50:in `render'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:386:in `cache_results'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:51:in `block in render'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:159:in `to_bson'
>       at /<<PKGBUILDDIR>>/lib/rabl/configuration.rb:105:in `bson_engine'
> 
> ERROR - Rabl::Engine without bson root #attribute asserts that it adds an attribute or method to be included in output =>     NameError occurred
> uninitialized constant BSON
> 
>       @bson_engine || ::BSON
>                       ^^^^^^
>       at /usr/lib/ruby/vendor_ruby/riot.rb:129:in `block in <module:Riot>'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:38:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/reporter.rb:46:in `summarize'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `block in run'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `block (2 levels) in run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:98:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `block in run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:98:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `block in run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:97:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:108:in `local_run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:108:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:109:in `block in local_run'
>       at /usr/lib/ruby/vendor_ruby/riot/rr.rb:33:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/assertion.rb:51:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/situation.rb:61:in `evaluate'
>       at /usr/lib/ruby/vendor_ruby/riot/situation.rb:61:in `instance_eval'
>       at /<<PKGBUILDDIR>>/test/bson_engine_test.rb:228:in `block (4 levels) in <top (required)>'
>       at /usr/lib/ruby/vendor_ruby/tilt/template.rb:109:in `render'
>       at /<<PKGBUILDDIR>>/lib/rabl/template.rb:15:in `evaluate'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:50:in `render'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:386:in `cache_results'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:51:in `block in render'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:159:in `to_bson'
>       at /<<PKGBUILDDIR>>/lib/rabl/configuration.rb:105:in `bson_engine'
> 
> ERROR - Rabl::Engine without bson root #attribute asserts that it can add attribute under a different key name through :as =>     NameError occurred
> uninitialized constant BSON
> 
>       @bson_engine || ::BSON
>                       ^^^^^^
>       at /usr/lib/ruby/vendor_ruby/riot.rb:129:in `block in <module:Riot>'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:38:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/reporter.rb:46:in `summarize'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `block in run'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `block (2 levels) in run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:98:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `block in run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:98:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `block in run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:97:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:108:in `local_run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:108:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:109:in `block in local_run'
>       at /usr/lib/ruby/vendor_ruby/riot/rr.rb:33:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/assertion.rb:51:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/situation.rb:61:in `evaluate'
>       at /usr/lib/ruby/vendor_ruby/riot/situation.rb:61:in `instance_eval'
>       at /<<PKGBUILDDIR>>/test/bson_engine_test.rb:238:in `block (4 levels) in <top (required)>'
>       at /usr/lib/ruby/vendor_ruby/tilt/template.rb:109:in `render'
>       at /<<PKGBUILDDIR>>/lib/rabl/template.rb:15:in `evaluate'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:50:in `render'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:386:in `cache_results'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:51:in `block in render'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:159:in `to_bson'
>       at /<<PKGBUILDDIR>>/lib/rabl/configuration.rb:105:in `bson_engine'
> 
> ERROR - Rabl::Engine without bson root #attribute asserts that it can add attribute under a different key name through hash =>     NameError occurred
> uninitialized constant BSON
> 
>       @bson_engine || ::BSON
>                       ^^^^^^
>       at /usr/lib/ruby/vendor_ruby/riot.rb:129:in `block in <module:Riot>'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:38:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/reporter.rb:46:in `summarize'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `block in run'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `block (2 levels) in run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:98:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `block in run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:98:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `block in run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:97:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:108:in `local_run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:108:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:109:in `block in local_run'
>       at /usr/lib/ruby/vendor_ruby/riot/rr.rb:33:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/assertion.rb:51:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/situation.rb:61:in `evaluate'
>       at /usr/lib/ruby/vendor_ruby/riot/situation.rb:61:in `instance_eval'
>       at /<<PKGBUILDDIR>>/test/bson_engine_test.rb:248:in `block (4 levels) in <top (required)>'
>       at /usr/lib/ruby/vendor_ruby/tilt/template.rb:109:in `render'
>       at /<<PKGBUILDDIR>>/lib/rabl/template.rb:15:in `evaluate'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:50:in `render'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:386:in `cache_results'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:51:in `block in render'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:159:in `to_bson'
>       at /<<PKGBUILDDIR>>/lib/rabl/configuration.rb:105:in `bson_engine'
> 
> ERROR - Rabl::Engine without bson root #code asserts that it can create an arbitraty code node =>     NameError occurred
> uninitialized constant BSON
> 
>       @bson_engine || ::BSON
>                       ^^^^^^
>       at /usr/lib/ruby/vendor_ruby/riot.rb:129:in `block in <module:Riot>'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:38:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/reporter.rb:46:in `summarize'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `block in run'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `block (2 levels) in run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:98:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `block in run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:98:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `block in run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:97:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:108:in `local_run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:108:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:109:in `block in local_run'
>       at /usr/lib/ruby/vendor_ruby/riot/rr.rb:33:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/assertion.rb:51:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/situation.rb:61:in `evaluate'
>       at /usr/lib/ruby/vendor_ruby/riot/situation.rb:61:in `instance_eval'
>       at /<<PKGBUILDDIR>>/test/bson_engine_test.rb:257:in `block (4 levels) in <top (required)>'
>       at /usr/lib/ruby/vendor_ruby/tilt/template.rb:109:in `render'
>       at /<<PKGBUILDDIR>>/lib/rabl/template.rb:15:in `evaluate'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:50:in `render'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:386:in `cache_results'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:51:in `block in render'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:159:in `to_bson'
>       at /<<PKGBUILDDIR>>/lib/rabl/configuration.rb:105:in `bson_engine'
> 
> ERROR - Rabl::Engine without bson root #code asserts that it can be passed conditionals =>     NameError occurred
> uninitialized constant BSON
> 
>       @bson_engine || ::BSON
>                       ^^^^^^
>       at /usr/lib/ruby/vendor_ruby/riot.rb:129:in `block in <module:Riot>'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:38:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/reporter.rb:46:in `summarize'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `block in run'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `block (2 levels) in run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:98:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `block in run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:98:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `block in run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:97:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:108:in `local_run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:108:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:109:in `block in local_run'
>       at /usr/lib/ruby/vendor_ruby/riot/rr.rb:33:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/assertion.rb:51:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/situation.rb:61:in `evaluate'
>       at /usr/lib/ruby/vendor_ruby/riot/situation.rb:61:in `instance_eval'
>       at /<<PKGBUILDDIR>>/test/bson_engine_test.rb:264:in `block (4 levels) in <top (required)>'
>       at /usr/lib/ruby/vendor_ruby/tilt/template.rb:109:in `render'
>       at /<<PKGBUILDDIR>>/lib/rabl/template.rb:15:in `evaluate'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:50:in `render'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:386:in `cache_results'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:51:in `block in render'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:159:in `to_bson'
>       at /<<PKGBUILDDIR>>/lib/rabl/configuration.rb:105:in `bson_engine'
> 
> ERROR - Rabl::Engine without bson root #child asserts that it can create a child node =>     NameError occurred
> uninitialized constant BSON
> 
>       @bson_engine || ::BSON
>                       ^^^^^^
>       at /usr/lib/ruby/vendor_ruby/riot.rb:129:in `block in <module:Riot>'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:38:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/reporter.rb:46:in `summarize'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `block in run'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `block (2 levels) in run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:98:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `block in run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:98:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `block in run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:97:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:108:in `local_run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:108:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:109:in `block in local_run'
>       at /usr/lib/ruby/vendor_ruby/riot/rr.rb:33:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/assertion.rb:51:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/situation.rb:61:in `evaluate'
>       at /usr/lib/ruby/vendor_ruby/riot/situation.rb:61:in `instance_eval'
>       at /<<PKGBUILDDIR>>/test/bson_engine_test.rb:277:in `block (4 levels) in <top (required)>'
>       at /usr/lib/ruby/vendor_ruby/tilt/template.rb:109:in `render'
>       at /<<PKGBUILDDIR>>/lib/rabl/template.rb:15:in `evaluate'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:50:in `render'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:386:in `cache_results'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:51:in `block in render'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:159:in `to_bson'
>       at /<<PKGBUILDDIR>>/lib/rabl/configuration.rb:105:in `bson_engine'
> 
> ERROR - Rabl::Engine without bson root #child asserts that it can create a child node with different key =>     NameError occurred
> uninitialized constant BSON
> 
>       @bson_engine || ::BSON
>                       ^^^^^^
>       at /usr/lib/ruby/vendor_ruby/riot.rb:129:in `block in <module:Riot>'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:38:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/reporter.rb:46:in `summarize'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `block in run'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `block (2 levels) in run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:98:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `block in run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:98:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `block in run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:97:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:108:in `local_run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:108:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:109:in `block in local_run'
>       at /usr/lib/ruby/vendor_ruby/riot/rr.rb:33:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/assertion.rb:51:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/situation.rb:61:in `evaluate'
>       at /usr/lib/ruby/vendor_ruby/riot/situation.rb:61:in `instance_eval'
>       at /<<PKGBUILDDIR>>/test/bson_engine_test.rb:288:in `block (4 levels) in <top (required)>'
>       at /usr/lib/ruby/vendor_ruby/tilt/template.rb:109:in `render'
>       at /<<PKGBUILDDIR>>/lib/rabl/template.rb:15:in `evaluate'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:50:in `render'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:386:in `cache_results'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:51:in `block in render'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:159:in `to_bson'
>       at /<<PKGBUILDDIR>>/lib/rabl/configuration.rb:105:in `bson_engine'
> 
> ERROR - Rabl::Engine without bson root #glue asserts that it glues data from a child node =>     NameError occurred
> uninitialized constant BSON
> 
>       @bson_engine || ::BSON
>                       ^^^^^^
>       at /usr/lib/ruby/vendor_ruby/riot.rb:129:in `block in <module:Riot>'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:38:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/reporter.rb:46:in `summarize'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `block in run'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `block (2 levels) in run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:98:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `block in run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:98:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `block in run_sub_contexts'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:97:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:108:in `local_run'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:108:in `each'
>       at /usr/lib/ruby/vendor_ruby/riot/context.rb:109:in `block in local_run'
>       at /usr/lib/ruby/vendor_ruby/riot/rr.rb:33:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/assertion.rb:51:in `run'
>       at /usr/lib/ruby/vendor_ruby/riot/situation.rb:61:in `evaluate'
>       at /usr/lib/ruby/vendor_ruby/riot/situation.rb:61:in `instance_eval'
>       at /<<PKGBUILDDIR>>/test/bson_engine_test.rb:302:in `block (4 levels) in <top (required)>'
>       at /usr/lib/ruby/vendor_ruby/tilt/template.rb:109:in `render'
>       at /<<PKGBUILDDIR>>/lib/rabl/template.rb:15:in `evaluate'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:50:in `render'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:386:in `cache_results'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:51:in `block in render'
>       at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:159:in `to_bson'
>       at /<<PKGBUILDDIR>>/lib/rabl/configuration.rb:105:in `bson_engine'
> 
> 300 passes, 0 failures, 24 errors in 0.119263 seconds
> rake aborted!
> Command failed with status (1): [ruby -w -I"lib:lib:test" /usr/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb "test/bson_engine_test.rb" "test/builder_test.rb" "test/configuration_test.rb" "test/engine_test.rb" "test/helpers_test.rb" "test/msgpack_engine_test.rb" "test/multi_builder_test.rb" "test/partials_test.rb" "test/plist_engine_test.rb" "test/renderer_test.rb" "test/template_test.rb" "test/xml_test.rb" ]
> 
> Tasks: TOP => default => test
> (See full trace by running task with --trace)
> ERROR: Test "ruby3.1" failed: 


The full build log is available from:
https://people.debian.org/~terceiro/ruby3.1/17/ruby-rabl/ruby-rabl_0.15.0-1+rebuild1663008040_amd64-2022-09-12T18:40:41Z.build

To reproduce this, you need to install ruby-all-dev >= 1:3.0+2. Depending on
when you try this, it might mean installing ruby-all-dev from experimental, or
if the transition has already started, a normal build on unstable will be
enough.  If you fail to reproduce, please provide a build log and diff it with
mine so that we can identify if something relevant changed in the meantime.

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20220912/0747fd57/attachment-0001.sig>


More information about the Pkg-ruby-extras-maintainers mailing list